From 008b3512be183cefc82e051b36c7a74d53c4906d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 25 Jun 2014 12:39:48 +0200 Subject: Bug 1021: OVR GlueGen Mapping: Compile all generated C files, add missing C ovrHmdStruct in generated files, reduce warnings. --- make/config/oculusvr/oculusvr-common.cfg | 5 +++++ make/config/oculusvr/oculusvr.cfg | 2 ++ 2 files changed, 7 insertions(+) (limited to 'make/config') diff --git a/make/config/oculusvr/oculusvr-common.cfg b/make/config/oculusvr/oculusvr-common.cfg index c1e4d9cfd..eb01cf067 100644 --- a/make/config/oculusvr/oculusvr-common.cfg +++ b/make/config/oculusvr/oculusvr-common.cfg @@ -20,6 +20,11 @@ Opaque boolean ovrBool # Not implemented in SDK !? Ignore ovrHmd_ProcessLatencyTest +# Not native sized: CType['uintptr_t *', size [fixed false, lnx64 64], [array*1]] +Ignore ovrRenderAPIConfig.PlatformData +# Not native sized: CType['uintptr_t *', size [fixed false, lnx64 64], [array*1]] +Ignore ovrTexture.PlatformData + # These routines use or return strings ReturnsString ovrHmd_GetLastError ReturnsString ovrHmd_GetLatencyTestResult diff --git a/make/config/oculusvr/oculusvr.cfg b/make/config/oculusvr/oculusvr.cfg index aa439772b..11e1ee78b 100644 --- a/make/config/oculusvr/oculusvr.cfg +++ b/make/config/oculusvr/oculusvr.cfg @@ -12,5 +12,7 @@ IncludeAs CustomJavaCode OVR oculusvr-ovr-CustomJavaCode.java ManualStaticInitCall OVR # Provide #includes to native code +CustomCCode typedef struct ovrHmdStruct { +CustomCCode } OvrHmdContext; CustomCCode #include -- cgit v1.2.3