summaryrefslogtreecommitdiff
path: root/legacy/embryo/include/default.inc
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2004-07-01 06:08:06 +0000
committerCarsten Haitzler <raster@rasterman.com>2004-07-01 06:08:06 +0000
commit41b8b1cf4d50821f75c8a6b132cbad52745e4712 (patch)
tree49acdb6886074b6af20088a9141ad8e9cb0ff96c /legacy/embryo/include/default.inc
parent5b506efe2c71d587b0584f1a85382fb52dc03c3f (diff)
embryo support for varargs... i was just missing native funcs to export
enough info SVN revision: 10656
Diffstat (limited to 'legacy/embryo/include/default.inc')
-rw-r--r--legacy/embryo/include/default.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/legacy/embryo/include/default.inc b/legacy/embryo/include/default.inc
index 704a348518..411131e044 100644
--- a/legacy/embryo/include/default.inc
+++ b/legacy/embryo/include/default.inc
@@ -32,6 +32,13 @@ enum Float_Angle_Mode
32 RADIAN, DEGREES, GRADES 32 RADIAN, DEGREES, GRADES
33}; 33};
34 34
35/* varags - get numebr of args to a function */
36native numargs();
37/* varags - get arg no "arg" */
38native getarg(arg, index=0);
39/* varags - set arg no "arg" */
40native setarg(arg, index=0, value);
41
35/* Convert a string into a floating point value */ 42/* Convert a string into a floating point value */
36native Float:atof(const string[]); 43native Float:atof(const string[]);
37/* Return the fractional part of a float */ 44/* Return the fractional part of a float */