Changed constructors to take const pointers

This commit is contained in:
Robert Osfield
2008-02-15 14:09:44 +00:00
parent 3e77fec6c9
commit 45c6bbb577
2 changed files with 22 additions and 22 deletions

View File

@@ -323,8 +323,8 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUByte)
____DrawElementsUByte__C5_DrawElementsUByte_R1__C5_CopyOp_R1,
"",
"");
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLubyte *, ptr,
____DrawElementsUByte__GLenum__unsigned_int__GLubyte_P1,
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, const GLubyte *, ptr,
____DrawElementsUByte__GLenum__unsigned_int__C5_GLubyte_P1,
"",
"");
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
@@ -429,8 +429,8 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUInt)
____DrawElementsUInt__C5_DrawElementsUInt_R1__C5_CopyOp_R1,
"",
"");
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLuint *, ptr,
____DrawElementsUInt__GLenum__unsigned_int__GLuint_P1,
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, const GLuint *, ptr,
____DrawElementsUInt__GLenum__unsigned_int__C5_GLuint_P1,
"",
"");
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
@@ -535,8 +535,8 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUShort)
____DrawElementsUShort__C5_DrawElementsUShort_R1__C5_CopyOp_R1,
"",
"");
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLushort *, ptr,
____DrawElementsUShort__GLenum__unsigned_int__GLushort_P1,
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, const GLushort *, ptr,
____DrawElementsUShort__GLenum__unsigned_int__C5_GLushort_P1,
"",
"");
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
@@ -1003,8 +1003,8 @@ BEGIN_OBJECT_REFLECTOR(osg::VectorGLubyte)
____VectorGLubyte__C5_VectorGLubyte_R1,
"",
"");
I_Constructor2(IN, GLubyte *, beg, IN, GLubyte *, end,
____VectorGLubyte__GLubyte_P1__GLubyte_P1,
I_Constructor2(IN, const GLubyte *, beg, IN, const GLubyte *, end,
____VectorGLubyte__C5_GLubyte_P1__C5_GLubyte_P1,
"",
"");
I_Constructor1(IN, unsigned int, n,
@@ -1025,8 +1025,8 @@ BEGIN_OBJECT_REFLECTOR(osg::VectorGLuint)
____VectorGLuint__C5_VectorGLuint_R1,
"",
"");
I_Constructor2(IN, GLuint *, beg, IN, GLuint *, end,
____VectorGLuint__GLuint_P1__GLuint_P1,
I_Constructor2(IN, const GLuint *, beg, IN, const GLuint *, end,
____VectorGLuint__C5_GLuint_P1__C5_GLuint_P1,
"",
"");
I_Constructor1(IN, unsigned int, n,
@@ -1047,8 +1047,8 @@ BEGIN_OBJECT_REFLECTOR(osg::VectorGLushort)
____VectorGLushort__C5_VectorGLushort_R1,
"",
"");
I_Constructor2(IN, GLushort *, beg, IN, GLushort *, end,
____VectorGLushort__GLushort_P1__GLushort_P1,
I_Constructor2(IN, const GLushort *, beg, IN, const GLushort *, end,
____VectorGLushort__C5_GLushort_P1__C5_GLushort_P1,
"",
"");
I_Constructor1(IN, unsigned int, n,