On Thu, 26 Aug 2010, pancake wrote:
I have written an initial version of 'nscc' with support for creating native interfaces by parsing an 'nsi' file.
This is really awesome work! I just wanted to add, you can use these functions from 'nsobj.h' for creating objects:- struct ns_obj ns_makeBoolObj(int b); struct ns_obj ns_makeIntObj(int i); struct ns_obj ns_makeStrObjLen(char *c, unsigned int len); struct ns_obj ns_makeStrObj(char *c); struct ns_obj ns_makeFuncObj(ns_cFunc f); But nscc raises a question - which functions should be 'built-in', and which should be added using nscc?