Le 19/01/2011 13:00, Frank Eriksson a écrit :
Hello Robin and nekolist,
Thankyou Robin for your reply, It made me realize that I'd missed something:
        neko.Lib.haxeToNeko( )

In the ndll that I had made I had this little snippet of code:
        if( !val_is_string( directory ) ){
                return val_null;
        }

You can use val_check(directory,string) that will return NULL if the check fail and produce an "Invalid Call" exception (which is better than a silent failure).

Best,
Nicolas

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to