diff options
Diffstat (limited to 'pr/include/prinit.h')
-rw-r--r-- | pr/include/prinit.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pr/include/prinit.h b/pr/include/prinit.h index 0e8e124c..64ca8cc3 100644 --- a/pr/include/prinit.h +++ b/pr/include/prinit.h @@ -60,9 +60,9 @@ PR_BEGIN_EXTERN_C ** The format of the version string is ** "<major version>.<minor version>[.<patch level>] [<Beta>]" */ -#define PR_VERSION "4.2 Beta" +#define PR_VERSION "4.4 Beta" #define PR_VMAJOR 4 -#define PR_VMINOR 2 +#define PR_VMINOR 4 #define PR_VPATCH 0 #define PR_BETA PR_TRUE @@ -220,11 +220,19 @@ typedef struct PRCallOnceType { typedef PRStatus (PR_CALLBACK *PRCallOnceFN)(void); +typedef PRStatus (PR_CALLBACK *PRCallOnceWithArgFN)(void *arg); + NSPR_API(PRStatus) PR_CallOnce( PRCallOnceType *once, PRCallOnceFN func ); +NSPR_API(PRStatus) PR_CallOnceWithArg( + PRCallOnceType *once, + PRCallOnceWithArgFN func, + void *arg +); + PR_END_EXTERN_C |