зеркало из https://github.com/mozilla/pjs.git
Added comments and declaration of PR_Abort().
This commit is contained in:
Родитель
89820a446c
Коммит
97885207f0
|
@ -1,15 +0,0 @@
|
|||
|
||||
#include "prstubs.h"
|
||||
|
||||
PR_IMPLEMENT(PRLock*) PR_NewLock(void) { return NULL; }
|
||||
|
||||
PR_IMPLEMENT(void) PR_DestroyLock(PRLock *lock) { }
|
||||
PR_IMPLEMENT(void) PR_Lock(PRLock *lock) { }
|
||||
PR_IMPLEMENT(PRStatus) PR_Unlock(PRLock *lock) { return PR_SUCCESS;}
|
||||
|
||||
PRBool _pr_initialized;
|
||||
|
||||
void _PR_ImplicitInitialization(void)
|
||||
{
|
||||
_pr_initialized = PR_TRUE;
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
#ifndef prstubs_h___
|
||||
#define prstubs_h___
|
||||
|
||||
#include "prtypes.h"
|
||||
|
||||
PR_BEGIN_EXTERN_C
|
||||
|
||||
typedef struct PRLock {int dummy;} PRLock;
|
||||
|
||||
PR_EXTERN(PRLock*) PR_NewLock(void);
|
||||
PR_EXTERN(void) PR_DestroyLock(PRLock *lock);
|
||||
PR_EXTERN(void) PR_Lock(PRLock *lock);
|
||||
PR_EXTERN(PRStatus) PR_Unlock(PRLock *lock);
|
||||
|
||||
extern PRBool _pr_initialized;
|
||||
extern void _PR_ImplicitInitialization(void);
|
||||
|
||||
#define PR_SetError(x, y)
|
||||
|
||||
PR_END_EXTERN_C
|
||||
|
||||
#endif /* prstubs_h___ */
|
Загрузка…
Ссылка в новой задаче