From: Peep P. <so...@us...> - 2004-07-21 12:08:51
|
Update of /cvsroot/agd/server/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10266 Modified Files: dfdecl.in Log Message: debug_info, sizeof, users; changed comments Index: dfdecl.in =================================================================== RCS file: /cvsroot/agd/server/src/dfdecl.in,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- dfdecl.in 8 Jun 2004 20:31:29 -0000 1.13 +++ dfdecl.in 21 Jul 2004 12:08:43 -0000 1.14 @@ -4,11 +4,13 @@ # return-type dfun-name(type1, type2, typeN) # # dfun-name is the name as known by the LPC parser -# Possible types are string, int, object - both for return-type -# and argument types. +# Possible types are string, int, object. It can also be array by adding an +# asterisk to the end of the type name (i.e. an array of strings +# is 'string *'). An array of any type can be specified with just an +# asterisk (*). # -# return-type can also be 'void' if it doesn't return anything. - +# return-type can also be 'void' if the function doesn't return anything. +# # Expect lots of nasty error messages if you mess up here. # Interactives. @@ -39,6 +41,9 @@ string capitalize(string) string lower_case(string) +# Arrays. +int sizeof(*) + # Objects. void destruct(object) object find_object(string) @@ -48,6 +53,10 @@ object load_object(string) void exec(object) string file_name(object) +object *users() # Misc. void throw(string) + +# Debugging. +void debug_info(int) |