Ignore:
Timestamp:
Jul 14, 2011 8:46:19 AM (13 years ago)
Author:
ming
Message:

Re #1278: NSApplication and NSAutoreleasePool management for Mac OS X

Application now needs to call pj_run_app() from its main() function and pass a pointer to the application's main function. For some examples, please refer to aviplay, pjmedia_test, and pjsua.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjlib/src/pj/os_core_win32.c

    r3314 r3643  
    14221422 
    14231423#endif  /* PJ_TERM_HAS_COLOR */ 
     1424 
     1425/* 
     1426 * pj_run_app() 
     1427 */ 
     1428PJ_DEF(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], 
     1429                       unsigned flags) 
     1430{ 
     1431    return (*main_func)(argc, argv); 
     1432} 
Note: See TracChangeset for help on using the changeset viewer.