forked from mirrors/gecko-dev
Depends on D137612 Differential Revision: https://phabricator.services.mozilla.com/D137650
22 lines
383 B
ReStructuredText
22 lines
383 B
ReStructuredText
PRCallOnceFN
|
|
============
|
|
|
|
Defines the signature of the function a client must implement.
|
|
|
|
|
|
Syntax
|
|
------
|
|
|
|
.. code:: eval
|
|
|
|
#include <prinit.h>
|
|
|
|
typedef PRStatus (PR_CALLBACK *PRCallOnceFN)(void);
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
The function is called to perform the initialization desired. The
|
|
function is expected to return a :ref:`PRStatus` indicating the outcome of
|
|
the process.
|