summaryrefslogtreecommitdiff
path: root/pjlib/include/pj
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-08-16 10:11:44 +0000
committerBenny Prijono <bennylp@teluu.com>2007-08-16 10:11:44 +0000
commit159bce8846c6ad6a801085814ce456b13d90b395 (patch)
tree610f6d100a384dfee5957d2d9454fa893d094400 /pjlib/include/pj
parente98db7abda0bea7e779ab589753aaa3b9b3f148b (diff)
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
Diffstat (limited to 'pjlib/include/pj')
-rw-r--r--pjlib/include/pj/guid.h10
-rw-r--r--pjlib/include/pj/pool.h9
2 files changed, 17 insertions, 2 deletions
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.