Home --> Documentations --> PJLIB Reference
|typedef int(* pj_main_func_ptr) (int argc, char *argv)
Type for application main function.
Run the application. This function has to be called in the main thread and after doing the necessary initialization according to the flags provided, it will call main_func() function.
|main_func||Application's main function. |
|argc||Number of arguments from the main() function, which will be passed to main_func() function. |
|argv||The arguments from the main() function, which will be passed to main_func() function. |
|flags||Flags for application execution, currently must be 0.|
- main_func()'s return value.
PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.