#ifndef _LUAOPENCL_H__
#define _LUAOPENCL_H__

#ifdef WIN32
	#define WIN32_LEAN_AND_MEAN
	#include <windows.h>
#endif

#include <CL/cl.h>
#include <CL/cl_gl.h>
#include <CL/cl_ext.h>

#ifdef __cplusplus
extern "C"{
#endif

	extern clGetGLContextInfoKHR_fn __clGetGLContextInfoKHR;
	#define clGetGLContextInfoKHR __clGetGLContextInfoKHR

	const cl_context_properties * utilGetCLContextGLProperties();
	void utilInitExtensions();

#ifdef __cplusplus
}
#endif

#endif
