瀏覽代碼

fixed Void member variables

Nicolas Cannasse 12 年之前
父節點
當前提交
c11ceca341

+ 1 - 1
std/neko/_std/sys/db/Mysql.hx

@@ -116,7 +116,7 @@ private class MysqlResultSet implements sys.db.ResultSet {
 
 private class MysqlConnection implements sys.db.Connection {
 
-	private var __c : Void;
+	private var __c : Dynamic;
 
 	public function new(c) {
 		__c = c;

+ 1 - 1
std/neko/_std/sys/db/Sqlite.hx

@@ -95,7 +95,7 @@ private class SqliteResultSet implements ResultSet {
 
 	public var length(get,null) : Int;
 	public var nfields(get,null) : Int;
-	var r : Void;
+	var r : Dynamic;
 	var cache : List<Dynamic>;
 
 	public function new( r ) {

+ 1 - 1
std/neko/db/Mysql.hx

@@ -132,7 +132,7 @@ private class MysqlResultSet implements ResultSet {
 
 private class MysqlConnection implements Connection {
 
-	private var __c : Void;
+	private var __c : Dynamic;
 
 	public function new(c) {
 		__c = c;

+ 2 - 2
std/neko/db/Sqlite.hx

@@ -25,7 +25,7 @@ import neko.db.Connection;
 
 private class SqliteConnection implements Connection {
 
-	var c : Void;
+	var c : Dynamic;
 
 	public function new( file : String ) {
 		c = _connect(untyped file.__s);
@@ -97,7 +97,7 @@ private class SqliteResultSet implements ResultSet {
 
 	public var length(get,null) : Int;
 	public var nfields(get,null) : Int;
-	var r : Void;
+	var r : Dynamic;
 	var cache : List<Dynamic>;
 
 	public function new( r ) {

+ 4 - 4
std/php/_std/sys/db/Mysql.hx

@@ -25,9 +25,9 @@ import sys.db.Connection;
 
 private class MysqlConnection implements Connection {
 
-	var c : Void;
+	var c : Dynamic;
 
-	public function new( c : Void) {
+	public function new( c ) {
 		this.c = c;
 	}
 
@@ -85,8 +85,8 @@ private class MysqlConnection implements Connection {
 private class MysqlResultSet implements ResultSet {
 	public var length(get,null) : Int;
 	public var nfields(get,null) : Int;
-	private var __r : Void;
-	private var __c : Void;
+	private var __r : Dynamic;
+	private var __c : Dynamic;
 	private var cache : Dynamic;
 
 	public function new(r, c) {

+ 1 - 1
std/php/_std/sys/db/Sqlite.hx

@@ -95,7 +95,7 @@ private class SqliteResultSet implements ResultSet {
 
 	public var length(get,null) : Int;
 	public var nfields(get,null) : Int;
-	var r : Void;
+	var r : Dynamic;
 	var cache : Dynamic;
 
 	public function new( r ) {

+ 4 - 4
std/php/_std/sys/io/Process.hx

@@ -23,10 +23,10 @@ package sys.io;
 import php.NativeArray;
 
 private class Stdin extends haxe.io.Output {
-	var p : Void;
+	var p : Dynamic;
 	var buf : haxe.io.Bytes;
 
-	public function new(p) {
+	public function new(p:Dynamic) {
 		this.p = p;
 		buf = haxe.io.Bytes.alloc(1);
 	}
@@ -51,10 +51,10 @@ private class Stdin extends haxe.io.Output {
 }
 
 private class Stdout extends haxe.io.Input {
-	var p : Void;
+	var p : Dynamic;
 	var buf : haxe.io.Bytes;
 
-	public function new(p) {
+	public function new(p:Dynamic) {
 		this.p = p;
 		buf = haxe.io.Bytes.alloc(1);
 	}

+ 4 - 4
std/php/db/Mysql.hx

@@ -25,9 +25,9 @@ import php.db.Connection;
 
 private class MysqlConnection implements Connection {
 
-	var c : Void;
+	var c : Dynamic;
 
-	public function new( c : Void) {
+	public function new( c : Dynamic ) {
 		this.c = c;
 	}
 
@@ -85,8 +85,8 @@ private class MysqlConnection implements Connection {
 private class MysqlResultSet implements ResultSet {
 	public var length(get,null) : Int;
 	public var nfields(get,null) : Int;
-	private var __r : Void;
-	private var __c : Void;
+	private var __r : Dynamic;
+	private var __c : Dynamic;
 	private var cache : Dynamic;
 
 	public function new(r, c) {

+ 1 - 1
std/php/db/Sqlite.hx

@@ -97,7 +97,7 @@ private class SqliteResultSet implements ResultSet {
 
 	public var length(get,null) : Int;
 	public var nfields(get,null) : Int;
-	var r : Void;
+	var r : Dynamic;
 	var cache : Dynamic;
 
 	public function new( r ) {