Lee McColl Sylvester <[EMAIL PROTECTED]> (on Tue, 28 Nov 2006 15:16:23 +0000):
> And yes, I am
> untyping the call.
neko strings are not the same as haxe strings. have a look at
std/neko/NekoString__.hx.
(haxe's) String is a proper class with an untyped __s containing the
(neko-primitive) string value. In some areas, automatic conversion is applied,
but usually you'll have to wrap your neko calls in some haxe functions a la:
var s:String = "foo";
_my_neko_function( untyped s.__s );
for the proper way back (neko strings will be traced fine, but not be proper
Strings), i think that
var s:String = new String(_my_neko_function_returning_a_string())
will work.
hth,
-dan
--
http://0xDF.com/
http://iterative.org/
--
Neko : One VM to run them all
(http://nekovm.org)