Explorar o código

php : fixed issue 478

Franco Ponticelli %!s(int64=14) %!d(string=hai) anos
pai
achega
9ddb91a0a4
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      std/php/Lib.hx

+ 2 - 1
std/php/Lib.hx

@@ -103,10 +103,11 @@ class Lib {
  	*/
  	public static function loadLib(pathToLib : String) : Void
  	{
+		var prefix = untyped __prefix__();
 		untyped __php__("$_hx_types_array = array();
  		$_hx_cache_content = '';
  		//Calling this function will put all types present in the specified types in the $_hx_types_array
- 		_hx_build_paths($pathToLib, $_hx_types_array, array());
+ 		_hx_build_paths($pathToLib, $_hx_types_array, array(),);
  
  		for($i=0;$i<count($_hx_types_array);$i++) {
  			//For every type that has been found, create its description