My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 206: val_callN has false implementation
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Dec 2012


 
Reported by Mihai...@gmail.com, Nov 15, 2012
This was discussed on the Haxe Google Group, the correct implementation should be:

hx::Object * val_callN(hx::Object * arg1,hx::Object ** arg2, int nCount) THROWS
{
   if (!arg1) Dynamic::ThrowBadFunctionError();
   Array<Dynamic> args = Array_obj<Dynamic>::__new(0, nCount);
   while (nCount--)
     args << *arg2++;
   return arg1->__Run( args ).GetPtr();
}

Tested and works!
Dec 12, 2012
Project Member #1 si...@haxe.org
This issue was closed by revision r610.
Status: Fixed

Powered by Google Project Hosting