summaryrefslogtreecommitdiff
path: root/include/user/kernel/modulemgr.h
diff options
context:
space:
mode:
authorcodestation2016-08-29 13:57:02 -0400
committercodestation2016-08-29 13:57:02 -0400
commit7cfa4cd5a42956e0c791675b835d041f8d378b83 (patch)
tree0d78b02a6630909b2b15f87ca05e239d67872722 /include/user/kernel/modulemgr.h
parentFixed typo (diff)
downloadvds-libraries-7cfa4cd5a42956e0c791675b835d041f8d378b83.tar.gz
Added missing __cplusplus guards.
Diffstat (limited to '')
-rw-r--r--include/user/kernel/modulemgr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/user/kernel/modulemgr.h b/include/user/kernel/modulemgr.h
index baf9a75..ab41eba 100644
--- a/include/user/kernel/modulemgr.h
+++ b/include/user/kernel/modulemgr.h
@@ -3,6 +3,10 @@
#include <psp2/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct
{
SceUInt size; //< this structure size (0x18)
@@ -52,4 +56,8 @@ int sceKernelUnloadModule(SceUID modid, int flags, SceKernelULMOption *option);
SceUID sceKernelLoadStartModule(char *path, SceSize args, void *argp, int flags, SceKernelLMOption *option, int *status);
int sceKernelStopUnloadModule(SceUID modid, SceSize args, void *argp, int flags, SceKernelULMOption *option, int *status);
+#ifdef __cplusplus
+}
#endif
+
+#endif /* _PSP2_KERNEL_MODULEMGR_H_ */