summaryrefslogtreecommitdiff
path: root/include/user/kernel/modulemgr.h
diff options
context:
space:
mode:
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_ */