diff options
author | Michael Bien <[email protected]> | 2010-05-04 02:22:19 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-05-04 02:22:19 +0200 |
commit | 9125a275449cb533798357914945de1f742a91f9 (patch) | |
tree | c25d5357ac99ec24bee4e7f2c95775362877db0b /resources/cl-if.cfg | |
parent | ea95ca1b96300fc9b2ec937759663eb0ed1406bf (diff) |
finished main functionality of ErrorHandler impl.
- using event listener add/remove pattern instead add on context creation
- context -> error handler object global reference mapping(TM) using LongLongMap in CLImpl
- global ref is deleted on context release
Diffstat (limited to 'resources/cl-if.cfg')
-rw-r--r-- | resources/cl-if.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/cl-if.cfg b/resources/cl-if.cfg index d0413d97..6f19e64f 100644 --- a/resources/cl-if.cfg +++ b/resources/cl-if.cfg @@ -21,12 +21,12 @@ Ignore CL_GL_.*|cl.*GL.* Ignore clCreateContext CustomJavaCode CL CustomJavaCode CL /** Interface to C language function: <br> <code> cl_context {@native clCreateContext}(intptr_t * , uint32_t, cl_device_id * , void (*pfn_notify)(const char *, const void *, size_t, void *), void *, int32_t * ); </code> */ -CustomJavaCode CL public long clCreateContext(PointerBuffer properties, PointerBuffer devices, CreateContextCallback pfn_notify, IntBuffer errcode_ret); +CustomJavaCode CL public long clCreateContext(PointerBuffer properties, PointerBuffer devices, CLErrorHandler pfn_notify, IntBuffer errcode_ret); Ignore clCreateContextFromType CustomJavaCode CL CustomJavaCode CL /** Interface to C language function: <br> <code> cl_context {@native clCreateContextFromType}(cl_context_properties *properties, cl_device_type device_type, void (*pfn_notify)(const char *errinfo, const void *private_info, size_t cb, void *user_data), void *user_data, cl_int *errcode_ret) ; </code> */ -CustomJavaCode CL public long clCreateContextFromType(PointerBuffer properties, long device_type, CreateContextCallback pfn_notify, IntBuffer errcode_ret); +CustomJavaCode CL public long clCreateContextFromType(PointerBuffer properties, long device_type, CLErrorHandler pfn_notify, IntBuffer errcode_ret); Ignore clBuildProgram CustomJavaCode CL |