Commit 379d3752 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

opencl: Do not prepend "wine_" to export names.

parent 08032c78
......@@ -59,7 +59,7 @@ sub generate_pe_thunk($$)
my $trace_call_arg = "";
my $trace_arg = "";
my $ret = get_func_proto( "%s WINAPI wine_%s(%s)", $name, $func_ref );
my $ret = get_func_proto( "%s WINAPI %s(%s)", $name, $func_ref );
foreach my $arg (@{$func_ref->[1]})
{
my $ptype = get_arg_type( $arg );
......@@ -198,7 +198,7 @@ sub generate_spec_entry($$)
}
}
$args = substr($args,1,-1);
return "@ stdcall $_($args) wine_$_";
return "@ stdcall $_($args)";
}
my %core_functions;
......
@ stdcall clBuildProgram(ptr long ptr ptr ptr ptr) wine_clBuildProgram
@ stdcall clCreateBuffer(ptr int64 long ptr ptr) wine_clCreateBuffer
@ stdcall clCreateCommandQueue(ptr ptr int64 ptr) wine_clCreateCommandQueue
@ stdcall clCreateContext(ptr long ptr ptr ptr ptr) wine_clCreateContext
@ stdcall clCreateContextFromType(ptr int64 ptr ptr ptr) wine_clCreateContextFromType
@ stdcall clCreateImage2D(ptr int64 ptr long long long ptr ptr) wine_clCreateImage2D
@ stdcall clCreateImage3D(ptr int64 ptr long long long long long ptr ptr) wine_clCreateImage3D
@ stdcall clCreateKernel(ptr ptr ptr) wine_clCreateKernel
@ stdcall clCreateKernelsInProgram(ptr long ptr ptr) wine_clCreateKernelsInProgram
@ stdcall clCreateProgramWithBinary(ptr long ptr ptr ptr ptr ptr) wine_clCreateProgramWithBinary
@ stdcall clCreateProgramWithSource(ptr long ptr ptr ptr) wine_clCreateProgramWithSource
@ stdcall clCreateSampler(ptr long long long ptr) wine_clCreateSampler
@ stdcall clEnqueueBarrier(ptr) wine_clEnqueueBarrier
@ stdcall clEnqueueCopyBuffer(ptr ptr ptr long long long long ptr ptr) wine_clEnqueueCopyBuffer
@ stdcall clEnqueueCopyBufferToImage(ptr ptr ptr long ptr ptr long ptr ptr) wine_clEnqueueCopyBufferToImage
@ stdcall clEnqueueCopyImage(ptr ptr ptr ptr ptr ptr long ptr ptr) wine_clEnqueueCopyImage
@ stdcall clEnqueueCopyImageToBuffer(ptr ptr ptr ptr ptr long long ptr ptr) wine_clEnqueueCopyImageToBuffer
@ stdcall clEnqueueMapBuffer(ptr ptr long int64 long long long ptr ptr ptr) wine_clEnqueueMapBuffer
@ stdcall clEnqueueMapImage(ptr ptr long int64 ptr ptr ptr ptr long ptr ptr ptr) wine_clEnqueueMapImage
@ stdcall clEnqueueMarker(ptr ptr) wine_clEnqueueMarker
@ stdcall clEnqueueNDRangeKernel(ptr ptr long ptr ptr ptr long ptr ptr) wine_clEnqueueNDRangeKernel
@ stdcall clEnqueueNativeKernel(ptr ptr ptr long long ptr ptr long ptr ptr) wine_clEnqueueNativeKernel
@ stdcall clEnqueueReadBuffer(ptr ptr long long long ptr long ptr ptr) wine_clEnqueueReadBuffer
@ stdcall clEnqueueReadImage(ptr ptr long ptr ptr long long ptr long ptr ptr) wine_clEnqueueReadImage
@ stdcall clEnqueueTask(ptr ptr long ptr ptr) wine_clEnqueueTask
@ stdcall clEnqueueUnmapMemObject(ptr ptr ptr long ptr ptr) wine_clEnqueueUnmapMemObject
@ stdcall clEnqueueWaitForEvents(ptr long ptr) wine_clEnqueueWaitForEvents
@ stdcall clEnqueueWriteBuffer(ptr ptr long long long ptr long ptr ptr) wine_clEnqueueWriteBuffer
@ stdcall clEnqueueWriteImage(ptr ptr long ptr ptr long long ptr long ptr ptr) wine_clEnqueueWriteImage
@ stdcall clFinish(ptr) wine_clFinish
@ stdcall clFlush(ptr) wine_clFlush
@ stdcall clGetCommandQueueInfo(ptr long long ptr ptr) wine_clGetCommandQueueInfo
@ stdcall clGetContextInfo(ptr long long ptr ptr) wine_clGetContextInfo
@ stdcall clGetDeviceIDs(ptr int64 long ptr ptr) wine_clGetDeviceIDs
@ stdcall clGetDeviceInfo(ptr long long ptr ptr) wine_clGetDeviceInfo
@ stdcall clGetEventInfo(ptr long long ptr ptr) wine_clGetEventInfo
@ stdcall clGetEventProfilingInfo(ptr long long ptr ptr) wine_clGetEventProfilingInfo
@ stdcall clGetExtensionFunctionAddress(ptr) wine_clGetExtensionFunctionAddress
@ stdcall clGetImageInfo(ptr long long ptr ptr) wine_clGetImageInfo
@ stdcall clGetKernelInfo(ptr long long ptr ptr) wine_clGetKernelInfo
@ stdcall clGetKernelWorkGroupInfo(ptr ptr long long ptr ptr) wine_clGetKernelWorkGroupInfo
@ stdcall clGetMemObjectInfo(ptr long long ptr ptr) wine_clGetMemObjectInfo
@ stdcall clGetPlatformIDs(long ptr ptr) wine_clGetPlatformIDs
@ stdcall clGetPlatformInfo(ptr long long ptr ptr) wine_clGetPlatformInfo
@ stdcall clGetProgramBuildInfo(ptr ptr long long ptr ptr) wine_clGetProgramBuildInfo
@ stdcall clGetProgramInfo(ptr long long ptr ptr) wine_clGetProgramInfo
@ stdcall clGetSamplerInfo(ptr long long ptr ptr) wine_clGetSamplerInfo
@ stdcall clGetSupportedImageFormats(ptr int64 long long ptr ptr) wine_clGetSupportedImageFormats
@ stdcall clReleaseCommandQueue(ptr) wine_clReleaseCommandQueue
@ stdcall clReleaseContext(ptr) wine_clReleaseContext
@ stdcall clReleaseEvent(ptr) wine_clReleaseEvent
@ stdcall clReleaseKernel(ptr) wine_clReleaseKernel
@ stdcall clReleaseMemObject(ptr) wine_clReleaseMemObject
@ stdcall clReleaseProgram(ptr) wine_clReleaseProgram
@ stdcall clReleaseSampler(ptr) wine_clReleaseSampler
@ stdcall clRetainCommandQueue(ptr) wine_clRetainCommandQueue
@ stdcall clRetainContext(ptr) wine_clRetainContext
@ stdcall clRetainEvent(ptr) wine_clRetainEvent
@ stdcall clRetainKernel(ptr) wine_clRetainKernel
@ stdcall clRetainMemObject(ptr) wine_clRetainMemObject
@ stdcall clRetainProgram(ptr) wine_clRetainProgram
@ stdcall clRetainSampler(ptr) wine_clRetainSampler
@ stdcall clSetCommandQueueProperty(ptr int64 long ptr) wine_clSetCommandQueueProperty
@ stdcall clSetKernelArg(ptr long long ptr) wine_clSetKernelArg
@ stdcall clUnloadCompiler() wine_clUnloadCompiler
@ stdcall clWaitForEvents(long ptr) wine_clWaitForEvents
@ stdcall clBuildProgram(ptr long ptr ptr ptr ptr)
@ stdcall clCreateBuffer(ptr int64 long ptr ptr)
@ stdcall clCreateCommandQueue(ptr ptr int64 ptr)
@ stdcall clCreateContext(ptr long ptr ptr ptr ptr)
@ stdcall clCreateContextFromType(ptr int64 ptr ptr ptr)
@ stdcall clCreateImage2D(ptr int64 ptr long long long ptr ptr)
@ stdcall clCreateImage3D(ptr int64 ptr long long long long long ptr ptr)
@ stdcall clCreateKernel(ptr ptr ptr)
@ stdcall clCreateKernelsInProgram(ptr long ptr ptr)
@ stdcall clCreateProgramWithBinary(ptr long ptr ptr ptr ptr ptr)
@ stdcall clCreateProgramWithSource(ptr long ptr ptr ptr)
@ stdcall clCreateSampler(ptr long long long ptr)
@ stdcall clEnqueueBarrier(ptr)
@ stdcall clEnqueueCopyBuffer(ptr ptr ptr long long long long ptr ptr)
@ stdcall clEnqueueCopyBufferToImage(ptr ptr ptr long ptr ptr long ptr ptr)
@ stdcall clEnqueueCopyImage(ptr ptr ptr ptr ptr ptr long ptr ptr)
@ stdcall clEnqueueCopyImageToBuffer(ptr ptr ptr ptr ptr long long ptr ptr)
@ stdcall clEnqueueMapBuffer(ptr ptr long int64 long long long ptr ptr ptr)
@ stdcall clEnqueueMapImage(ptr ptr long int64 ptr ptr ptr ptr long ptr ptr ptr)
@ stdcall clEnqueueMarker(ptr ptr)
@ stdcall clEnqueueNDRangeKernel(ptr ptr long ptr ptr ptr long ptr ptr)
@ stdcall clEnqueueNativeKernel(ptr ptr ptr long long ptr ptr long ptr ptr)
@ stdcall clEnqueueReadBuffer(ptr ptr long long long ptr long ptr ptr)
@ stdcall clEnqueueReadImage(ptr ptr long ptr ptr long long ptr long ptr ptr)
@ stdcall clEnqueueTask(ptr ptr long ptr ptr)
@ stdcall clEnqueueUnmapMemObject(ptr ptr ptr long ptr ptr)
@ stdcall clEnqueueWaitForEvents(ptr long ptr)
@ stdcall clEnqueueWriteBuffer(ptr ptr long long long ptr long ptr ptr)
@ stdcall clEnqueueWriteImage(ptr ptr long ptr ptr long long ptr long ptr ptr)
@ stdcall clFinish(ptr)
@ stdcall clFlush(ptr)
@ stdcall clGetCommandQueueInfo(ptr long long ptr ptr)
@ stdcall clGetContextInfo(ptr long long ptr ptr)
@ stdcall clGetDeviceIDs(ptr int64 long ptr ptr)
@ stdcall clGetDeviceInfo(ptr long long ptr ptr)
@ stdcall clGetEventInfo(ptr long long ptr ptr)
@ stdcall clGetEventProfilingInfo(ptr long long ptr ptr)
@ stdcall clGetExtensionFunctionAddress(ptr)
@ stdcall clGetImageInfo(ptr long long ptr ptr)
@ stdcall clGetKernelInfo(ptr long long ptr ptr)
@ stdcall clGetKernelWorkGroupInfo(ptr ptr long long ptr ptr)
@ stdcall clGetMemObjectInfo(ptr long long ptr ptr)
@ stdcall clGetPlatformIDs(long ptr ptr)
@ stdcall clGetPlatformInfo(ptr long long ptr ptr)
@ stdcall clGetProgramBuildInfo(ptr ptr long long ptr ptr)
@ stdcall clGetProgramInfo(ptr long long ptr ptr)
@ stdcall clGetSamplerInfo(ptr long long ptr ptr)
@ stdcall clGetSupportedImageFormats(ptr int64 long long ptr ptr)
@ stdcall clReleaseCommandQueue(ptr)
@ stdcall clReleaseContext(ptr)
@ stdcall clReleaseEvent(ptr)
@ stdcall clReleaseKernel(ptr)
@ stdcall clReleaseMemObject(ptr)
@ stdcall clReleaseProgram(ptr)
@ stdcall clReleaseSampler(ptr)
@ stdcall clRetainCommandQueue(ptr)
@ stdcall clRetainContext(ptr)
@ stdcall clRetainEvent(ptr)
@ stdcall clRetainKernel(ptr)
@ stdcall clRetainMemObject(ptr)
@ stdcall clRetainProgram(ptr)
@ stdcall clRetainSampler(ptr)
@ stdcall clSetCommandQueueProperty(ptr int64 long ptr)
@ stdcall clSetKernelArg(ptr long long ptr)
@ stdcall clUnloadCompiler()
@ stdcall clWaitForEvents(long ptr)
......@@ -26,8 +26,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl);
const struct opencl_funcs *opencl_funcs = NULL;
cl_int WINAPI wine_clGetPlatformInfo(cl_platform_id platform, cl_platform_info param_name,
SIZE_T param_value_size, void * param_value, size_t * param_value_size_ret)
cl_int WINAPI clGetPlatformInfo( cl_platform_id platform, cl_platform_info param_name,
SIZE_T param_value_size, void * param_value, size_t * param_value_size_ret )
{
cl_int ret;
TRACE("(%p, 0x%x, %ld, %p, %p)\n", platform, param_name, param_value_size, param_value, param_value_size_ret);
......@@ -62,8 +62,8 @@ cl_int WINAPI wine_clGetPlatformInfo(cl_platform_id platform, cl_platform_info p
}
cl_int WINAPI wine_clGetDeviceInfo(cl_device_id device, cl_device_info param_name,
SIZE_T param_value_size, void * param_value, size_t * param_value_size_ret)
cl_int WINAPI clGetDeviceInfo( cl_device_id device, cl_device_info param_name,
SIZE_T param_value_size, void * param_value, size_t * param_value_size_ret )
{
cl_int ret;
TRACE("(%p, 0x%x, %ld, %p, %p)\n",device, param_name, param_value_size, param_value, param_value_size_ret);
......@@ -105,7 +105,7 @@ cl_int WINAPI wine_clGetDeviceInfo(cl_device_id device, cl_device_info param_nam
}
void * WINAPI wine_clGetExtensionFunctionAddress(const char * func_name)
void * WINAPI clGetExtensionFunctionAddress( const char *func_name )
{
void * ret = 0;
TRACE("(%s)\n",func_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment