Issue 221: Fix: Error always thrown calling primitives with more than 5 arguments
Status:  Fixed
Owner: ----
Closed:  Feb 2013
Reported by zwei...@gmail.com, Jan 23, 2013
In file .hx:
static var test : Dynamic = Lib.load("whatever", "test", 6);

test(1,2,3,4,5,6);

throws an "Invalid Argument Count" Error.
Lib.cpp.patch
563 bytes   View   Download
Feb 1, 2013
Project Member #1 gameh...@gmail.com
Hi,
I have added code to allow this specification of the exact number of parameters.  However, if you want to be compatible with neko, you should use "-1" for arg count > 5, eg:

static var test : Dynamic = Lib.load("whatever", "test", -1);



Status: Fixed
Feb 2, 2013
#2 german.a...@gmail.com
Hi Hugh,
Thank you for the explanation. I'll keep it in mind for hxndll project.

Regards,
German