forked from KolibriOS/kolibrios
b29cc6670d
- Non-working trash is cleaned. - Updated from latest git version. - Fixed modules pygame math and others. - Removed old modules added new ones. - All samples work except "net" git-svn-id: svn://kolibrios.org@8535 a494cfbc-eb01-0410-851d-a64ba20cac60
25 lines
382 B
C
25 lines
382 B
C
#include "tinypy.c"
|
|
|
|
extern void init_std_modules(TP);
|
|
|
|
int main(int argc, char *argv[]) {
|
|
tp_vm *tp = tp_init(argc,argv);
|
|
|
|
#ifdef CONIO
|
|
console_load();
|
|
#endif
|
|
|
|
init_std_modules(tp);
|
|
tp_ez_call(tp,"py2bc","tinypy",tp_None);
|
|
tp_deinit(tp);
|
|
|
|
#ifdef CONIO
|
|
if(con_enabled==1){
|
|
con_exit(0);
|
|
}
|
|
#endif
|
|
|
|
return(0);
|
|
}
|
|
|