version 1.1 | | version 1.2 |
---|
| | |
| | |
va_start(args, type); | | va_start(args, type); |
context->event_code = va_arg(args, int); | | context->event_code = va_arg(args, int); |
printf("****** Global event listener called ***********\n"); | | |
printf("- Event code: %d\n", context->event_code); | | |
| | |
context->message[0]=0; | | context->message[0]=0; |
| | |
| | |
context = popContext(); | | context = popContext(); |
rv = context->returnvalue; | | rv = context->returnvalue; |
free(context); | | free(context); |
printf("*********** Execution complete ****************\n"); | | |
| | |
return &rv; | | return &rv; |
} | | } |