Changed constructors to use unsigned int to get round VS6.0 + wrapper problems.
This commit is contained in:
@@ -44,7 +44,7 @@ public:
|
||||
VectorGLsizei(): vector_type() {}
|
||||
VectorGLsizei(const VectorGLsizei ©): vector_type(copy) {}
|
||||
VectorGLsizei(GLsizei* beg, GLsizei* end): vector_type(beg, end) {}
|
||||
explicit VectorGLsizei(vector_type::size_type n): vector_type(n) {}
|
||||
explicit VectorGLsizei(unsigned int n): vector_type(n) {}
|
||||
};
|
||||
|
||||
class VectorGLubyte: public std::vector<GLubyte>
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
VectorGLubyte(): vector_type() {}
|
||||
VectorGLubyte(const VectorGLubyte ©): vector_type(copy) {}
|
||||
VectorGLubyte(GLubyte* beg, GLubyte* end): vector_type(beg, end) {}
|
||||
explicit VectorGLubyte(vector_type::size_type n): vector_type(n) {}
|
||||
explicit VectorGLubyte(unsigned int n): vector_type(n) {}
|
||||
};
|
||||
|
||||
class VectorGLushort: public std::vector<GLushort>
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
VectorGLushort(): vector_type() {}
|
||||
VectorGLushort(const VectorGLushort ©): vector_type(copy) {}
|
||||
VectorGLushort(GLushort* beg, GLushort* end): vector_type(beg, end) {}
|
||||
explicit VectorGLushort(vector_type::size_type n): vector_type(n) {}
|
||||
explicit VectorGLushort(unsigned int n): vector_type(n) {}
|
||||
};
|
||||
|
||||
class VectorGLuint: public std::vector<GLuint>
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
VectorGLuint(): vector_type() {}
|
||||
VectorGLuint(const VectorGLuint ©): vector_type(copy) {}
|
||||
VectorGLuint(GLuint* beg, GLuint* end): vector_type(beg, end) {}
|
||||
explicit VectorGLuint(vector_type::size_type n): vector_type(n) {}
|
||||
explicit VectorGLuint(unsigned int n): vector_type(n) {}
|
||||
};
|
||||
|
||||
// **************************************************************************
|
||||
|
||||
@@ -34,7 +34,7 @@ public:
|
||||
VectorUInt(): vector_type() {}
|
||||
VectorUInt(const VectorUInt ©): vector_type(copy) {}
|
||||
VectorUInt(unsigned int* beg, unsigned int* end): vector_type(beg, end) {}
|
||||
explicit VectorUInt(vector_type::size_type n): vector_type(n) {}
|
||||
explicit VectorUInt(unsigned int n): vector_type(n) {}
|
||||
};
|
||||
|
||||
// **************************************************************************
|
||||
|
||||
@@ -252,7 +252,7 @@ BEGIN_OBJECT_REFLECTOR(osg::VectorGLsizei)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::VectorGLsizei &, copy);
|
||||
I_Constructor2(IN, GLsizei *, beg, IN, GLsizei *, end);
|
||||
I_Constructor1(IN, osg::VectorGLsizei::size_type, n);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VectorGLubyte)
|
||||
@@ -260,7 +260,7 @@ BEGIN_OBJECT_REFLECTOR(osg::VectorGLubyte)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::VectorGLubyte &, copy);
|
||||
I_Constructor2(IN, GLubyte *, beg, IN, GLubyte *, end);
|
||||
I_Constructor1(IN, osg::VectorGLubyte::size_type, n);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VectorGLuint)
|
||||
@@ -268,7 +268,7 @@ BEGIN_OBJECT_REFLECTOR(osg::VectorGLuint)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::VectorGLuint &, copy);
|
||||
I_Constructor2(IN, GLuint *, beg, IN, GLuint *, end);
|
||||
I_Constructor1(IN, osg::VectorGLuint::size_type, n);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VectorGLushort)
|
||||
@@ -276,6 +276,6 @@ BEGIN_OBJECT_REFLECTOR(osg::VectorGLushort)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::VectorGLushort &, copy);
|
||||
I_Constructor2(IN, GLushort *, beg, IN, GLushort *, end);
|
||||
I_Constructor1(IN, osg::VectorGLushort::size_type, n);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -54,6 +54,6 @@ BEGIN_OBJECT_REFLECTOR(osgText::VectorUInt)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osgText::VectorUInt &, copy);
|
||||
I_Constructor2(IN, unsigned int *, beg, IN, unsigned int *, end);
|
||||
I_Constructor1(IN, osgText::VectorUInt::size_type, n);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user