*func | Pointer to the vertical sync interrupt callback function |
static Int count=0; void foo(void) { count++; } void njUserInit(void) { : /* Register foo function */ njSetVSyncFunction( foo ); } Sint32 njUserMain(void) { /* All the count one at a time */ njPrintD(NJM_LOCATION(0,0),count,8); }