diff options
author | Bertrand Lorentz <bertrand.lorentz@gmail.com> | 2013-02-24 21:53:04 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2013-06-20 02:36:54 +0400 |
commit | 16f4114159d4d04e198926ba7d1d095b92a319e6 (patch) | |
tree | baa1dfa10b318379ab9501b39190d97b14491d7b /mcs/class/Mono.Cairo | |
parent | befd6170580b19664f915c619e27fe633ebcc004 (diff) |
Mono.Cairo: Re-order a few native methods and update API index URL
Diffstat (limited to 'mcs/class/Mono.Cairo')
-rw-r--r-- | mcs/class/Mono.Cairo/Mono.Cairo/NativeMethods.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mcs/class/Mono.Cairo/Mono.Cairo/NativeMethods.cs b/mcs/class/Mono.Cairo/Mono.Cairo/NativeMethods.cs index fabb4b4c923..67e2051573d 100644 --- a/mcs/class/Mono.Cairo/Mono.Cairo/NativeMethods.cs +++ b/mcs/class/Mono.Cairo/Mono.Cairo/NativeMethods.cs @@ -36,8 +36,8 @@ using System.Runtime.InteropServices; namespace Cairo { - // sort these so it is easier to find what is missing - // http://www.cairographics.org/manual/ix01.html + // sort the functions like in the following page so it is easier to find what is missing + // http://cairographics.org/manual/index-all.html internal static class NativeMethods { @@ -87,9 +87,6 @@ namespace Cairo internal static extern IntPtr cairo_create (IntPtr target); [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] - internal static extern uint cairo_get_reference_count (IntPtr surface); - - [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] internal static extern void cairo_curve_to (IntPtr cr, double x1, double y1, double x2, double y2, double x3, double y3); [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] @@ -241,6 +238,9 @@ namespace Cairo internal static extern Operator cairo_get_operator (IntPtr cr); [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] + internal static extern uint cairo_get_reference_count (IntPtr surface); + + [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] internal static extern IntPtr cairo_get_source (IntPtr cr); [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] @@ -293,9 +293,6 @@ namespace Cairo internal static extern int cairo_image_surface_get_width (IntPtr surface); [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] - internal static extern uint cairo_surface_get_reference_count (IntPtr surface); - - [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] [return: MarshalAs (UnmanagedType.U1)] internal static extern bool cairo_in_fill (IntPtr cr, double x, double y); @@ -668,6 +665,9 @@ namespace Cairo internal static extern void cairo_surface_get_font_options (IntPtr surface, IntPtr FontOptions); [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] + internal static extern uint cairo_surface_get_reference_count (IntPtr surface); + + [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] internal static extern SurfaceType cairo_surface_get_type (IntPtr surface); [DllImport (cairo, CallingConvention=CallingConvention.Cdecl)] |