| 42 | //extern "C" int nme_register_prims(); |
| 43 | |
| 44 | extern "C" int main(int argc, char *argv[]) |
| 45 | { |
| 46 | // Do this first |
| 47 | hxcpp_set_top_of_stack(); |
| 48 | |
| 49 | // Register additional ndll libaries ... |
| 50 | // nme_register_prims(); |
| 51 | |
| 52 | //printf("Begin!\n"); |
| 53 | const char *err = hxRunLibrary(); |
| 54 | if (err) { |
| 55 | // Unhandled exceptions ... |
| 56 | fprintf(stderr,"Error %s\n", err ); |
| 57 | return -1; |
| 58 | } |
| 59 | //printf("Done!\n"); |
| 60 | return 0; |
| 61 | } |
nothing calls this directly
no test coverage detected