From b4f4fb4b91a70c0b6e6468c92403d79eafa5cdf1 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Thu, 7 Mar 2024 10:37:32 +0100 Subject: [PATCH] SWIG: fix typed enums in Csharp --- OgreMain/include/Ogre.i | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OgreMain/include/Ogre.i b/OgreMain/include/Ogre.i index 25098785409..6a06b59be1b 100644 --- a/OgreMain/include/Ogre.i +++ b/OgreMain/include/Ogre.i @@ -184,6 +184,10 @@ JNIEnv* OgreJNIGetEnv() { #endif #ifdef SWIGCSHARP +typedef uint32_t uint32; +typedef uint16_t uint16; +typedef uint8_t uint8; + %ignore Ogre::HardwareBuffer::UsageEnum; %ignore Ogre::TextureUsage; %ignore Ogre::GpuConstantType;