This now gives you the flexibility to access an almost
limitless number of parameters while maintaining simplicity:
void someFunc( value* args, int nargs )
When declaring a C/C++ function, in haXe, that accepts more than five parameters, you must set the
number of parameters value to - 1 in the neko.Lib.load function call. This way, the Neko layer does no
checking on the number of values being sent to the C/C++ function.
Garbage Collection
The term garbage collection is enough to make most developers cringe. Memory management is always a
tough challenge for even the hardiest, most seasoned developer, but unfortunately it has to be dealt with.
From the user ??™ s point of view, an application that consumes memory like a hungry beast without
relinquishing it is very frustrating, and darn right rude.
Luckily, Neko uses the excellent libgc garbage collection library, and to good effect. Of all the
existing functionality within Neko, you ??™ d be hard pressed to get it to fall over because of memory leaks.
Pages:
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063