1 // PRE: Expects gdxBuffers.i to be included 2 // POST: Pointers to most of the basic types are mapped to Buffers 3 4 ENABLE_NIO_BUFFER_TYPEMAP(unsigned char, java.nio.ByteBuffer); 5 ENABLE_NIO_BUFFER_TYPEMAP(short, java.nio.ShortBuffer); 6 ENABLE_NIO_BUFFER_TYPEMAP(unsigned short, java.nio.IntBuffer); 7 ENABLE_NIO_BUFFER_TYPEMAP(int, java.nio.IntBuffer); 8 ENABLE_NIO_BUFFER_TYPEMAP(unsigned int, java.nio.LongBuffer); 9 ENABLE_NIO_BUFFER_TYPEMAP(long, java.nio.IntBuffer); 10 ENABLE_NIO_BUFFER_TYPEMAP(unsigned long, java.nio.LongBuffer); 11 ENABLE_NIO_BUFFER_TYPEMAP(float, java.nio.FloatBuffer); 12 ENABLE_NIO_BUFFER_TYPEMAP(double, java.nio.DoubleBuffer); 13 ENABLE_NIO_BUFFER_TYPEMAP(btScalar, java.nio.FloatBuffer);