Re: [dev] nscript - nscc

From: Nikhilesh S <s.nikhilesh_AT_gmail.com>
Date: Thu, 26 Aug 2010 13:05:24 +0300 (AST)

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?
Received on Thu Aug 26 2010 - 12:05:24 CEST

This archive was generated by hypermail 2.2.0 : Thu Aug 26 2010 - 11:12:03 CEST