programming-nu / nu

Nu is an interpreted Lisp that builds on the Objective-C runtime and Foundation framework.
http://programming-nu.github.io
Apache License 2.0
2.15k stars 236 forks source link

64-bit va_list #81

Closed ksjogo closed 8 years ago

ksjogo commented 8 years ago

64-bit arm is handling va_list methods differently than standard argument methods. Thus calling into a nu-defined method will not work due, as the method call with setup a standard register/stack setup, but the handler will expect a va_list register/stack setup. It could be possible to use the invocation mechanism instead and store method associated nu-blocks inside inside a dict of a nu (or any) class. This change would additionally allow the later addition of methods after class creation.

ksjogo commented 8 years ago

Ok, was a problem with the predefined NuHandlers. Disabling them seems to work.