the Fiddler's picture

[CL] ContextProperties should be mapped to IntPtr, not int

Project:The Open Toolkit library
Version:1.1-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:fixed
Description

This affects the first parameter of CreateContext() and CreateContextFromType().

The fix is simple (change csharp.tm to map cl_context_properties to IntPtr), but we also need to add helper overloads that take ContextProperties instead of IntPtr for compatibility.


Comments

the Fiddler's picture

#1

Status:in progress» fixed

Fixed in r2576 (trunk).

To avoid overload explosion, I have added only the more common overloads for the helper methods. A complete implementation would result in ~60 overloads.