diff --git a/src/templates/org/lwjgl/opencl/CL10.java b/src/templates/org/lwjgl/opencl/CL10.java index 0e3d142a..85274b64 100644 --- a/src/templates/org/lwjgl/opencl/CL10.java +++ b/src/templates/org/lwjgl/opencl/CL10.java @@ -1149,11 +1149,11 @@ public interface CL10 { @Private @PointerWrapper("void *") - CLFunctionAddress clGetExtensionFunctionAddress(@Check("1") @Const @cl_char ByteBuffer func_name); + CLFunctionAddress clGetExtensionFunctionAddress(@NullTerminated @Const @cl_char ByteBuffer func_name); @Alternate("clGetExtensionFunctionAddress") @Private @PointerWrapper("void *") - CLFunctionAddress clGetExtensionFunctionAddress(CharSequence func_name); + CLFunctionAddress clGetExtensionFunctionAddress(@NullTerminated CharSequence func_name); } \ No newline at end of file diff --git a/src/templates/org/lwjgl/opencl/CL12.java b/src/templates/org/lwjgl/opencl/CL12.java index 768a9020..e0d5a97b 100644 --- a/src/templates/org/lwjgl/opencl/CL12.java +++ b/src/templates/org/lwjgl/opencl/CL12.java @@ -435,12 +435,12 @@ public interface CL12 { @Private @PointerWrapper("void *") CLFunctionAddress clGetExtensionFunctionAddressForPlatform(@PointerWrapper("cl_platform_id") CLPlatform platform, - @Check("1") @Const @cl_char ByteBuffer func_name); + @NullTerminated @Const @cl_char ByteBuffer func_name); @Alternate("clGetExtensionFunctionAddressForPlatform") @Private @PointerWrapper("void *") CLFunctionAddress clGetExtensionFunctionAddressForPlatform(@PointerWrapper("cl_platform_id") CLPlatform platform, - CharSequence func_name); + @NullTerminated CharSequence func_name); } \ No newline at end of file