function params = glGetShaderiv( shader, pname )

% glGetShaderiv  Interface to OpenGL function glGetShaderiv
%
% usage:  params = glGetShaderiv( shader, pname )
%
% C function:  void glGetShaderiv(GLuint shader, GLenum pname, GLint* params)

% 25-Mar-2011 -- created (generated automatically from header files)

% ---allocate---
% ---protected---

if nargin~=2,
    error('invalid number of arguments');
end

params = int32([0,0]);

moglcore( 'glGetShaderiv', shader, pname, params );
params = params(1:end-1);
return
