Sha256: e48a8de0cd330c388ec46772f5cfe3340bcd57ea6be59f65471077b1360aebc8

Contents?: true

Size: 463 Bytes

Versions: 5

Compression:

Stored size: 463 Bytes

Contents

%{
#include <OgreUTFString.h>
%}

// not supported wchar_t 
#define OGRE_COMPILER OGRE_COMPILER_MSVC

//%rename(DisplayString) Ogre::UTFString;

#ifdef DEBUG_FREEFUNC
%freefunc UTFString "debug_free_UTFString";
#endif

%include "OgreUTFString.h"



%{
 static void debug_free_UTFString(void* ptr) {
	 Ogre::UTFString* string = (Ogre::UTFString*) ptr;
	 
	 std::cout << __PRETTY_FUNCTION__ << ": " << string->asUTF8_c_str() << std::endl;
	 
	 delete string;
 }
%}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-ogre-0.0.5-x86-linux bindings/ogre/interface/OgreUTFString.i
ruby-ogre-0.0.4-x86-linux bindings/ogre/interface/OgreUTFString.i
ruby-ogre-0.0.3-x86-linux bindings/ogre/interface/OgreUTFString.i
ruby-ogre-0.0.2-x86-linux bindings/ogre/interface/OgreUTFString.i
ruby-ogre-0.0.1-x86-linux bindings/ogre/interface/OgreUTFString.i