mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-07 15:33:20 +02:00
![Mike Kestner](/assets/img/avatar_default.png)
* cairo/Context.cs: add ctor (IntPtr, bool owned) * cairo/cairo-api.xml: expose cairo_t as new ownable symbol type * generator/HandleBase.cs: implement IOwnable * generator/IOwnable.cs: new interface for wrapping ownable types * generator/Makefile.am: add new files to build * generator/OwnableGen.cs: SimpleBase subclass to expose IOwnable * generator/Parameters.cs: use IOwnable.FromNative instead of HandleBase * generator/Parser.cs: parse ownable symbol type * generator/ReturnValue.cs: use IOwnable.FromNative instead of HandleBase
12 lines
671 B
XML
12 lines
671 B
XML
<?xml version="1.0"?>
|
|
<api>
|
|
<namespace name="Cairo">
|
|
<enum cname="cairo_content_t" name="Content" type="enum" />
|
|
</namespace>
|
|
<symbol type="ownable" cname="cairo_t" name="Cairo.Context"/>
|
|
<symbol type="manual" cname="cairo_font_options_t" name="Cairo.FontOptions"/>
|
|
<symbol type="manual" cname="cairo_region_t" name="Cairo.Region"/>
|
|
<symbol type="marshal" cname="cairo_pattern_t" name="Cairo.Pattern" marshal_type="IntPtr" call_fmt="{0}.Handle" from_fmt="Cairo.Pattern.Lookup ({0})" />
|
|
<symbol type="marshal" cname="cairo_surface_t" name="Cairo.Surface" marshal_type="IntPtr" call_fmt="{0}.Handle" from_fmt="Cairo.Surface.LookupSurface ({0})" />
|
|
</api>
|