Subversion Repositories Kolibri OS

Rev

Rev 2073 | Rev 8475 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #include "tp.c"
  2. /* INCLUDE */
  3. const char header[]="TinyPy for kolibriOS";
  4.  
  5. extern void (*kolibri_dbg_init)(tp_vm *tp) __attribute__((__stdcall__));
  6.  
  7. void main(int argc, const char *argv[]) {
  8.     tp_vm *tp = tp_init(argc, argv);
  9.     // kolibri_dbg_init(tp);
  10.     kolibri_init(tp);
  11.     CONSOLE_INIT(header);
  12.     /* INIT */
  13.     tp_call(tp,"py2bc","tinypy",tp_None);
  14.     con_printf("Done");
  15.     tp_deinit(tp);
  16.     kol_exit();
  17.     return;
  18. }
  19.  
  20. /**/
  21.