File: debug.c

package info (click to toggle)
elk 3.0-6
  • links: PTS
  • area: main
  • in suites: potato, slink
  • size: 4,068 kB
  • ctags: 3,123
  • sloc: ansic: 20,686; lisp: 5,232; makefile: 419; awk: 91; sh: 21
file content (11 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#include "scheme.h"

static Object P_Debug (on) Object on; {
    Check_Type (on, T_Boolean);
    GC_Debug = EQ(on, True);
    return Void;
}

elk_init_lib_debug () {
    Define_Primitive (P_Debug, "debug", 1, 1, EVAL);
}