Rev 8476 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8535 | superturbo | 1 | #include "tinypy.c" |
2048 | jaeger | 2 | |
8535 | superturbo | 3 | extern void init_std_modules(TP); |
8473 | maxcodehac | 4 | |
8535 | superturbo | 5 | int main(int argc, char *argv[]) { |
6 | tp_vm *tp = tp_init(argc,argv); |
||
7 | |||
8 | #ifdef CONIO |
||
9 | console_load(); |
||
10 | #endif |
||
11 | |||
12 | init_std_modules(tp); |
||
13 | tp_ez_call(tp,"py2bc","tinypy",tp_None); |
||
1913 | jaeger | 14 | tp_deinit(tp); |
8476 | maxcodehac | 15 | |
8535 | superturbo | 16 | #ifdef CONIO |
17 | if(con_enabled==1){ |
||
18 | con_exit(0); |
||
19 | } |
||
20 | #endif |
||
8476 | maxcodehac | 21 | |
8535 | superturbo | 22 | return(0); |
1913 | jaeger | 23 | } |
24 |