diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-12 15:03:23 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-12 15:03:23 +0000 |
commit | fd5aade84080ce74df1622958ea2c56c3e827703 (patch) | |
tree | ba9d237790fd514955f4e716afc162b7d7091d31 /pjlib/include/pj/types.h | |
parent | 3727cae28c3f725ff6f909955718523737a597fa (diff) |
Symbian fixes to compile on GCCE (nested callbacks etc)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1269 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/types.h')
-rw-r--r-- | pjlib/include/pj/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjlib/include/pj/types.h b/pjlib/include/pj/types.h index 7b7598b1..e9095524 100644 --- a/pjlib/include/pj/types.h +++ b/pjlib/include/pj/types.h @@ -302,6 +302,7 @@ PJ_DECL(pj_status_t) pj_init(void); */ PJ_DECL(void) pj_shutdown(void); +typedef void (*pj_exit_callback)(void); /** * Register cleanup function to be called by PJLIB when pj_shutdown() is * called. @@ -310,7 +311,7 @@ PJ_DECL(void) pj_shutdown(void); * * @return PJ_SUCCESS on success. */ -PJ_DECL(pj_status_t) pj_atexit(void (*func)(void)); +PJ_DECL(pj_status_t) pj_atexit(pj_exit_callback func); |