Commits

ppavel  committed 48b8e25

Fixed typo in clGetProgramInfo foreign import. close #2

  • Participants
  • Parent commits 34ba983

Comments (0)

Files changed (1)

File System/OpenCL/Raw/V10/ProgramObject.hs

 clUnloadCompiler :: IO (Maybe ErrorCode)
 clUnloadCompiler = wrapError $ raw_clUnloadCompiler
 
-foreign import ccall "clGetProgamInfo" raw_clGetProgramInfo :: Program -> CLuint -> CLsizei -> Ptr () -> Ptr CLsizei -> IO CLint
+foreign import ccall "clGetProgramInfo" raw_clGetProgramInfo :: Program -> CLuint -> CLsizei -> Ptr () -> Ptr CLsizei -> IO CLint
 clGetProgramInfo :: Program -> ProgramInfo -> CLsizei -> IO (Either ErrorCode (ForeignPtr (), CLsizei))
 clGetProgramInfo program (ProgramInfo param_name) param_value_size = wrapGetInfo (raw_clGetProgramInfo program param_name) param_value_size