diff options
Diffstat (limited to 'mojo/public/c/system/functions.h')
-rw-r--r-- | mojo/public/c/system/functions.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mojo/public/c/system/functions.h b/mojo/public/c/system/functions.h index fa2bd06..a0330fe 100644 --- a/mojo/public/c/system/functions.h +++ b/mojo/public/c/system/functions.h @@ -14,6 +14,10 @@ #include "mojo/public/c/system/system_export.h" #include "mojo/public/c/system/types.h" +#ifdef __cplusplus +extern "C" { +#endif + // Note: Pointer parameters that are labelled "optional" may be null (at least // under some circumstances). Non-const pointer parameters are also labeled // "in", "out", or "in/out", to indicate how they are used. (Note that how/if @@ -21,10 +25,6 @@ // operation's success/failure. E.g., a separate |flags| parameter may control // whether a given "in/out" parameter is used for input, output, or both.) -#ifdef __cplusplus -extern "C" { -#endif - // Platform-dependent monotonically increasing tick count representing "right // now." The resolution of this clock is ~1-15ms. Resolution varies depending // on hardware/operating system configuration. |