From 159bce8846c6ad6a801085814ce456b13d90b395 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 16 Aug 2007 10:11:44 +0000 Subject: Ticket #354: continuing work to port the Symbian libraries to .DSO format git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/guid.h | 10 +++++++++- pjlib/include/pj/pool.h | 9 ++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'pjlib/include') diff --git a/pjlib/include/pj/guid.h b/pjlib/include/pj/guid.h index 3eea11a3..a437646f 100644 --- a/pjlib/include/pj/guid.h +++ b/pjlib/include/pj/guid.h @@ -55,8 +55,16 @@ PJ_BEGIN_DECL * * Regardless of the actual length of the GUID, it will not exceed * PJ_GUID_MAX_LENGTH characters. + * + * @see pj_GUID_STRING_LENGTH() + * @see PJ_GUID_MAX_LENGTH + */ +PJ_DECL_DATA(const unsigned) PJ_GUID_STRING_LENGTH; + +/** + * Get #PJ_GUID_STRING_LENGTH constant. */ -extern const unsigned PJ_GUID_STRING_LENGTH; +PJ_DECL(unsigned) pj_GUID_STRING_LENGTH(); /** * PJ_GUID_MAX_LENGTH specifies the maximum length of GUID string, diff --git a/pjlib/include/pj/pool.h b/pjlib/include/pj/pool.h index 5cb6aaf8..d12076fd 100644 --- a/pjlib/include/pj/pool.h +++ b/pjlib/include/pj/pool.h @@ -614,8 +614,15 @@ typedef struct pj_pool_factory_policy /** * This constant denotes the exception number that will be thrown by default * memory factory policy when memory allocation fails. + * + * @see pj_NO_MEMORY_EXCEPTION() */ -extern int PJ_NO_MEMORY_EXCEPTION; +PJ_DECL_DATA(int) PJ_NO_MEMORY_EXCEPTION; + +/** + * Get #PJ_NO_MEMORY_EXCEPTION constant. + */ +PJ_DECL(int) pj_NO_MEMORY_EXCEPTION(); /** * This global variable points to default memory pool factory policy. -- cgit v1.2.3