Branch: Tag:

2015-03-08

2015-03-08 13:27:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Debug: Use the new precompiler attribute "export".

13:   #include "pike_security.h"   #include "builtin_functions.h"    - #define DEFAULT_CMOD_STORAGE -  +    DECLARATIONS      /*! @decl int(0..) map_all_objects(function(object:void) cb)
60:    * do not document please. /Hubbe    */   PIKEFUN int leak(array|mapping|multiset|object|function|program|string|type val) +  export;   {    INT32 i;   
86:    *! with RTL debug.    */   PIKEFUN int(0..) debug(int(0..) d) +  export;   {    pop_n_elems(args);    push_int(d_flag);
105:    *! with RTL debug.    */   PIKEFUN int(0..) optimizer_debug(int(0..) l) +  export;   {    pop_n_elems(args);    push_int(l_flag);
124:    *! with RTL debug.    */   PIKEFUN int(0..) assembler_debug(int(0..) l) +  export;   {    pop_n_elems(args);    push_int(a_flag);
162:    *! with RTL debug.    */   PIKEFUN int(0..) compiler_trace(int(0..) yyd) +  export;   {    extern int yydebug;    pop_n_elems(args);