From: <enl...@li...> - 2004-07-01 06:08:43
|
Enlightenment CVS committal Author : raster Project : e17 Module : libs/embryo Dir : e17/libs/embryo/include Modified Files: default.inc Log Message: embryo support for varargs... i was just missing native funcs to export enough info =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/embryo/include/default.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- default.inc 29 Mar 2004 11:58:56 -0000 1.2 +++ default.inc 1 Jul 2004 06:08:04 -0000 1.3 @@ -32,6 +32,13 @@ RADIAN, DEGREES, GRADES }; +/* varags - get numebr of args to a function */ +native numargs(); +/* varags - get arg no "arg" */ +native getarg(arg, index=0); +/* varags - set arg no "arg" */ +native setarg(arg, index=0, value); + /* Convert a string into a floating point value */ native Float:atof(const string[]); /* Return the fractional part of a float */ |