From f60169c81f20c1b5243c45d33b685955eebb6a1f Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Sat, 5 Oct 2013 10:51:11 -0700 Subject: [PATCH] vapi: Remove trailing whitespace. --- vapi/bzlib.vapi | 4 +- vapi/cairo.vapi | 122 +++--- vapi/curses.vapi | 6 +- vapi/enchant.vapi | 10 +- vapi/fuse.vapi | 2 +- vapi/glib-2.0.vapi | 112 ++--- vapi/gmodule-2.0.vapi | 4 +- vapi/gobject-2.0.vapi | 2 +- vapi/gsl.vapi | 946 +++++++++++++++++++++--------------------- vapi/gtkmozembed.vapi | 2 +- vapi/libdaemon.vapi | 2 +- vapi/libesmtp.vapi | 2 +- vapi/libftdi.vapi | 20 +- vapi/libosso.vapi | 4 +- vapi/mysql.vapi | 4 +- vapi/sdl-gfx.vapi | 12 +- vapi/sdl-mixer.vapi | 2 +- vapi/sdl-ttf.vapi | 2 +- vapi/sdl.vapi | 60 +-- vapi/v4l2.vapi | 228 +++++----- vapi/x11.vapi | 4 +- 21 files changed, 775 insertions(+), 775 deletions(-) diff --git a/vapi/bzlib.vapi b/vapi/bzlib.vapi index 726b6cc83..f626cea60 100644 --- a/vapi/bzlib.vapi +++ b/vapi/bzlib.vapi @@ -28,7 +28,7 @@ namespace BZLib { FLUSH, FINISH } - + [CCode (cname = "int", cprefix = "BZ_")] public enum Status { OK, @@ -45,7 +45,7 @@ namespace BZLib { OUTBUFF_FULL, CONFIG_ERROR } - + [CCode (cname = "bz_stream")] public struct Stream { public string next_in; diff --git a/vapi/cairo.vapi b/vapi/cairo.vapi index 60a0af5e3..d433f4e9a 100644 --- a/vapi/cairo.vapi +++ b/vapi/cairo.vapi @@ -30,14 +30,14 @@ namespace Cairo { public Status status (); public void save (); public void restore (); - + public unowned Surface get_target (); public void push_group (); public void push_group_with_content (Content content); public Pattern pop_group (); public void pop_group_to_source (); public unowned Surface get_group_target (); - + public void set_source_rgb (double red, double green, double blue); public void set_source_rgba (double red, double green, double blue, double alpha); public void set_source (Pattern source); @@ -49,32 +49,32 @@ namespace Cairo { public void set_antialias (Antialias antialias); public Antialias get_antialias (); - + public void set_dash (double[]? dashes, double offset); public void get_dash (double[]? dashes, double[]? offset); public int get_dash_count (); public void set_fill_rule (FillRule fill_rule); public FillRule get_fill_rule (); - + public void set_line_cap (LineCap line_cap); public LineCap get_line_cap (); - + public void set_line_join (LineJoin line_join); public LineJoin get_line_join (); - + public void set_line_width (double width); public double get_line_width (); - + public void set_miter_limit (double limit); public double get_miter_limit (); - + public void set_operator (Operator op); public Operator get_operator (); - + public void set_tolerance (double tolerance); public double get_tolerance (); - + public void clip (); public void clip_preserve (); public void clip_extents (out double x1, out double y1, out double x2, out double y2); @@ -89,7 +89,7 @@ namespace Cairo { public void mask (Pattern pattern); public void mask_surface (Surface surface, double surface_x, double surface_y); - + public void paint (); public void paint_with_alpha (double alpha); @@ -100,57 +100,57 @@ namespace Cairo { public void copy_page (); public void show_page (); - + public Path copy_path (); public Path copy_path_flat (); - + public void append_path (Path path); - + public void get_current_point (out double x, out double y); public bool has_current_point (); - + public void new_path (); public void new_sub_path (); public void close_path (); - + public void arc (double xc, double yc, double radius, double angle1, double angle2); public void arc_negative (double xc, double yc, double radius, double angle1, double angle2); public void curve_to (double x1, double y1, double x2, double y2, double x3, double y3); public void line_to (double x, double y); public void move_to (double x, double y); - + public void rectangle (double x, double y, double width, double height); - + public void glyph_path (Glyph[] glyphs); public void text_path (string utf8); - + public void rel_curve_to (double dx1, double dy1, double dx2, double dy2, double dx3, double dy3); public void rel_line_to (double dx, double dy); public void rel_move_to (double dx, double dy); - + public void translate (double tx, double ty); public void scale (double sx, double sy); public void rotate (double angle); public void transform (Matrix matrix); public void identity_matrix (); - + public void user_to_device (ref double x, ref double y); public void user_to_device_distance (ref double dx, ref double dy); public void device_to_user (ref double x, ref double y); public void device_to_user_distance (ref double dx, ref double dy); - + public void select_font_face (string family, FontSlant slant, FontWeight weight); public void set_font_size (double size); public void set_font_matrix (Matrix matrix); public void get_font_matrix (out Matrix matrix); public void set_font_options (FontOptions options); public void get_font_options (out FontOptions options); - + public void show_text (string utf8); public void show_glyphs (Glyph[] glyphs); public Status show_text_glyphs (string utf8, int utf8_len, out Glyph[] glyphs, out TextCluster[] clusters, out TextClusterFlags cluster_flags); - + public unowned FontFace get_font_face (); public void font_extents (out FontExtents extents); public void set_font_face (FontFace font_face); @@ -163,7 +163,7 @@ namespace Cairo { public uint get_reference_count (); } - + [CCode (cname = "cairo_antialias_t")] public enum Antialias { DEFAULT, @@ -171,27 +171,27 @@ namespace Cairo { GRAY, SUBPIXEL } - + [CCode (cname = "cairo_fill_rule_t")] public enum FillRule { WINDING, EVEN_ODD } - + [CCode (cname = "cairo_line_cap_t")] public enum LineCap { BUTT, ROUND, SQUARE } - + [CCode (cname = "cairo_line_join_t")] public enum LineJoin { MITER, ROUND, BEVEL } - + [CCode (cname = "cairo_operator_t")] public enum Operator { CLEAR, @@ -224,7 +224,7 @@ namespace Cairo { HSL_COLOR, HSL_LUMINOSITY } - + [Compact] [CCode (free_function = "cairo_path_destroy", cname = "cairo_path_t")] public class Path { @@ -233,23 +233,23 @@ namespace Cairo { public PathData[] data; public int num_data; } - + [CCode (cname = "cairo_path_data_t")] public struct PathData { public PathDataHeader header; public PathDataPoint point; } - + public struct PathDataHeader { public PathDataType type; public int length; } - + public struct PathDataPoint { public double x; public double y; } - + [CCode (cprefix = "CAIRO_PATH_", cname = "cairo_path_data_type_t")] public enum PathDataType { MOVE_TO, @@ -257,7 +257,7 @@ namespace Cairo { CURVE_TO, CLOSE_PATH } - + [Compact] [CCode (ref_function = "cairo_pattern_reference", unref_function = "cairo_pattern_destroy", cname = "cairo_pattern_t")] public class Pattern { @@ -274,15 +274,15 @@ namespace Cairo { public Pattern.linear (double x0, double y0, double x1, double y1); [CCode (cname = "cairo_pattern_create_radial")] public Pattern.radial (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1); - + public Status status (); - + public void set_extend (Extend extend); public Extend get_extend (); - + public void set_filter (Filter filter); public Filter get_filter (); - + public void set_matrix (Matrix matrix); public void get_matrix (out Matrix matrix); @@ -290,7 +290,7 @@ namespace Cairo { public Status get_linear_points (out double x0, out double y0, out double x1, out double y1); public Status get_color_stop_rgba (int index, out double offset, out double red, out double green, out double blue, out double alpha); public Status get_surface (out unowned Surface surface); - + public PatternType get_type (); } @@ -349,7 +349,7 @@ namespace Cairo { REFLECT, PAD } - + [CCode (cname = "cairo_filter_t")] public enum Filter { FAST, @@ -410,20 +410,20 @@ namespace Cairo { double x; double y; } - + [CCode (cname = "cairo_font_slant_t")] public enum FontSlant { NORMAL, ITALIC, OBLIQUE } - + [CCode (cname = "cairo_font_weight_t")] public enum FontWeight { NORMAL, BOLD } - + [Compact] [CCode (ref_function = "cairo_font_face_reference", unref_function = "cairo_font_face_destroy", cname = "cairo_font_face_t")] public class FontFace { @@ -466,7 +466,7 @@ namespace Cairo { public void set_unicode_to_glyph_func (UserScaledFontUnicodeToGlyphFunc unicode_to_glyph_func); public UserScaledFontUnicodeToGlyphFunc get_unicode_to_glyph_func (); } - + [CCode (cname = "cairo_font_type_t")] public enum FontType { TOY, @@ -474,7 +474,7 @@ namespace Cairo { WIN32, ATSUI } - + [Compact] [CCode (ref_function = "cairo_scaled_font_reference", unref_function = "cairo_scaled_font_destroy", cname = "cairo_scaled_font_t")] public class ScaledFont { @@ -525,7 +525,7 @@ namespace Cairo { public enum TextClusterFlags { BACKWARD } - + [CCode (cname = "cairo_text_extents_t")] public struct TextExtents { public double x_bearing; @@ -535,7 +535,7 @@ namespace Cairo { public double x_advance; public double y_advance; } - + [Compact] [CCode (copy_function = "cairo_font_options_copy", free_function = "cairo_font_options_destroy", cname = "cairo_font_options_t")] public class FontOptions { @@ -554,7 +554,7 @@ namespace Cairo { public void set_hint_metrics (HintMetrics hint_metrics); public HintMetrics get_hint_metrics (); } - + [CCode (cname = "cairo_subpixel_order_t")] public enum SubpixelOrder { DEFAULT, @@ -563,7 +563,7 @@ namespace Cairo { VRGB, VBGR } - + [CCode (cname = "cairo_hint_style_t")] public enum HintStyle { DEFAULT, @@ -572,7 +572,7 @@ namespace Cairo { MEDIUM, FULL } - + [CCode (cname = "cairo_hint_metrics_t")] public enum HintMetrics { DEFAULT, @@ -589,7 +589,7 @@ namespace Cairo { XLIB, XML } - + [Compact] [CCode (ref_function = "cairo_device_reference", unref_function = "cairo_device_destroy", cname = "cairo_device_t", cheader_filename = "cairo.h")] public class Device { @@ -654,14 +654,14 @@ namespace Cairo { [CCode (cname = "cairo_win32_surface_get_image")] public Surface? win32_get_image (); } - + [CCode (cname = "cairo_content_t")] public enum Content { COLOR, ALPHA, COLOR_ALPHA } - + [CCode (cname = "cairo_surface_type_t")] public enum SurfaceType { IMAGE, @@ -676,7 +676,7 @@ namespace Cairo { DIRECTFB, SVG } - + [CCode (cname = "cairo_format_t")] public enum Format { ARGB32, @@ -687,7 +687,7 @@ namespace Cairo { public int stride_for_width (int width); } - + [Compact] [CCode (cname = "cairo_surface_t")] public class ImageSurface : Surface { @@ -707,7 +707,7 @@ namespace Cairo { [CCode (cname = "cairo_image_surface_create_from_png_stream")] public ImageSurface.from_png_stream (ReadFunc read_func); } - + [Compact] [CCode (cname = "cairo_surface_t", cheader_filename = "cairo-pdf.h")] public class PdfSurface : Surface { @@ -732,7 +732,7 @@ namespace Cairo { public delegate Status ReadFunc (uchar[] data); [CCode (instance_pos = 0, cname = "cairo_write_func_t")] public delegate Status WriteFunc (uchar[] data); - + [Compact] [CCode (cname = "cairo_surface_t", cheader_filename = "cairo-ps.h")] public class PsSurface : Surface { @@ -768,7 +768,7 @@ namespace Cairo { public SvgSurface.for_stream (WriteFunc write_func, double width_in_points, double height_in_points); public void restrict_to_version (SvgVersion version); } - + [CCode (cname = "cairo_svg_version_t", cprefix = "CAIRO_SVG_")] public enum SvgVersion { VERSION_1_1, @@ -816,7 +816,7 @@ namespace Cairo { public int get_height (); public int get_depth (); } - + [CCode (cname = "cairo_matrix_t", has_type_id = false)] public struct Matrix { [CCode (cname = "cairo_matrix_init")] @@ -913,7 +913,7 @@ namespace Cairo { public const string PNG; public const string URI; } - + public int version (); public unowned string version_string (); } diff --git a/vapi/curses.vapi b/vapi/curses.vapi index 09f1664c6..ce8b17aba 100644 --- a/vapi/curses.vapi +++ b/vapi/curses.vapi @@ -2,7 +2,7 @@ * * Copyright (c) 2007 Ed Schouten * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -11,7 +11,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * + * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -455,7 +455,7 @@ namespace Curses { SSAVE, SSUSPEND, SUNDO, SUSPEND, UNDO, MOUSE, RESIZE, EVENT, MAX } - + /* TODO: mouse + wide char support */ [CCode (cname="MEVENT")] public struct MouseEvent { diff --git a/vapi/enchant.vapi b/vapi/enchant.vapi index 0dd663778..ac0b00d47 100644 --- a/vapi/enchant.vapi +++ b/vapi/enchant.vapi @@ -9,9 +9,9 @@ namespace Enchant { [CCode (cname = "enchant_broker_init")] public Broker (); - public unowned Dict request_dict (string tag); - public unowned Dict request_pwl_dict (string pwl); - public void free_dict (Dict dict); + public unowned Dict request_dict (string tag); + public unowned Dict request_pwl_dict (string pwl); + public void free_dict (Dict dict); public int dict_exists (string tag); public void set_ordering (string tag, string ordering); public void describe (BrokerDescribeFn fn); @@ -22,8 +22,8 @@ namespace Enchant { [Compact] public class Dict { public int check (string word, long len = -1); - public unowned string[] suggest (string word, long len = -1); - public void free_string_list ([CCode (array_length = false)] string[] string_list); + public unowned string[] suggest (string word, long len = -1); + public void free_string_list ([CCode (array_length = false)] string[] string_list); public void add_to_session (string word, long len = -1); public int is_in_session (string word, long len = -1); public void store_replacement ( string mis, long mis_len, string cor, long cor_len); diff --git a/vapi/fuse.vapi b/vapi/fuse.vapi index 710e8e99a..e4984c252 100644 --- a/vapi/fuse.vapi +++ b/vapi/fuse.vapi @@ -15,7 +15,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * + * * Author: * John Carr */ diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 6a4473042..50373c97b 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -21,7 +21,7 @@ * As a special exception, if you use inline functions from this file, this * file does not by itself cause the resulting executable to be covered by * the GNU Lesser General Public License. - * + * * Author: * Jürg Billeter * Raffaele Sandrini @@ -1046,7 +1046,7 @@ public class string { public bool validate (ssize_t max_len = -1, out char* end = null); [CCode (cname = "g_utf8_normalize")] public string normalize (ssize_t len = -1, GLib.NormalizeMode mode = GLib.NormalizeMode.DEFAULT); - + [CCode (cname = "g_utf8_strup")] public string up (ssize_t len = -1); [CCode (cname = "g_utf8_strdown")] @@ -1062,7 +1062,7 @@ public class string { [CCode (cname = "g_locale_to_utf8")] public string locale_to_utf8 (ssize_t len, out size_t bytes_read, out size_t bytes_written, out GLib.Error error = null); - + [CCode (cname = "g_strchomp")] public unowned string _chomp(); public string chomp () { @@ -1094,10 +1094,10 @@ public class string { result._delimit (delimiters, new_delimiter); return result; } - + [CCode (cname = "g_str_hash")] public uint hash (); - + [Deprecated (replacement = "int.parse")] [CCode (cname = "atoi")] public int to_int (); @@ -1281,7 +1281,7 @@ namespace GLib { namespace Math { [CCode (cname = "G_E")] public const double E; - + [CCode (cname = "G_PI")] public const double PI; @@ -1497,7 +1497,7 @@ namespace GLib { public bool is_running (); public unowned MainContext get_context (); } - + namespace Priority { public const int HIGH; public const int DEFAULT; @@ -1541,7 +1541,7 @@ namespace GLib { public void invoke (owned SourceFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT); public void invoke_full (int priority, owned SourceFunc function); } - + [CCode (has_target = false)] public delegate int PollFunc (PollFD[] ufds, int timeout_); @@ -1578,18 +1578,18 @@ namespace GLib { } public delegate void ChildWatchFunc (Pid pid, int status); - + [CCode (cname = "GSource")] public class ChildWatchSource : Source { public ChildWatchSource (Pid pid); } - + namespace ChildWatch { [CCode (cname = "g_child_watch_add_full")] public static uint add (Pid pid, owned ChildWatchFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT_IDLE); public static uint add_full (int priority, Pid pid, owned ChildWatchFunc function); } - + public struct PollFD { public int fd; public IOCondition events; @@ -1669,7 +1669,7 @@ namespace GLib { public SourceCallbackUnrefFunc unref; public SourceCallbackGetFunc @get; } - + public delegate bool SourceFunc (); public errordomain ThreadError { @@ -1691,7 +1691,7 @@ namespace GLib { HIGH, URGENT } - + [Compact] #if GLIB_2_32 [CCode (ref_function = "g_thread_ref", unref_function = "g_thread_unref")] @@ -1870,7 +1870,7 @@ namespace GLib { public static void set_max_idle_time (uint interval); public static uint get_max_idle_time (); } - + /* Asynchronous Queues */ [Compact] @@ -1899,7 +1899,7 @@ namespace GLib { } /* Memory Allocation */ - + public static void* malloc (size_t n_bytes); public static void* malloc0 (size_t n_bytes); public static void* realloc (void* mem, size_t n_bytes); @@ -1907,7 +1907,7 @@ namespace GLib { public static void* try_malloc (size_t n_bytes); public static void* try_malloc0 (size_t n_bytes); public static void* try_realloc (void* mem, size_t n_bytes); - + public static void free (void* mem); public class MemVTable { @@ -2018,7 +2018,7 @@ namespace GLib { SET, END } - + [CCode (has_type_id = false)] public enum IOStatus { ERROR, @@ -2081,7 +2081,7 @@ namespace GLib { public int code; public string message; } - + /* Message Output and Debugging Functions */ [PrintfFormat] @@ -2115,7 +2115,7 @@ namespace GLib { public static void breakpoint (); /* Message Logging */ - + [CCode (cprefix = "G_LOG_", has_type_id = false)] [Flags] public enum LogLevelFlags { @@ -2138,7 +2138,7 @@ namespace GLib { [Diagnostics] [PrintfFormat] public void log (string? log_domain, LogLevelFlags log_level, string format, ...); - + [Diagnostics] [PrintfFormat] public void message (string format, ...); @@ -2189,7 +2189,7 @@ namespace GLib { public unowned string strerror (int errnum); /* Character Set Conversions */ - + public static string convert (string str, ssize_t len, string to_codeset, string from_codeset, out size_t bytes_read = null, out size_t bytes_written = null) throws ConvertError; public static bool get_charset (out unowned string charset); @@ -2220,7 +2220,7 @@ namespace GLib { } /* Base64 Encoding */ - + namespace Base64 { public static size_t encode_step (uchar[] _in, bool break_lines, char* _out, ref int state, ref int save); public static size_t encode_close (bool break_lines, char* _out, ref int state, ref int save); @@ -2321,7 +2321,7 @@ namespace GLib { [CCode (cname = "g_date_get_days_in_month")] public uchar get_days_in_month (DateYear year); [CCode (cname = "g_date_valid_month")] - public bool valid (); + public bool valid (); } public struct DateYear : ushort { @@ -2350,7 +2350,7 @@ namespace GLib { SUNDAY; [CCode (cname = "g_date_valid_weekday")] - public bool valid (); + public bool valid (); } [CCode (cprefix = "G_DATE_", has_type_id = false)] @@ -2561,7 +2561,7 @@ namespace GLib { public double next_double (); public double double_range (double begin, double end); } - + namespace Random { public static void set_seed (uint32 seed); public static bool boolean (); @@ -2572,9 +2572,9 @@ namespace GLib { public static double next_double (); public static double double_range (double begin, double end); } - + /* Miscellaneous Utility Functions */ - + namespace Environment { [CCode (cname = "g_get_application_name")] public static unowned string? get_application_name (); @@ -2941,7 +2941,7 @@ namespace GLib { public static void close_pid (Pid pid); [CCode (cname = "g_spawn_check_exit_status")] public static bool check_exit_status (int exit_status) throws GLib.Error; - + /* these macros are required to examine the exit status of a process */ [CCode (cname = "WIFEXITED", cheader_filename = "sys/wait.h")] public static bool if_exited (int status); @@ -2971,7 +2971,7 @@ namespace GLib { [CCode (cname = "signal", cheader_filename = "signal.h")] public SignalHandlerFunc @signal (ProcessSignal signum, SignalHandlerFunc handler); } - + [CCode (cname = "int", has_type_id = false, cheader_filename = "signal.h", cprefix = "SIG")] public enum ProcessSignal { HUP, @@ -2996,8 +2996,8 @@ namespace GLib { TTIN, TTOU } - - + + /* File Utilities */ public errordomain FileError { @@ -3131,7 +3131,7 @@ namespace GLib { public static int open_tmp (string tmpl, out string name_used) throws FileError; public static string read_link (string filename) throws FileError; public static int error_from_errno (int err_no); - + [CCode (cname = "g_mkstemp")] public static int mkstemp (string tmpl); [CCode (cname = "g_rename")] @@ -3144,7 +3144,7 @@ namespace GLib { public static int chmod (string filename, int mode); [CCode (cname = "g_utime")] public static int utime (string filename, UTimBuf? times = null); - + [CCode (cname = "symlink")] public static int symlink (string oldpath, string newpath); @@ -3167,7 +3167,7 @@ namespace GLib { public unowned string? read_name (); public void rewind (); } - + [CCode (cheader_filename = "glib/gstdio.h")] namespace DirUtils { [CCode (cname = "g_mkdir")] @@ -3200,7 +3200,7 @@ namespace GLib { [CCode (cname = "stdout", cheader_filename = "stdio.h")] public static FileStream stdout; - + [CCode (cname = "stderr", cheader_filename = "stdio.h")] public static FileStream stderr; @@ -3279,7 +3279,7 @@ namespace GLib { DOUBLE, INT64 } - + [Flags] [CCode (cprefix = "G_OPTION_FLAG_", has_type_id = false)] public enum OptionFlags { @@ -3291,7 +3291,7 @@ namespace GLib { OPTIONAL_ARG, NOALIAS } - + public struct OptionEntry { public unowned string long_name; public char short_name; @@ -3513,17 +3513,17 @@ namespace GLib { public void* pop (); public void* get_user_data (); } - + public delegate void MarkupParserStartElementFunc (MarkupParseContext context, string element_name, [CCode (array_length = false, array_null_terminated = true)] string[] attribute_names, [CCode (array_length = false, array_null_terminated = true)] string[] attribute_values) throws MarkupError; - + public delegate void MarkupParserEndElementFunc (MarkupParseContext context, string element_name) throws MarkupError; - + public delegate void MarkupParserTextFunc (MarkupParseContext context, string text, size_t text_len) throws MarkupError; - + public delegate void MarkupParserPassthroughFunc (MarkupParseContext context, string passthrough_text, size_t text_len) throws MarkupError; - + public delegate void MarkupParserErrorFunc (MarkupParseContext context, Error error); - + public struct MarkupParser { [CCode (delegate_target = false)] public unowned MarkupParserStartElementFunc start_element; @@ -3626,7 +3626,7 @@ namespace GLib { public void remove_key (string group_name, string key) throws KeyFileError; public void remove_comment (string group_name, string key) throws KeyFileError; } - + [CCode (cprefix = "G_KEY_FILE_", has_type_id = false)] [Flags] public enum KeyFileFlags { @@ -3848,7 +3848,7 @@ namespace GLib { public void delete_link (List link_); [ReturnsModifiedPointer ()] public void remove_all (G data); - + public uint length (); public List copy (); [ReturnsModifiedPointer ()] @@ -3868,17 +3868,17 @@ namespace GLib { public unowned List nth (uint n); public unowned G nth_data (uint n); public unowned List nth_prev (uint n); - + public unowned List find (G data); public unowned List find_custom (G data, CompareFunc func); public int position (List llink); public int index (G data); - + public G data; public List next; public unowned List prev; } - + /* Singly-Linked Lists */ [Compact] @@ -3948,7 +3948,7 @@ namespace GLib { public unowned List head; public unowned List tail; public uint length; - + public Queue (); public void clear (); @@ -4447,11 +4447,11 @@ namespace GLib { public unowned G index (uint index); public void set_size (uint length); } - + /* GTree */ - + public delegate bool TraverseFunc (K key, V value); - + [CCode (cprefix = "G_", has_type_id = false)] public enum TraverseType { IN_ORDER, @@ -4487,9 +4487,9 @@ namespace GLib { public bool remove (K key); public bool steal (K key); } - + /* Internationalization */ - + [CCode (cname = "_", cheader_filename = "glib.h,glib/gi18n-lib.h")] public static unowned string _ (string str); [CCode (cname = "Q_", cheader_filename = "glib.h,glib/gi18n-lib.h")] @@ -4512,7 +4512,7 @@ namespace GLib { public static unowned string dpgettext (string? domain, string msgctxid, size_t msgidoffset); [CCode (cname = "g_dpgettext2", cheader_filename = "glib/gi18n-lib.h")] public static unowned string dpgettext2 (string? domain, string context, string msgid); - + [CCode (cname = "int", cprefix = "LC_", cheader_filename = "locale.h", has_type_id = false)] public enum LocaleCategory { ALL, @@ -4523,7 +4523,7 @@ namespace GLib { NUMERIC, TIME } - + namespace Intl { [CCode (cname = "setlocale", cheader_filename = "locale.h")] public static unowned string? setlocale (LocaleCategory category, string? locale); diff --git a/vapi/gmodule-2.0.vapi b/vapi/gmodule-2.0.vapi index 3c5053689..54e7a00d9 100644 --- a/vapi/gmodule-2.0.vapi +++ b/vapi/gmodule-2.0.vapi @@ -23,7 +23,7 @@ [CCode (cprefix = "G", lower_case_cprefix = "g_", cheader_filename = "gmodule.h", gir_namespace = "GModule", gir_version = "2.0")] namespace GLib { /* Dynamic Loading of Modules */ - + [Compact] [CCode (free_function = "g_module_close", cheader_filename = "gmodule.h")] public class Module { @@ -36,7 +36,7 @@ namespace GLib { public void make_resident (); public static unowned string error (); } - + [CCode (cprefix = "G_MODULE_")] public enum ModuleFlags { BIND_LAZY, diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index a37ed96ef..bf5b6d79b 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -293,7 +293,7 @@ namespace GLib { public unowned ParamSpec[] list_properties (); public void install_property (uint property_id, ParamSpec pspec); } - + public struct ObjectConstructParam { } diff --git a/vapi/gsl.vapi b/vapi/gsl.vapi index 370ee2e3f..b68fd10f2 100644 --- a/vapi/gsl.vapi +++ b/vapi/gsl.vapi @@ -19,7 +19,7 @@ * Author: * Matias De la Puente */ - + namespace Gsl { /* @@ -47,7 +47,7 @@ namespace Gsl ZEPTO, YOCTO } - + [CCode (cprefix="GSL_CONST_CGS_", cheader_filename="gsl/gsl_const_cgs.h")] public enum ConstCGS { @@ -150,7 +150,7 @@ namespace Gsl STEFAN_BOLTZMANN_CONSTANT, THOMSON_CROSS_SECTION } - + [CCode (cprefix="GSL_CONST_CGSM_", cheader_filename="gsl/gsl_const_cgsm.h")] public enum ConstCGSM { @@ -465,8 +465,8 @@ namespace Gsl VACUUM_PERMEABILITY, DEBYE } - - + + /* * Error Handling */ @@ -509,7 +509,7 @@ namespace Gsl ETOLG, EOF } - + [CCode (cprefix="GSL_PREC_", cheader_filename="gsl/gsl_mode.h")] public enum Mode { @@ -522,7 +522,7 @@ namespace Gsl public delegate void ErrorHandler (string reason, string file, int line, int errno); [CCode (has_target = false)] public delegate void StreamHandler (string label, string file, int line, string reason); - + [CCode (lower_case_cprefix="gsl_", cheader_filename="gsl/gsl_errno.h")] namespace Error { @@ -531,7 +531,7 @@ namespace Gsl public static ErrorHandler set_error_handler (ErrorHandler? new_handler); public static ErrorHandler set_error_handler_off (); } - + [CCode (lower_case_cprefix="gsl_", cheader_filename="gsl/gsl_errno.h")] namespace Stream { @@ -540,8 +540,8 @@ namespace Gsl public static StreamHandler set_stream_handler (StreamHandler new_handler); public static GLib.FileStream set_stream (GLib.FileStream new_stream); } - - + + /* * Mathematical Functions */ @@ -565,14 +565,14 @@ namespace Gsl M_LNPI, M_EULER } - + /* The isnan, isinf and finite are define in the double type. The elementary functions are in GLib.Math */ [CCode (has_target = false)] public delegate double _Function (double x, void* params); [CCode (has_target = false)] public delegate void _FunctionFdf (double x, void* params, out double f, out double df); - + [SimpleType] [CCode (cname="gsl_function", cheader_filename="gsl/gsl_math.h")] public struct Function @@ -580,7 +580,7 @@ namespace Gsl public _Function function; public void* params; } - + [SimpleType] [CCode (cname="gsl_function_fdf", cheader_filename="gsl/gsl_math.h")] public struct FunctionFdf @@ -590,8 +590,8 @@ namespace Gsl public _FunctionFdf fdf; public void* params; } - - + + /* * Complex Numbers */ @@ -605,7 +605,7 @@ namespace Gsl public double imag; public static Complex rect (double x, double y); public static Complex polar (double r, double theta); - + public static double arg (Complex z); public static double abs (Complex z); public static double abs2 (Complex z); @@ -626,7 +626,7 @@ namespace Gsl public static Complex conjugate (Complex z); public static Complex inverse (Complex z); public static Complex negative (Complex z); - + public static Complex sqrt (Complex z); public static Complex sqrt_real (double x); public static Complex pow (Complex z, Complex a); @@ -635,14 +635,14 @@ namespace Gsl public static Complex log (Complex z); public static Complex log10 (Complex z); public static Complex log_b (Complex z, Complex b); - + public static Complex sin (Complex z); public static Complex cos (Complex z); public static Complex tan (Complex z); public static Complex sec (Complex z); public static Complex csc (Complex z); public static Complex cot (Complex z); - + public static Complex arcsin (Complex z); public static Complex arcsin_real (double z); public static Complex arccos (Complex z); @@ -653,14 +653,14 @@ namespace Gsl public static Complex arccsc (Complex z); public static Complex arccsc_real (double z); public static Complex arccot (Complex z); - + public static Complex sinh (Complex z); public static Complex cosh (Complex z); public static Complex tanh (Complex z); public static Complex sech (Complex z); public static Complex csch (Complex z); public static Complex coth (Complex z); - + public static Complex arcsinh (Complex z); public static Complex arccosh (Complex z); public static Complex arccosh_real (double z); @@ -670,8 +670,8 @@ namespace Gsl public static Complex arccsch (Complex z); public static Complex arccoth (Complex z); } - - + + /* * Polynomials */ @@ -682,32 +682,32 @@ namespace Gsl public static Complex complex_eval (double[] c, Complex z); [CCode (cname="gsl_complex_poly_complex_eval")] public static Complex poly_complex_eval (Complex[] c, Complex z); - + public static int dd_init ([CCode (array_length = false)] double[] dd, [CCode (array_length = false)] double[] xa, [CCode (array_length = false)] double[] ya, size_t size); public static double dd_eval ([CCode (array_length = false)] double[] dd, [CCode (array_length = false)] double[] xa, size_t size, double x); public static int dd_taylor ([CCode (array_length = false)] double[] c, double xp, [CCode (array_length = false)] double[] dd, [CCode (array_length = false)] double[] xa, size_t size, [CCode (array_length = false)] double[] w); - + public static int solve_quadratic (double a, double b, double c, out double x0, out double x1); public static int complex_solve_quadratic (double a, double b, double c, out Complex z0, out Complex z1); - + public static int solve_cubic (double a, double b, double c, out double x0, out double x1, out double x2); public static int complex_solve_cubic (double a, double b, double c, out Complex z0, out Complex z1, out Complex z2); } - + [Compact] [CCode (cname="gsl_poly_complex_workspace", cheader_filename="gsl/gsl_poly.h")] public class PolyComplexWorkspace { public size_t nc; public double* matrix; - + [CCode (cname="gsl_poly_complex_workspace_alloc")] public PolyComplexWorkspace (size_t n); [CCode (cname="gsl_poly_complex_solve")] public static int solve (double[]a, PolyComplexWorkspace w, out double z); } - - + + /* * Special Functions */ @@ -718,7 +718,7 @@ namespace Gsl public double val; public double err; } - + [SimpleType] [CCode (cname="gsl_sf_result_e10", cheader_filename="gsl/gsl_sf_result.h")] public struct ResultE10 @@ -727,7 +727,7 @@ namespace Gsl public double err; public int e10; } - + [CCode (lower_case_cprefix="gsl_sf_airy_", cheader_filename="gsl/gsl_sf_airy.h")] namespace Airy { @@ -739,7 +739,7 @@ namespace Gsl public static int Ai_scaled_e (double x, Mode mode, out Result result); public static double Bi_scaled (double x, Mode mode); public static int Bi_scaled_e (double x, Mode mode, out Result result); - + public static double Ai_deriv (double x, Mode mode); public static int Ai_deriv_e (double x, Mode mode, out Result result); public static double Bi_deriv (double x, Mode mode); @@ -748,18 +748,18 @@ namespace Gsl public static int Ai_deriv_scaled_e (double x, Mode mode, out Result result); public static double Bi_deriv_scaled (double x, Mode mode); public static int Bi_deriv_scaled_e (double x, Mode mode, out Result result); - + public static double zero_Ai (uint s); public static int zero_Ai_e (uint s, out Result result); public static double zero_Bi (uint s); public static int zero_Bi_e (uint s, out Result result); - + public static double zero_Ai_deriv (uint s); public static int zero_Ai_deriv_e (uint s, out Result result); public static double zero_Bi_deriv (uint s); public static int zero_Bi_deriv_e (uint s, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_bessel_", cheader_filename="gsl/gsl_sf_bessel.h")] namespace Bessel { @@ -770,7 +770,7 @@ namespace Gsl public static double Jn (int n, double x); public static int Jn_e (int n, double x, out Result result); public static int Jn_array (int nmin, int nmax, double x, [CCode (array_length = false)] double[] result_array); - + public static double Y0 (double x); public static int Y0_e (double x, out Result result); public static double Y1 (double x); @@ -778,7 +778,7 @@ namespace Gsl public static double Yn (int n, double x); public static int Yn_e (int n, double x, out Result result); public static int Yn_array (int nmin, int nmax, double x, [CCode (array_length = false)] double[] result_array); - + public static double I0 (double x); public static int I0_e (double x, out Result result); public static double I1 (double x); @@ -793,7 +793,7 @@ namespace Gsl public static double In_scaled (int n, double x); public static int In_scaled_e (int n, double x, out Result result); public static int In_scaled_array (int nmin, int nmax, double x, [CCode (array_length = false)] double[] result_array); - + public static double K0 (double x); public static int K0_e (double x, out Result result); public static double K1 (double x); @@ -808,7 +808,7 @@ namespace Gsl public static double Kn_scaled (int n, double x); public static int Kn_scaled_e (int n, double x, out Result result); public static int Kn_scaled_array (int nmin, int nmax, double x, [CCode (array_length = false)] double[] result_array); - + public static double j0 (double x); public static int j0_e (double x, out Result result); public static double j1 (double x); @@ -819,7 +819,7 @@ namespace Gsl public static int jl_e (int l, double x, out Result result); public static int jl_array (int lmax, double x, [CCode (array_length = false)] double[] result_array); public static int jl_steed_array (int lmax, double x, [CCode (array_length = false)] double[] jl_x_array); - + public static double y0 (double x); public static int y0_e (double x, out Result result); public static double y1 (double x); @@ -829,7 +829,7 @@ namespace Gsl public static double yl (int l, double x); public static int yl_e (int l, double x, out Result result); public static int yl_array (int lmax, double x, [CCode (array_length = false)] double[] result_array); - + public static double i0_scaled (double x); public static int i0_scaled_e (double x, out Result result); public static double i1_scaled (double x); @@ -839,7 +839,7 @@ namespace Gsl public static double il_scaled (int l, double x); public static int il_scaled_e (int l, double x, out Result result); public static int il_scaled_array (int lmax, double x, [CCode (array_length = false)] double[] result_array); - + public static double k0_scaled (double x); public static int k0_scaled_e (double x, out Result result); public static double k1_scaled (double x); @@ -849,26 +849,26 @@ namespace Gsl public static double kl_scaled (int l, double x); public static int kl_scaled_e (int l, double x, out Result result); public static int kl_scaled_array (int lmax, double x, [CCode (array_length = false)] double[] result_array); - + public static double Jnu (double nu, double x); public static int Jnu_e (double nu, double x, out Result result); public static int sequence_Jnu_e (double nu, Mode mode, size_t size, [CCode (array_length = false)] double[] v); - + public static double Ynu (double nu, double x); public static int Ynu_e (double nu, double x, out Result result); - + public static double Inu (double nu, double x); public static int Inu_e (double nu, double x, out Result result); public static double Inu_scaled (double nu, double x); public static int Inu_scaled_e (double nu, double x, out Result result); - + public static double Knu (double nu, double x); public static int Knu_e (double nu, double x, out Result result); public static double lnKnu (double nu, double x); public static int lnKnu_e (double nu, double x, out Result result); public static double Knu_scaled (double nu, double x); public static int Knu_scaled_e (double nu, double x, out Result result); - + public static double zero_J0 (uint s); public static int zero_J0_e (uint s, out Result result); public static double zero_J1 (uint s); @@ -876,14 +876,14 @@ namespace Gsl public static double zero_Jnu (double nu, uint s); public static int zero_Jnu_e (double nu, uint s, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_clausen.h")] namespace Clausen { public static double clausen (double x); public static int clausen_e (double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_coulomb.h")] namespace Hydrogenic { @@ -892,7 +892,7 @@ namespace Gsl public static double hydrogenicR (int n, int l, double z, double r); public static int hydrogenicR_e (int n, int l, double z, double r, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_coulomb_wave_", cheader_filename="gsl/gsl_sf_coulomb.h")] namespace CoulombWave { @@ -902,36 +902,36 @@ namespace Gsl public static int FGp_array (double l_min, int kmax, double eta, double x, [CCode (array_length = false)] double[] fc_array, [CCode (array_length = false)] double[] fcp_array, [CCode (array_length = false)] double[] gc_array, [CCode (array_length = false)] double[] gcp_array, out double f_exponent, out double g_exponent); public static int sphF_array (double l_min, int kmax, double eta, double x, [CCode (array_length = false)] double[] fc_array, [CCode (array_length = false)] double[] f_exponent); } - + [CCode (lower_case_cprefix="gsl_sf_coulomb_", cheader_filename="gsl/gsl_sf_coulomb.h")] namespace Coulomb { public static int CL_e (double l, double eta, out Result result); public static int CL_array (double lmin, int kmax, double eta, [CCode (array_length = false)] double[] cl); } - + [CCode (lower_case_cprefix="gsl_sf_coupling_", cheader_filename="gsl/gsl_coupling.h")] namespace Coupling { public static double 3j (int two_ja, int two_jb, int two_jc, int two_ma, int two_mb, int two_mc); public static int 3j_e (int two_ja, int two_jb, int two_jc, int two_ma, int two_mb, int two_mc, out Result result); - + public static double 6j (int two_ja, int two_jb, int two_jc, int two_jd, int two_je, int two_jf); public static int 6j_e (int two_ja, int two_jb, int two_jc, int two_jd, int two_je, int two_jf, out Result result); public static double 9j (int two_ja, int two_jb, int two_jc, int two_jd, int two_je, int two_jf, int two_jg, int two_jh, int two_ji); public static int 9j_e (int two_ja, int two_jb, int two_jc, int two_jd, int two_je, int two_jf, int two_jg, int two_jh, int two_ji, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_dawson.h")] namespace Dawson { public static double dawson (double x); public static int dawson_e (double x, out Result result); } - + [CCode (cheader_filename="gsl/gsl_sf_debye.h")] - namespace Debye + namespace Debye { [CCode (cname="gsl_sf_debye_1")] public static double D1 (double x); @@ -958,7 +958,7 @@ namespace Gsl [CCode (cname="gsl_sf_debye_6_e")] public static int D6_e (double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_dilog.h")] namespace Dilog { @@ -966,14 +966,14 @@ namespace Gsl public static int dilog_e (double x, out Result result); public static int complex_dilog_e (double r, double theta, out Result result_re, out Result result_im); } - + [CCode (lower_case_cprefix="gsl_sf_multiply_", cheader_filename="gsl/gsl_sf_elementary.h")] namespace Multiply { public static int e (double x, double y, out Result result); public static int err_e (double x, double dx, double y, double dy, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_ellint_", cheader_filename="gsl/gsl_sf_ellint.h")] namespace EllInt { @@ -983,7 +983,7 @@ namespace Gsl public static int Ecomp_e (double k, Mode mode, out Result result); public static double Pcomp (double k, double n, Mode mode); public static int Pcomp_e (double k, double n, Mode mode, out Result result); - + public static double F (double phi, double k, Mode mode); public static int F_e (double phi, double k, Mode mode, out Result result); public static double E (double phi, double k, Mode mode); @@ -992,7 +992,7 @@ namespace Gsl public static int P_e (double phi, double k, double n, Mode mode, out Result result); public static double D (double phi, double k, double n, Mode mode); public static int D_e (double phi, double k, double n, Mode mode, out Result result); - + public static double RC (double x, double y, Mode mode); public static int RC_e (double x, double y, Mode mode, out Result result); public static double RD (double x, double y, double z, Mode mode); @@ -1002,13 +1002,13 @@ namespace Gsl public static double RJ (double x, double y, double z, double p, Mode mode); public static int RJ_e (double x, double y, double z, double p, Mode mode, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_elljac_", cheader_filename="gsl/gsl_elljac.h")] namespace EllJac { public static int e (double u, double m, out double sn, out double cn, out double dn); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_erf.h")] namespace Erf { @@ -1025,7 +1025,7 @@ namespace Gsl public static double hazard (double x); public static int hazard_e (double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_exp.h")] namespace Exp { @@ -1038,7 +1038,7 @@ namespace Gsl public static int exp_err_e (double x, double dx, out Result result); public static int exp_err_e10_e (double x, double dx, out ResultE10 result); public static int exp_mul_err_e (double x, double dx, double y, double dy, out Result result); - public static int exp_mul_err_e10_e (double x, double dx, double y, double dy, out ResultE10 result); + public static int exp_mul_err_e10_e (double x, double dx, double y, double dy, out ResultE10 result); public static double expm1 (double x); public static int expm1_e (double x, out Result result); public static double exprel (double x); @@ -1048,7 +1048,7 @@ namespace Gsl public static double exprel_n (int n, double x); public static int exprel_n_e (int n, double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_expint.h")] namespace Expint { @@ -1073,7 +1073,7 @@ namespace Gsl public static double atanint (double x); public static double atanint_e (double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_fermi_dirac_", cheader_filename="gsl/gsl_sf_fermi_dirach.h")] namespace FermiDirac { @@ -1104,7 +1104,7 @@ namespace Gsl public static double inc_0 (double x, double b); public static int inc_0_e (double x, double b, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_gamma.h")] namespace GammaBeta { @@ -1118,7 +1118,7 @@ namespace Gsl public static double gammainv (double x); public static int gammainv_e (double x, out Result result); public static int lngamma_complex_e (double zr, double zi, out Result lnr, out Result arg); - + public static double fact (uint n); public static int fact_e (uint n, out Result result); public static double doublefact (uint n); @@ -1133,7 +1133,7 @@ namespace Gsl public static int lnchoose_e (uint n, uint m, out Result result); public static double taylorcoeff (int n, double x); public static int taylorcoeff_e (int n, double x, out Result result); - + public static double poch (double a, double x); public static int poch_e (double a, double x, out Result result); public static double lnpoch (double a, double x); @@ -1141,7 +1141,7 @@ namespace Gsl public static int lnpoch_sgn_e (double a, double x, out Result result, out double sgn); public static double pochrel (double a, double x); public static int pochrel_e (double a, double x, out Result result); - + public static double gamma_inc (double a, double x); public static int gamma_inc_e (double a, double x, out Result result); public static double gamma_inc_Q (double a, double x); @@ -1153,11 +1153,11 @@ namespace Gsl public static int beta_e (double a, double b, out Result result); public static double lnbeta (double a, double b); public static int lnbeta_e (double a, double b, out Result result); - + public static double beta_inc (double a, double b, double x); public static int beta_inc_e (double a, double b, double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_gegenpoly_", cheader_filename="gsl/gsl_sf_gegenbauer.h")] namespace GegenPoly { @@ -1179,7 +1179,7 @@ namespace Gsl public static double Cn_e (double lambda, double x, out Result result); public static int array (int nmax, double lambda, double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_hyperg_", cheader_filename="gsl/gsl_sf_hyperg.h")] namespace Hyperg { @@ -1206,7 +1206,7 @@ namespace Gsl public static double 2F0 (double a, double b, double x); public static int 2F0_e (double a, double b, double x, out Result result); } - + [CCode (cheader_filename="gsl/gsl_sf_laguerre.h")] namespace Laguerre { @@ -1227,7 +1227,7 @@ namespace Gsl [CCode (cname="gsl_sf_laguerre_n_e")] public static double Ln_e (int n, double a, double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_lambert_", cheader_filename="gsl/gsl_sf_lambert.h")] namespace Lambert { @@ -1236,7 +1236,7 @@ namespace Gsl public static double Wm1 (double x); public static int Wm1_e (double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_legendre_", cheader_filename="gsl/gsl_sf_legendre.h")] namespace LegendrePoly { @@ -1251,12 +1251,12 @@ namespace Gsl public static int Pl_array (int lmax, double x, [CCode (array_length = false)] double[] result_array); public static int Pl_deriv_array (int lmax, double x, [CCode (array_length = false)] double[] result_array, [CCode (array_length = false)] double[] result_deriv_array); public static double Q0 (double x); - public static int Q0_e (double x, out Result result); + public static int Q0_e (double x, out Result result); public static double Q1 (double x); - public static int Q1_e (double x, out Result result); + public static int Q1_e (double x, out Result result); public static double Ql (int l, double x); public static int Ql_e (int l, double x, out Result result); - + public static double Plm (int l, int m, double x); public static int Plm_e (int l, int m, double x, out Result result); public static int Plm_array (int lmax, int m, double x, [CCode (array_length = false)] double[] result_array); @@ -1266,7 +1266,7 @@ namespace Gsl public static int sphPlm_array (int lmax, int m, double x, [CCode (array_length = false)] double[] result_array); public static int sphPlm_deriv_array (int lmax, int m, double x, double[] result_array, [CCode (array_length = false)] double[] result_deriv_array); public static int array_size (int lmax, int m); - + [CCode (cname="gsl_sf_conicalP_half")] public static double conicalP_half (double lambda, double x); [CCode (cname="gsl_sf_conicalP_half_e")] @@ -1291,7 +1291,7 @@ namespace Gsl public static double conicalP_cyl_reg (int m, double lambda, double x); [CCode (cname="gsl_sf_conicalP_cyl_reg_e")] public static int conicalP_cyl_reg_e (int m, double lambda, double x, out Result result); - + public static double H3d_0 (double lambda, double eta); public static int H3d_0_e (double lambda, double eta, out Result result); public static double H3d_1 (double lambda, double eta); @@ -1300,7 +1300,7 @@ namespace Gsl public static int H3d_e (int l, double lambda, double eta, out Result result); public static int H3d_array (int lmax, double lambda, double eta, [CCode (array_length = false)] double[] result_array); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_log.h")] namespace Log { @@ -1314,7 +1314,7 @@ namespace Gsl public static double log_1plusx_mx (double x); public static int log_1plusx_mx_e (double x, out Result result); } - + [Compact] [CCode (cname="gsl_sf_mathieu_workspace", cprefix="gsl_sf_mathieu_", cheader_filename="gsl/gsl_sf_mathieu.h")] public class MathieuWorkspace @@ -1335,14 +1335,14 @@ namespace Gsl public Vector eval; public Matrix evec; public EigenSymmvWorkspace wmat; - + public static int a_array (int order_min, int order_max, double qq, MathieuWorkspace work, [CCode (array_length = false)] double[] result_array); public static int b_array (int order_min, int order_max, double qq, MathieuWorkspace work, [CCode (array_length = false)] double[] result_array); public static int a (int order, double qq, out Result result); public static int b (int order, double qq, out Result result); public static int a_coeff (int order, double qq, double aa, [CCode (array_length = false)] double[] coeff); public static int b_coeff (int order, double qq, double aa, [CCode (array_length = false)] double[] coeff); - + [CCode (cname="gsl_sf_mathieu_alloc")] public MathieuWorkspace (size_t nn, double qq); @@ -1350,20 +1350,20 @@ namespace Gsl public static int se (int order, double qq, double zz, out Result result); public static int ce_array (int nmin, int nmax, double qq, double zz, MathieuWorkspace work, [CCode (array_length = false)] double[] result_array); public static int se_array (int nmin, int nmax, double qq, double zz, MathieuWorkspace work, [CCode (array_length = false)] double[] result_array); - + public static int Mc (int kind, int order, double qq, double zz, out Result result); public static int Ms (int kind, int order, double qq, double zz, out Result result); public static int Mc_array (int kind, int nmin, int nmax, double qq, double zz, MathieuWorkspace work, [CCode (array_length = false)] double[] result_array); public static int Ms_array (int kind, int nmin, int nmax, double qq, double zz, MathieuWorkspace work, [CCode (array_length = false)] double[] result_array); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_pow_int.h")] namespace Pow { public static double pow_int (double x, int n); public static int pow_int_e (double x, int n, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_psi.h")] namespace Psi { @@ -1378,11 +1378,11 @@ namespace Gsl public static int psi_1_int_e (int n, out Result result); public static double psi_1 (double x); public static int psi_1_e (double x, out Result result); - + public static double psi_n (int n, double x); public static int psi_e_n (int n, double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_synchrotron.h")] namespace Synchrotron { @@ -1391,7 +1391,7 @@ namespace Gsl public static double synchrotron_2 (double x); public static double synchrotron_2_e (double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_transport.h")] namespace Transport { @@ -1404,7 +1404,7 @@ namespace Gsl public static double transport_5 (double x); public static int transport_5_e (double x, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_trig.h")] namespace Trig { @@ -1432,7 +1432,7 @@ namespace Gsl public static int sin_err_e (double x, double dx, out Result result); public static int cos_err_e (double x, double dx, out Result result); } - + [CCode (lower_case_cprefix="gsl_sf_", cheader_filename="gsl/gsl_sf_zeta.h")] namespace Zeta { @@ -1451,8 +1451,8 @@ namespace Gsl public static double eta (double s); public static int eta_e (double s, out Result result); } - - + + /* * Blocks, Vectors and Matrices */ @@ -1462,12 +1462,12 @@ namespace Gsl { public size_t size; public double* data; - + [CCode (cname="gsl_block_alloc")] public Block (size_t n); [CCode (cname="gsl_block_calloc")] public Block.with_zeros (size_t n); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -1476,19 +1476,19 @@ namespace Gsl [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); } - + [Compact] [CCode (cname="gsl_block_complex", cheader_filename="gsl/gsl_block_complex_double.h")] public class BlockComplex { public size_t size; public double* data; - + [CCode (cname="gsl_block_complex_alloc")] public BlockComplex (size_t n); [CCode (cname="gsl_block_complex_calloc")] public BlockComplex.with_zeros (size_t n); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -1497,17 +1497,17 @@ namespace Gsl [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); } - + [SimpleType] [CCode (cname="gsl_vector_view", cheader_filename="gsl/gsl_vector_double.h")] public struct VectorView { public unowned Vector vector; - + public static VectorView array (double[] v); public static VectorView array_with_stride ([CCode (array_length = false)] double[] v, size_t stride, size_t n); } - + [Compact] [CCode (cname="gsl_vector", cheader_filename="gsl/gsl_vector_double.h")] public class Vector @@ -1517,7 +1517,7 @@ namespace Gsl public double* data; public Block block; public int owner; - + [CCode (cname="gsl_vector_alloc")] public Vector (size_t n); [CCode (cname="gsl_vector_calloc")] @@ -1526,15 +1526,15 @@ namespace Gsl public Vector.from_block (Block b, size_t offset, size_t n, size_t stride); [CCode (cname="gsl_vector_alloc_from_vector")] public Vector.from_vector (Vector v, size_t offset, size_t n, size_t stride); - + public double @get (size_t i); public void @set (size_t i, double x); public double* ptr (size_t i); - + public void set_all (double x); public void set_zero (); public void set_basis (size_t i); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -1542,30 +1542,30 @@ namespace Gsl public static int fprintf (GLib.FileStream stream, Vector v, string format); [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); - + public VectorView subvector (size_t offset, size_t n); public VectorView subvector_with_stride (size_t offset, size_t stride, size_t n); - + public int memcpy (Vector src); public int swap (Vector w); - + public int swap_elements (size_t i, size_t j); public int reverse (); - + public int add (Vector b); public int sub (Vector b); public int mul (Vector b); public int div (Vector b); public int scale (double x); public int add_constant (double x); - + public double max (); public double min (); public void minmax (out double min_out, out double max_out); public size_t max_index (); public size_t min_index (); public void minmax_index (out size_t imin, out size_t imax); - + public bool isnull (); public bool ispos (); public bool isneg (); @@ -1577,11 +1577,11 @@ namespace Gsl public struct VectorComplexView { public unowned VectorComplex vector; - + public static VectorComplexView array (double[] v); public static VectorComplexView array_with_stride ([CCode (array_length = false)] double[] v, size_t stride, size_t n); } - + [Compact] [CCode (cname="gsl_vector_complex", cheader_filename="gsl/gsl_vector_complex_double.h")] public class VectorComplex @@ -1591,7 +1591,7 @@ namespace Gsl public double* data; public BlockComplex block; public int owner; - + [CCode (cname="gsl_vector_complex_alloc")] public VectorComplex (size_t n); [CCode (cname="gsl_vector_complex_calloc")] @@ -1600,15 +1600,15 @@ namespace Gsl public VectorComplex.from_block (BlockComplex b, size_t offset, size_t n, size_t stride); [CCode (cname="gsl_vector_complex_alloc_from_vector")] public VectorComplex.from_vector (VectorComplex v, size_t offset, size_t n, size_t stride); - + public Complex @get (size_t i); public void @set (size_t i, Complex x); public Complex* ptr (size_t i); - + public void set_all (Complex x); public void set_zero (); public void set_basis (size_t i); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -1616,50 +1616,50 @@ namespace Gsl public static int fprintf (GLib.FileStream stream, VectorComplex v, string format); [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); - + public VectorComplexView subvector (size_t i, size_t n); public VectorComplexView subvector_with_stride (size_t i, size_t stride, size_t n); public VectorView complex_real (); public VectorView complex_imag (); - + public int memcpy (VectorComplex src); public int swap (VectorComplex w); - + public int swap_elements (size_t i, size_t j); public int reverse (); - + public int add (VectorComplex b); public int sub (VectorComplex b); public int mul (VectorComplex b); public int div (VectorComplex b); public int scale (double x); public int add_constant (double x); - + public double max (); public double min (); public void minmax (out double min_out, out double max_out); public size_t max_index (); public size_t min_index (); public void minmax_index (out size_t imin, out size_t imax); - + public bool isnull (); public bool ispos (); public bool isneg (); public bool isnonneg (); } - + [SimpleType] [CCode (cname="gsl_matrix_view", cheader_filename="gsl/gsl_matrix_double.h")] public struct MatrixView { public unowned Matrix matrix; - + public static MatrixView array ([CCode (array_length = false)] double[] v, size_t n1, size_t n2); public static MatrixView array_with_tda ([CCode (array_length = false)] double[] v, size_t n1, size_t n2, size_t tda); public static MatrixView vector (Vector v, size_t n1, size_t n2); public static MatrixView vectr_with_tda (Vector v, size_t n1, size_t n2, size_t tda); } - + [Compact] [CCode (cname="gsl_matrix", cheader_filename="gsl/gsl_matrix_double.h")] public class Matrix @@ -1670,7 +1670,7 @@ namespace Gsl public double* data; public Block block; public int owner; - + [CCode (cname="gsl_matrix_alloc")] public Matrix (size_t n1, size_t n2); [CCode (cname="gsl_matrix_calloc")] @@ -1682,15 +1682,15 @@ namespace Gsl public Vector alloc_row_from_matrix (size_t i); public Vector alloc_col_from_matrix (size_t j); - + public double @get (size_t i, size_t j); public void @set (size_t i, size_t j, double x); public double* ptr (size_t i, size_t j); - + public void set_all (double x); public void set_zero (); public void set_identity (); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -1698,7 +1698,7 @@ namespace Gsl public static int fprintf (GLib.FileStream stream, Matrix m, string format); [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); - + public MatrixView submatrix (size_t k, size_t k2, size_t n1, size_t n2); public VectorView row (size_t i); public VectorView column (size_t j); @@ -1707,21 +1707,21 @@ namespace Gsl public VectorView diagonal (); public VectorView subdiagonal (size_t k); public VectorView superdiagonal (size_t k); - + public int memcpy (Matrix src); public int swap (Matrix m2); - + public static int get_row (Vector v, Matrix m, size_t i); public static int get_col (Vector v, Matrix m, size_t j); public int set_row (size_t i, Vector v); public int set_col (size_t j, Vector v); - + public int swap_rows (size_t i, size_t j); public int swap_columns (size_t i, size_t j); public int swap_rowcol (size_t i, size_t j); public int transpose_memcpy (Matrix src); public int transpose (); - + public int add (Matrix b); public int sub (Matrix b); public int mul_elements (Matrix b); @@ -1729,26 +1729,26 @@ namespace Gsl public int scale (double x); public int add_constant (double x); public int add_diagonal (double x); - + public double max (); public double min (); public void minmax (out double min_out, out double max_out); public void max_index (out size_t imax, out size_t jmax); public void min_index (out size_t imin, out size_t jmin); public void minmax_index (out size_t imin, out size_t jmin, out size_t imax, out size_t jmax); - + public bool isnull (); public bool ispos (); public bool isneg (); public bool isnonneg (); } - + [SimpleType] [CCode (cname="gsl_matrix_complex_view", cheader_filename="gsl/gsl_matrix_complex_double.h")] public struct MatrixComplexView { public unowned MatrixComplex matrix; - + public static MatrixComplexView array ([CCode (array_length = false)] double[] v, size_t n1, size_t n2); public static MatrixComplexView array_with_tda ([CCode (array_length = false)] double[] v, size_t n1, size_t n2, size_t tda); public static MatrixComplexView vector (VectorComplex v, size_t n1, size_t n2); @@ -1765,7 +1765,7 @@ namespace Gsl public double* data; public BlockComplex block; public int owner; - + [CCode (cname="gsl_matrix_complex_alloc")] public MatrixComplex (size_t n1, size_t n2); [CCode (cname="gsl_matrix_complex_calloc")] @@ -1776,16 +1776,16 @@ namespace Gsl public MatrixComplex.from_matrix (MatrixComplex m, size_t k1, size_t k2, size_t n1, size_t n2); public VectorComplex alloc_row_from_matrix (size_t i); - public VectorComplex alloc_col_from_matrix (size_t j); + public VectorComplex alloc_col_from_matrix (size_t j); public double @get (size_t i, size_t j); public void @set (size_t i, size_t j, double x); public double* ptr (size_t i, size_t j); - + public void set_all (double x); public void set_zero (); public void set_identity (); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -1793,7 +1793,7 @@ namespace Gsl public static int fprintf (GLib.FileStream stream, MatrixComplex m, string format); [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); - + public MatrixComplexView submatrix (size_t k, size_t k2, size_t n1, size_t n2); public VectorComplexView row (size_t i); public VectorComplexView column (size_t j); @@ -1802,21 +1802,21 @@ namespace Gsl public VectorComplexView diagonal (); public VectorComplexView subdiagonal (size_t k); public VectorComplexView superdiagonal (size_t k); - + public int memcpy (MatrixComplex src); public int swap (MatrixComplex m2); - + public static int get_row (VectorComplex v, MatrixComplex m, size_t i); public static int get_col (VectorComplex v, MatrixComplex m, size_t j); public int set_row (size_t i, VectorComplex v); public int set_col (size_t j, VectorComplex v); - + public int swap_rows (size_t i, size_t j); public int swap_columns (size_t i, size_t j); public int swap_rowcol (size_t i, size_t j); public int transpose_memcpy (MatrixComplex src); public int transpose (); - + public int add (MatrixComplex b); public int sub (MatrixComplex b); public int mul_elements (MatrixComplex b); @@ -1824,21 +1824,21 @@ namespace Gsl public int scale (double x); public int add_constant (double x); public int add_diagonal (double x); - + public double max (); public double min (); public void minmax (out double min_out, out double max_out); public void max_index (out size_t imax, out size_t jmax); public void min_index (out size_t imin, out size_t jmin); public void minmax_index (out size_t imin, out size_t jmin, out size_t imax, out size_t jmax); - + public bool isnull (); public bool ispos (); public bool isneg (); public bool isnonneg (); } - - + + /* * Permutations */ @@ -1848,27 +1848,27 @@ namespace Gsl { public size_t size; public size_t* data; - + [CCode (cname="gsl_permutation_alloc")] public Permutation (size_t n); [CCode (cname="gsl_permutation_calloc")] public Permutation.with_zeros (size_t n); - + public void init (); public int memcpy (Permutation src); - + public size_t @get (size_t i); public int swap (size_t i, size_t j); - + public int valid (); - + public void reverse (); public int inverse (Permutation p); public int next (); public int prev (); - + public int mul (Permutation pa, Permutation pb); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -1876,21 +1876,21 @@ namespace Gsl public static int fprintf (GLib.FileStream stream, Permutation p, string format); [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); - + public int linear_to_canonical (Permutation p); public int canonical_to_linear (Permutation q); public size_t inversions (); public size_t linear_cycles (); public size_t canonical_cycles (); } - + [CCode (lower_case_cprefix="gsl_", cheader_filename="gsl/gsl_permute_double.h")] namespace Permute { public static int permute (size_t* p, [CCode (array_length = false)] double[] data, size_t stride, size_t n); public static int permute_inverse (size_t* p, [CCode (array_length = false)] double[] data, size_t stride, size_t n); } - + [CCode (cheader_filename="gsl/gsl_permute_complex_double.h")] namespace PermuteComplex { @@ -1899,7 +1899,7 @@ namespace Gsl [CCode (cname="gsl_permute_complex_inverse")] public static int permute_inverse (size_t* p, [CCode (array_length = false)] double[] data, size_t stride, size_t n); } - + [CCode (cheader_filename="gsl/gsl_permute_vector_double.h")] namespace PermuteVector { @@ -1929,7 +1929,7 @@ namespace Gsl public size_t n; public size_t k; public size_t* data; - + [CCode (cname="gsl_combination_alloc")] public Combination (size_t n, size_t k); [CCode (cname="gsl_combination_calloc")] @@ -1938,14 +1938,14 @@ namespace Gsl public void init_first (); public void init_last (); public int memcpy (Combination src); - + public size_t @get (size_t i); - + public int valid (); - + public int next (); public int prev (); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -1954,8 +1954,8 @@ namespace Gsl [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); } - - + + /* * Sorting */ @@ -1971,7 +1971,7 @@ namespace Gsl public static int largest ([CCode (array_length = false)] double[] dest, size_t k, [CCode (array_length = false)] double[] src, size_t stride, size_t n); public static int largest_index ([CCode (array_length = false)] size_t[] p, size_t k, [CCode (array_length = false)] double[] src, size_t stride, size_t n); } - + [CCode (lower_case_cprefix="gsl_sort_vector_", cheader_filename="gsl/gsl_sort_vector_double.h")] namespace SortVector { @@ -1984,8 +1984,8 @@ namespace Gsl public static int largest ([CCode (array_length = false)] double[] dest, size_t k, Vector v); public static int largest_index ([CCode (array_length = false)] size_t[] p, size_t k, Vector v); } - - + + /* * Linear Algebra */ @@ -2008,7 +2008,7 @@ namespace Gsl public static double complex_LU_lndet (MatrixComplex LU); public static int LU_sgndet (Matrix LU, int signum); public static Complex complex_LU_sgndet (MatrixComplex LU, int signum); - + public static int QR_decomp (Matrix A, Vector tau); public static int QR_solve (Matrix QR, Vector tau, Vector b, Vector x); public static int QR_svx (Matrix QR, Vector tau, Vector x); @@ -2023,7 +2023,7 @@ namespace Gsl public static int QR_update (Matrix Q, Matrix R, Vector w, Vector v); public static int R_solve (Matrix R, Vector b, Vector x); public static int R_svx (Matrix R, Vector x); - + public static int QRPT_decomp (Matrix A, Vector tau, Permutation p, out int signum, Vector norm); public static int QRPT_decomp2 (Matrix A, Matrix q, Matrix r, Vector tau, Permutation p, out int signum, Vector norm); public static int QRPT_solve (Matrix QR, Vector tau, Permutation p, Vector b, Vector x); @@ -2032,39 +2032,39 @@ namespace Gsl public static int QRPT_update (Matrix Q, Matrix R, Permutation p, Vector u, Vector v); public static int QRPT_Rsolve (Matrix QR, Permutation p, Vector b, Vector x); public static int QRPT_Rsvx (Matrix QR, Permutation p, Vector x); - + public static int SV_decomp (Matrix A, Matrix V, Vector S, Vector work); public static int SV_decomp_mod (Matrix A, Matrix X, Matrix V, Vector S, Vector work); public static int SV_decomp_jacobi (Matrix A, Matrix V, Vector S); public static int SV_solve (Matrix U, Matrix V, Vector S, Vector b, Vector x); - + public static int cholesky_decomp (Matrix A); public static int complex_cholesky_decomp (MatrixComplex A); public static int cholesky_solve (Matrix cholesky, Vector b, Vector x); public static int complex_cholesky_solve (MatrixComplex cholesky, VectorComplex b, VectorComplex x); public static int cholesky_svx (Matrix cholesky, Vector x); public static int complex_cholesky_svx (MatrixComplex cholesky, VectorComplex x); - + public static int symmtd_decomp (Matrix A, Vector tau); public static int symmtd_unpack (Matrix A, Vector tau, Matrix Q, Vector diag, Vector subdiag); public static int symmtd_unpack_T (Matrix A, Vector diag, Vector subdiag); - + public static int hermtd_decomp (MatrixComplex A, VectorComplex tau); public static int hermtd_unpack (MatrixComplex A, VectorComplex tau, MatrixComplex Q, Vector diag, Vector subdiag); public static int hermtd_unpack_T (MatrixComplex A, Vector diag, Vector subdiag); - + public static int hessenberg_decomp (Matrix A, Vector tau); public static int hessenberg_unpack (Matrix H, Vector tau, Matrix U); public static int hessenberg_unpack_accum (Matrix H, Vector tau, Matrix V); public static int hessenberg_set_zero (Matrix H); - + public static int hesstri_decomp (Matrix A, Matrix B, Matrix U, Matrix V, Vector work); - + public static int bidiag_decomp (Matrix A, Vector tau_U, Vector tau_V); public static int bidiag_unpack (Matrix A, Vector tau_U, Matrix U, Vector tau_V, Matrix V, Vector diag, Vector superdiag); public static int bidiag_unpack2 (Matrix A, Vector tau_U, Vector tau_V, Matrix V); public static int bidiag_unpack_B (Matrix A, Vector diag, Vector superdiag); - + public static int householder_tansform (Vector v); public static Complex complex_householder_transform (VectorComplex V); public static int householder_hm (double tau, Vector v, Matrix A); @@ -2073,19 +2073,19 @@ namespace Gsl public static int complex_householder_mh (Complex tau, VectorComplex V, MatrixComplex A); public static int householder_hv (double tau, Vector v, Vector w); public static int complex_householder_hv (Complex tau, VectorComplex V, VectorComplex w); - + public static int HH_solve (Matrix A, Vector b, Vector x); public static int HH_svx (Matrix A, Vector x); - + public static int solve_tridiag (Vector diag, Vector e, Vector f, Vector b, Vector x); public static int solve_symm_tridiag (Vector diag, Vector e, Vector b, Vector x); public static int solve_cyc_tridiag (Vector diag, Vector e, Vector f, Vector b, Vector x); public static int solve_symm_cyc_tridiag (Vector diag, Vector e, Vector b, Vector x); - + public static int balance_matrix (Matrix A, Vector D); } - - + + /* * Eigensystems */ @@ -2095,9 +2095,9 @@ namespace Gsl VAL_ASC, VAL_DESC, ABS_ASC, - ABS_DESC + ABS_DESC } - + [Compact] [CCode (cname="gsl_eigen_symm_workspace", free_function="gsl_eigen_symm_free", cheader_filename="gsl/gsl_eigen.h")] public class EigenSymmWorkspace @@ -2105,13 +2105,13 @@ namespace Gsl public size_t size; public double* d; public double* sd; - + [CCode (cname="gsl_eigen_symm_alloc")] public EigenSymmWorkspace (size_t n); [CCode (cname="gsl_eigen_symm", instance_pos=-1)] public int init (Matrix A, Vector eval); } - + [Compact] [CCode (cname="gsl_eigen_symmv_workspace", free_function="gsl_eigen_symmv_free", cheader_filename="gsl/gsl_eigen.h")] public class EigenSymmvWorkspace @@ -2121,13 +2121,13 @@ namespace Gsl public double* sd; public double* gc; public double* gs; - + [CCode (cname="gsl_eigen_symmv_alloc")] public EigenSymmvWorkspace (size_t n); [CCode (cname="gsl_eigen_symmv", instance_pos=-1)] public int init (Matrix A, Vector eval, Matrix evec); } - + [Compact] [CCode (cname="gsl_eigen_herm_workspace", free_function="gsl_eigen_herm_free", cheader_filename="gsl/gsl_eigen.h")] public class EigenHermWorkspace @@ -2136,13 +2136,13 @@ namespace Gsl public double* d; public double* sd; public double* tau; - + [CCode (cname="gsl_eigen_herm_alloc")] public EigenHermWorkspace (size_t n); [CCode (cname="gsl_eigen_herm", instance_pos=-1)] public int init (MatrixComplex A, VectorComplex eval); } - + [Compact] [CCode (cname="gsl_eigen_hermv_workspace", free_function="gsl_eigen_hermv_free", cheader_filename="gsl/gsl_eigen.h")] public class EigenHermvWorkspace @@ -2153,13 +2153,13 @@ namespace Gsl public double* tau; public double* gc; public double* gs; - + [CCode (cname="gsl_eigen_hermv_alloc")] public EigenHermvWorkspace (size_t n); [CCode (cname="gsl_eigen_hermv", instance_pos=-1)] public int init (MatrixComplex A, VectorComplex eval, MatrixComplex evec); } - + [Compact] [CCode (cname="gsl_eigen_nonsymm_workspace", free_function="gsl_eigen_nonsymm_free", cheader_filename="gsl/gsl_eigen.h")] public class EigenNonsymmWorkspace @@ -2170,7 +2170,7 @@ namespace Gsl public Matrix Z; public int do_balance; size_t n_evals; - + [CCode (cname="gsl_eigen_nonsymm_alloc")] public EigenNonsymmWorkspace (size_t n); [CCode (cname="gsl_eigen_nonsymm_params", instance_pos=-1)] @@ -2191,7 +2191,7 @@ namespace Gsl public Vector work3; public Matrix Z; public EigenNonsymmWorkspace nonsymm_workspace_p; - + [CCode (cname="gsl_eigen_nonsymmv_alloc")] public EigenNonsymmvWorkspace (size_t n); [CCode (cname="gsl_eigen_nonsymmv", instance_pos=-1)] @@ -2206,7 +2206,7 @@ namespace Gsl { public size_t size; public EigenSymmWorkspace symm_workspace_p; - + [CCode (cname="gsl_eigen_gensymm_alloc")] public EigenGensymmWorkspace (size_t n); [CCode (cname="gsl_eigen_gensymm", instance_pos=-1)] @@ -2219,7 +2219,7 @@ namespace Gsl { public size_t size; public EigenSymmvWorkspace symmv_workspace_p; - + [CCode (cname="gsl_eigen_gensymmv_alloc")] public EigenGensymmvWorkspace (size_t n); [CCode (cname="gsl_eigen_gensymmv", instance_pos=-1)] @@ -2232,7 +2232,7 @@ namespace Gsl { public size_t size; public EigenHermWorkspace herm_workspace_p; - + [CCode (cname="gsl_eigen_genherm_alloc")] public EigenGenhermWorkspace (size_t n); [CCode (cname="gsl_eigen_genherm", instance_pos=-1)] @@ -2245,7 +2245,7 @@ namespace Gsl { public size_t size; public EigenHermvWorkspace hermv_workspace_p; - + [CCode (cname="gsl_eigen_genhermv_alloc")] public EigenGenhermvWorkspace (size_t n); [CCode (cname="gsl_eigen_genhermv", instance_pos=-1)] @@ -2273,7 +2273,7 @@ namespace Gsl public int compute_t; public Matrix Q; public Matrix Z; - + [CCode (cname="gsl_eigen_gen_alloc")] public EigenGenWorkspace (size_t n); [CCode (cname="gsl_eigen_gen_params", instance_pos=-1)] @@ -2298,7 +2298,7 @@ namespace Gsl public Matrix Q; public Matrix Z; public EigenGenWorkspace gen_workspace_p; - + [CCode (cname="gsl_eigen_genv_alloc")] public EigenGenvWorkspace (size_t n); [CCode (cname="gsl_eigen_genv", instance_pos=-1)] @@ -2306,7 +2306,7 @@ namespace Gsl [CCode (cname="gsl_eigen_genv_QZ", instance_pos=-1)] public int init_QZ (Matrix A, Matrix B, VectorComplex alpha, Vector beta, MatrixComplex evec, Matrix Q, Matrix Z); } - + [CCode (lower_case_cprefix="gsl_eigen_", cheader_filename="gsl/gsl_eigen.h")] namespace EigenSort { @@ -2317,8 +2317,8 @@ namespace Gsl public static int genhermv_sort (Vector eval, MatrixComplex evec, EigenSortType sort_type); public static int genv_sort (VectorComplex alpha, Vector beta, MatrixComplex evec, EigenSortType sort_type); } - - + + /* * Fast Fourier Transforms (FFTs) */ @@ -2328,7 +2328,7 @@ namespace Gsl forward = -1, backward = 1 } - + [Compact] [CCode (cname="gsl_fft_complex_wavetable", cheader_filename="gsl/gsl_fft_complex.h")] public class FFTComplexWavetable @@ -2338,23 +2338,23 @@ namespace Gsl public size_t factor[64]; public Complex twiddle[64]; public Complex trig; - + [CCode (cname="gsl_fft_complex_wavetable_alloc")] public FFTComplexWavetable (size_t n); public int memcpy (FFTComplexWavetable src); } - + [Compact] [CCode (cname="gsl_fft_complex_workspace", cheader_filename="gsl/gsl_fft_complex.h")] public class FFTComplexWorkspace { size_t n; double *scratch; - + [CCode (cname="gsl_fft_complex_workspace_alloc")] public FFTComplexWorkspace (size_t n); } - + [Compact] [CCode (lower_case_cprefix="gsl_fft_complex_", cheader_filename="gsl/gsl_fft_complex.h")] namespace FFTComplex @@ -2367,13 +2367,13 @@ namespace Gsl public static int radix2_dif_transform ([CCode (array_length = false)] double[] data, size_t stride, size_t n, FFTDirection sign); public static int radix2_dif_backward ([CCode (array_length = false)] double[] data, size_t stride, size_t n); public static int radix2_dif_inverse ([CCode (array_length = false)] double[] data, size_t stride, size_t n); - + public static int forward ([CCode (array_length = false)] double[] data, size_t stride, size_t n, FFTComplexWavetable wavetable, FFTComplexWorkspace work); public static int transform ([CCode (array_length = false)] double[] data, size_t stride, size_t n, FFTComplexWavetable wavetable, FFTComplexWorkspace work, FFTDirection sign); public static int backward ([CCode (array_length = false)] double[] data, size_t stride, size_t n, FFTComplexWavetable wavetable, FFTComplexWorkspace work); public static int inverse ([CCode (array_length = false)] double[] data, size_t stride, size_t n, FFTComplexWavetable wavetable, FFTComplexWorkspace work); } - + [Compact] [CCode (cname="gsl_fft_real_wavetable", cheader_filename="gsl/gsl_fft_real.h")] public class FFTRealWavetable @@ -2383,22 +2383,22 @@ namespace Gsl public size_t factor[64]; public Complex twiddle[64]; public Complex trig; - + [CCode (cname="gsl_fft_real_wavetable_alloc")] public FFTRealWavetable (size_t n); } - + [Compact] [CCode (cname="gsl_fft_real_workspace", cheader_filename="gsl/gsl_fft_real.h")] public class FFTRealWorkspace { size_t n; double *scratch; - + [CCode (cname="gsl_fft_real_workspace_alloc")] public FFTRealWorkspace (size_t n); } - + [Compact] [CCode (lower_case_cprefix="gsl_fft_real_", cheader_filename="gsl/gsl_fft_real.h")] namespace FFTReal @@ -2407,7 +2407,7 @@ namespace Gsl public static int transform ([CCode (array_length = false)] double[] data, size_t stride, size_t n, FFTRealWavetable wavetable, FFTRealWorkspace work); public static int unpack ([CCode (array_length = false)] double[] real_coefficient, [CCode (array_length = false)] double[] complex_coeficient, size_t stride, size_t n); } - + [Compact] [CCode (cname="gsl_fft_halfcomplex_wavetable", cheader_filename="gsl/gsl_fft_halfcomplex.h")] public class FFTHalfcomplexWavetable @@ -2417,11 +2417,11 @@ namespace Gsl public size_t factor[64]; public Complex twiddle[64]; public Complex trig; - + [CCode (cname="gsl_fft_halfcomplex_wavetable_alloc")] public FFTHalfcomplexWavetable (size_t n); } - + [CCode (lower_case_cprefix="gsl_fft_halfcomplex_", cheader_filename="gsl/gsl_fft_halfcomplex.h")] namespace FFTHalfcomplex { @@ -2434,8 +2434,8 @@ namespace Gsl public static int unpack ([CCode (array_length = false)] double[] halfcomplex_coefficient, [CCode (array_length = false)] double[] complex_coefficient, size_t stride, size_t n); public static int radix2_unpack ([CCode (array_length = false)] double[] halfcomplex_coefficient, [CCode (array_length = false)] double[] complex_coefficient, size_t stride, size_t n); } - - + + /* * Numerical Integration */ @@ -2445,7 +2445,7 @@ namespace Gsl COSINE, SINE } - + [CCode (cprefix="GSL_INTEG_", cheader_filename="gsl/gsl_integration.h")] public enum GaussRules { @@ -2456,7 +2456,7 @@ namespace Gsl GAUSS51, GAUSS61 } - + [Compact] [CCode (cname="gsl_integration_workspace", cheader_filename="gsl/gsl_integration.h")] public class IntegrationWorkspace @@ -2472,11 +2472,11 @@ namespace Gsl public double* elist; public size_t* order; public size_t* level; - + [CCode (cname="gsl_integration_workspace_alloc")] public IntegrationWorkspace (size_t n); } - + [Compact] [CCode (cname="gsl_integration_qaws_table", cheader_filaname="gsl/gsl_integration.h")] public class IntegrationQAWSTable @@ -2489,12 +2489,12 @@ namespace Gsl public double rj[25]; public double rg[25]; public double rh[25]; - + [CCode (cname="gsl_integration_qaws_table_alloc")] public IntegrationQAWSTable (double alpha, double beta, int mu, int nu); public int @set (double alpha, double beta, int mu, int nu); } - + [Compact] [CCode (cname="gsl_integration_qawo_table", unref="gsl_integration_qawo_table_free", cheader_filename="gsl/gsl_integration.h")] public class IntegrationQAWOTable @@ -2505,13 +2505,13 @@ namespace Gsl public double par; public QAWO sine; public double* chebmo; - + [CCode (cname="gsl_integration_qawo_table_alloc")] public IntegrationQAWOTable (double omega, double L, QAWO sine, size_t n); public int @set (double omega, double L, QAWO sine); public int set_length (double L); } - + [CCode (cname="gsl_integration", cheader_filename="gsl/gsl_integration.h")] namespace Integration { @@ -2522,7 +2522,7 @@ namespace Gsl public static void qk51 (Function* f, double a, double b, out double result, out double abserr, out double resabs, out double resasc); public static void qk61 (Function* f, double a, double b, out double result, out double abserr, out double resabs, out double resasc); public static void qcheb (Function* f, double a, double b, out double cheb12, out double cheb24); - + public static void qk (int n, [CCode (array_length = false)] double[] xgk, [CCode (array_length = false)] double[] wg, [CCode (array_length = false)] double[] wgk, [CCode (array_length = false)] double[] fv1, [CCode (array_length = false)] double[] fv2, Function* f, double a, double b, out double result, out double abserr, out double resabs, double resasc); public static int qng (Function* f, double a, double b, double epsabs, double epsrel, out double result, out double abserr, out size_t neval); public static int qag (Function* f, double a, double b, double epsabs, double epsrel, size_t limit, int key, IntegrationWorkspace workspace, out double result, out double abserr); @@ -2536,8 +2536,8 @@ namespace Gsl public static int qawo (Function* f, double a, double epsabs, double epsrel, size_t limit, IntegrationWorkspace workspace, IntegrationQAWOTable wf, out double result, out double abserr); public static int qawf (Function* f, double a, double epsabs, size_t limit, IntegrationWorkspace workspace, IntegrationWorkspace cycle_workspace, IntegrationQAWOTable wf, out double result, out double abserr); } - - + + /* * Random Number Generation */ @@ -2560,7 +2560,7 @@ namespace Gsl public RNGGetState @get; public RNGGetDouble get_double; } - + [CCode (lower_case_cprefix="gsl_rng_", cheader_filename="gsl/gsl_rng.h")] namespace RNGTypes { @@ -2636,7 +2636,7 @@ namespace Gsl { public RNGType* type; public void* state; - + [CCode (cname="gsl_rng_alloc")] public RNG (RNGType* T); public void @set (ulong s); @@ -2651,93 +2651,93 @@ namespace Gsl public static RNGType* env_setup (); public int memcpy (RNG src); public RNG clone (); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] public int fread (GLib.FileStream stream); - + public void print_state (); } - + [CCode (lower_case_cprefix="gsl_cdf_", cheader_filename="gsl/gsl_cdf.h")] namespace CDF { public static double ugaussian_P (double x); public static double ugaussian_Q (double x); - + public static double ugaussian_Pinv (double P); public static double ugaussian_Qinv (double Q); - + public static double gaussian_P (double x, double sigma); public static double gaussian_Q (double x, double sigma); - + public static double gaussian_Pinv (double P, double sigma); public static double gaussian_Qinv (double Q, double sigma); - + public static double gamma_P (double x, double a, double b); public static double gamma_Q (double x, double a, double b); - + public static double gamma_Pinv (double P, double a, double b); public static double gamma_Qinv (double Q, double a, double b); - + public static double cauchy_P (double x, double a); public static double cauchy_Q (double x, double a); - + public static double cauchy_Pinv (double P, double a); public static double cauchy_Qinv (double Q, double a); public static double laplace_P (double x, double a); public static double laplace_Q (double x, double a); - + public static double laplace_Pinv (double P, double a); public static double laplace_Qinv (double Q, double a); - + public static double rayleigh_P (double x, double sigma); public static double rayleigh_Q (double x, double sigma); - + public static double rayleigh_Pinv (double P, double sigma); public static double rayleigh_Qinv (double Q, double sigma); - + public static double chisq_P (double x, double nu); public static double chisq_Q (double x, double nu); - + public static double chisq_Pinv (double P, double nu); public static double chisq_Qinv (double Q, double nu); - + public static double exponential_P (double x, double mu); public static double exponential_Q (double x, double mu); - + public static double exponential_Pinv (double P, double mu); public static double exponential_Qinv (double Q, double mu); - + public static double exppow_P (double x, double a, double b); public static double exppow_Q (double x, double a, double b); - + public static double tdist_P (double x, double nu); public static double tdist_Q (double x, double nu); - + public static double tdist_Pinv (double P, double nu); public static double tdist_Qinv (double Q, double nu); - + public static double fdist_P (double x, double nu1, double nu2); public static double fdist_Q (double x, double nu1, double nu2); - + public static double fdist_Pinv (double P, double nu1, double nu2); public static double fdist_Qinv (double Q, double nu1, double nu2); - + public static double beta_P (double x, double a, double b); public static double beta_Q (double x, double a, double b); - + public static double beta_Pinv (double P, double a, double b); public static double beta_Qinv (double Q, double a, double b); - + public static double flat_P (double x, double a, double b); public static double flat_Q (double x, double a, double b); - + public static double flat_Pinv (double P, double a, double b); public static double flat_Qinv (double Q, double a, double b); - + public static double lognormal_P (double x, double zeta, double sigma); public static double lognormal_Q (double x, double zeta, double sigma); @@ -2782,7 +2782,7 @@ namespace Gsl public static double geometric_P (uint k, double p); public static double geometric_Q (uint k, double p); - + public static double negative_binomial_P (uint k, double p, double n); public static double negative_binomial_Q (uint k, double p, double n); @@ -2792,8 +2792,8 @@ namespace Gsl public static double hypergeometric_P (uint k, uint n1, uint n2, uint t); public static double hypergeometric_Q (uint k, uint n1, uint n2, uint t); } - - + + /* * Quasi-Random Sequences */ @@ -2803,7 +2803,7 @@ namespace Gsl public delegate int QRNGInitState (void* state, uint dimension); [CCode (has_target = false)] public delegate int QRNGGetState2 (void* state, uint dimension, out double x); - + [SimpleType] [CCode (cname="gsl_qrng_type", cheader_filename="gsl/gsl_qrng.h")] public struct QRNGType @@ -2823,7 +2823,7 @@ namespace Gsl public static QRNGType* halton; public static QRNGType* reversehalton; } - + [Compact] [CCode (cname="gsl_qrng", cheader_filename="gsl/gsl_qrng.h")] public class QRNG @@ -2832,7 +2832,7 @@ namespace Gsl public uint dimension; size_t state_size; void* state; - + [CCode (cname="gsl_qrng_alloc")] public QRNG (QRNGType* T, uint d); public void init (); @@ -2842,8 +2842,8 @@ namespace Gsl public size_t size (); public int @get ([CCode (array_length = false)] double[] x); } - - + + /* * Random Number Distributions */ @@ -2852,10 +2852,10 @@ namespace Gsl { public static uint bernoulli (RNG r, double p); public static double bernoulli_pdf (uint k, double p); - + public static double beta (RNG r, double a, double b); public static double beta_pdf (double x, double a, double b); - + public static uint binomial (RNG r, double p, uint n); public static uint binomial_knuth (RNG r, double p, uint n); public static uint binomial_tpe (RNG r, double p, uint n); @@ -2866,114 +2866,114 @@ namespace Gsl public static double exppow (RNG r, double a, double b); public static double exppow_pdf (double x, double a, double b); - + public static double cauchy (RNG r, double a); public static double cauchy_pdf (double x, double a); - + public static double chisq (RNG r, double nu); public static double chisq_pdf (double x, double nu); - + public static void dirichlet (RNG r, size_t K, out double alpha, out double theta); public static double dirichlet_pdf (size_t K, out double alpha, out double theta); public static double dirichlet_lnpdf (size_t K, out double alpha, out double theta); - + public static double erlang (RNG r, double a, double n); public static double erlang_pdf (double x, double a, double n); - + public static double fdist (RNG r, double nu1, double nu2); public static double fdist_pdf (double x, double nu1, double nu2); - + public static double flat (RNG r, double a, double b); public static double flat_pdf (double x, double a, double b); - + public static double gamma (RNG r, double a, double b); public static double gamma_int (RNG r, uint a); public static double gamma_pdf (double x, double a, double b); public static double gamma_mt (RNG r, double a, double b); public static double gamma_knuth (RNG r, double a, double b); - + public static double gaussian (RNG r, double sigma); public static double gaussian_ratio_method (RNG r, double sigma); public static double gaussian_ziggurat (RNG r, double sigma); public static double gaussian_pdf (double x, double sigma); - + public static double ugaussian (RNG r); public static double ugaussian_ratio_method (RNG r); public static double ugaussian_pdf (double x); - + public static double gaussian_tail (RNG r, double a, double sigma); public static double gaussian_tail_pdf (double x, double a, double sigma); - + public static double ugaussian_tail (RNG r, double a); public static double ugaussian_tail_pdf (double x, double a); - + public static void bivariate_gaussian (RNG r, double sigma_x, double sigma_y, double rho, out double x, out double y); public static double bivariate_gaussian_pdf (double x, double y, double sigma_x, double sigma_y, double rho); - + public static double landau (RNG r); public static double landau_pdf (double x); - + public static uint geometric (RNG r, double p); public static double geometric_pdf (uint k, double p); - + public static uint hypergeometric (RNG r, uint n1, uint n2, uint t); public static double hypergeometric_pdf (uint k, uint n1, uint n2, uint t); - + public static double gumbel1 (RNG r, double a, double b); public static double gumbel1_pdf (double x, double a, double b); - + public static double gumbel2 (RNG r, double a, double b); public static double gumbel2_pdf (double x, double a, double b); - + public static double logistic (RNG r, double a); public static double logistic_pdf (double x, double a); - + public static double lognormal (RNG r, double zeta, double sigma); public static double lognormal_pdf (double x, double zeta, double sigma); - + public static uint logarithmic (RNG r, double p); public static double logarithmic_pdf (uint k, double p); - + public static void multinomial (RNG r, size_t K, uint N, [CCode (array_length = false)] double[] p, [CCode (array_length = false)] uint[] n); public static double multinomial_pdf (size_t K, [CCode (array_length = false)] double[] p, [CCode (array_length = false)] uint[] n); public static double multinomial_lnpdf (size_t K, [CCode (array_length = false)] double[] p, [CCode (array_length = false)] uint[] n); - + public static uint negative_binomial (RNG r, double p, double n); public static double negative_binomial_pdf (uint k, double p, double n); - + public static uint pascal (RNG r, double p, uint n); public static double pascal_pdf (uint k, double p, uint n); - + public static double pareto (RNG r, double a, double b); public static double pareto_pdf (double x, double a, double b); - + public static uint poisson (RNG r, double mu); public static void poisson_array (RNG r, size_t n, [CCode (array_length = false)] uint[] array, double mu); public static double poisson_pdf (uint k, double mu); - + public static double rayleigh (RNG r, double sigma); public static double rayleigh_pdf (double x, double sigma); - + public static double rayleigh_tail (RNG r, double a, double sigma); public static double rayleigh_tail_pdf (double x, double a, double sigma); - + public static double tdist (RNG r, double nu); public static double tdist_pdf (double x, double nu); - + public static double laplace (RNG r, double a); public static double laplace_pdf (double x, double a); - + public static double levy (RNG r, double c, double alpha); public static double levy_skew (RNG r, double c, double alpha, double beta); - + public static double weibull (RNG r, double a, double b); public static double weibull_pdf (double x, double a, double b); - + public static void dir_2d (RNG r, out double x, out double y); public static void dir_2d_trig_method (RNG r, out double x, out double y); public static void dir_3d (RNG r, out double x, out double y, out double z); public static void dir_nd (RNG r, size_t n, out double x); - + public static void shuffle (RNG r, void* b, size_t nmembm, size_t size); public static int choose (RNG r, void* dest, size_t k, void* src, size_t n, size_t size); public static void sample (RNG r, void* dest, size_t k, void* src, size_t n, size_t size); @@ -2986,16 +2986,16 @@ namespace Gsl public size_t K; public size_t* A; public double* F; - + [CCode (cname="gsl_ran_discrete_preproc")] public RanDiscrete (size_t K, double* P); [CCode (cname="gsl_ran_discrete")] public size_t discrete (RNG g); [CCode (instance_pos=-1)] - public double pdf (size_t k); + public double pdf (size_t k); } - - + + /* * Statistics */ @@ -3022,7 +3022,7 @@ namespace Gsl public static double covariance ([CCode (array_length = false)] double[] data1, size_t stride1, [CCode (array_length = false)] double[] data2, size_t stride2, size_t n); public static double covariance_m ([CCode (array_length = false)] double[] data1, size_t stride1, [CCode (array_length = false)] double[] data2, size_t stride2, size_t n, double mean1, double mean2); public static double correlation ([CCode (array_length = false)] double[] data1, size_t stride1, [CCode (array_length = false)] double[] data2, size_t stride2, size_t n); - + public static double wmean ([CCode (array_length = false)] double[] w, size_t wstride, [CCode (array_length = false)] double[] data, size_t stride, size_t n); public static double wvariance ([CCode (array_length = false)] double[] w, size_t wstride, [CCode (array_length = false)] double[] data, size_t stride, size_t n); public static double wvariance_m ([CCode (array_length = false)] double[] w, size_t wstride, [CCode (array_length = false)] double[] data, size_t stride, size_t n, double wmean); @@ -3038,19 +3038,19 @@ namespace Gsl public static double wskew_m_sd ([CCode (array_length = false)] double[] w, size_t wstride, [CCode (array_length = false)] double[] data, size_t stride, size_t n, double wmean, double wsd); public static double wkurtosis ([CCode (array_length = false)] double[] w, size_t wstride, [CCode (array_length = false)] double[] data, size_t stride, size_t n); public static double wkurtosis_m_sd ([CCode (array_length = false)] double[] w, size_t wstride, [CCode (array_length = false)] double[] data, size_t stride, size_t n, double wmean, double wsd); - + public static double max ([CCode (array_length = false)] double[] data, size_t stride, size_t n); public static double min ([CCode (array_length = false)] double[] data, size_t stride, size_t n); public static void minmax (out double min, out double max, [CCode (array_length = false)] double[] data, size_t stride, size_t n); public static size_t max_index ([CCode (array_length = false)] double[] data, size_t stride, size_t n); public static size_t min_index ([CCode (array_length = false)] double[] data, size_t stride, size_t n); public static void minmax_index (out size_t min, out size_t max, [CCode (array_length = false)] double[] data, size_t stride, size_t n); - + public static double median_from_sorted_data ([CCode (array_length = false)] double[] sorted_data, size_t stride, size_t n); public static double quantile_from_sorted_data ([CCode (array_length = false)] double[] sorted_data, size_t stride, size_t n, double f); } - - + + /* * Histograms */ @@ -3061,7 +3061,7 @@ namespace Gsl public size_t n; public double* range; public double* bin; - + [CCode (cname="gsl_histogram_alloc")] public Histogram (size_t n); [CCode (cname="gsl_histogram_calloc")] @@ -3070,7 +3070,7 @@ namespace Gsl public Histogram.uniform (size_t n, double xmin, double xmax); [CCode (cname="gsl_histogram_calloc_range")] public Histogram.with_range (size_t n, [CCode (array_length = false)] double[] range); - + public int increment (double x); public int accumulate (double x, double weight); public int find (double x, out size_t i); @@ -3087,12 +3087,12 @@ namespace Gsl public int memcpy (Histogram source); public Histogram clone(); - + public double max_val (); public size_t max_bin (); public double min_val (); public size_t min_bin (); - + public int equal_bins_p (Histogram h2); public int add (Histogram h2); public int sub (Histogram h2); @@ -3113,7 +3113,7 @@ namespace Gsl [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); } - + [Compact] [CCode (cname="gsl_histogram_pdf", cheader_filename="gsl/gsl_histogram.h")] public class HistogramPDF @@ -3121,13 +3121,13 @@ namespace Gsl public size_t n; public double* range; public double* sum ; - + [CCode (cname="gsl_histogram_pdf_alloc")] public HistogramPDF (size_t n); public int init (Histogram h); public double sample (double r); } - + [Compact] [CCode (cname="gsl_histogram2d", cheader_filename="gsl/gsl_histogram2d.h")] public class Histogram2d @@ -3137,7 +3137,7 @@ namespace Gsl public double* xrange; public double* yrange; public double* bin; - + [CCode (cname="gsl_histogram2d_alloc")] public Histogram2d (size_t nx, size_t ny); [CCode (cname="gsl_histogram2d_calloc")] @@ -3146,38 +3146,38 @@ namespace Gsl public Histogram2d.uniform (size_t nx, size_t ny, double xmin, double xmax, double ymin, double ymax); [CCode (cname="gsl_histogram2d_calloc_range")] public Histogram2d.range (size_t nx, size_t ny, out double xrange, out double yrange); - + public int increment (double x, double y); public int accumulate (double x, double y, double weight); public int find (double x, double y, out size_t i, out size_t j); public double @get (size_t i, size_t j); public int get_xrange (size_t i, out double xlower, out double xupper); public int get_yrange (size_t j, out double ylower, out double yupper); - + public double xmax (); public double xmin (); public double ymax (); public double ymin (); - + public void reset (); - + public int set_ranges_uniform (double xmin, double xmax, double ymin, double ymax); public int set_ranges (double[] xrange, double[] yrange); - + public int memcpy (Histogram2d source); public Histogram2d clone (); - + public double max_val(); public void max_bin (out size_t i, out size_t j); public double min_val(); public void min_bin (out size_t i, out size_t j); - + public double xmean (); public double ymean (); public double xsigma (); public double ysigma (); public double cov (); - + public double sum (); public int equal_bins_p (Histogram h2) ; public int add (Histogram h2); @@ -3186,7 +3186,7 @@ namespace Gsl public int div (Histogram2d h2); public int scale (double scale); public int shift (double shift); - + [CCode (instance_pos=-1)] public int fwrite (GLib.FileStream stream); [CCode (instance_pos=-1)] @@ -3195,7 +3195,7 @@ namespace Gsl [CCode (instance_pos=-1)] public int fscanf (GLib.FileStream stream); } - + [Compact] [CCode (cname="gsl_histogram2d_pdf", cheader_filename="gsl/gsl_histogram2d.h")] public class Histogram2dPDF @@ -3205,20 +3205,20 @@ namespace Gsl public double* xrange; public double* yrange; public double* sum; - + [CCode (cname="gsl_histogram2d_pdf_alloc")] public Histogram2dPDF (size_t nx, size_t ny); public int init (Histogram2d h); public int sample (double r1, double r2, out double x, out double y); } - - + + /* * N-Tuples */ [CCode (has_target = false)] public delegate int NTupleFunc (void* ntuple_data, void* params); - + [SimpleType] [CCode (cname="gsl_ntuple_select_fn", cheader_filename="gsl/gsl_ntuple.h")] public struct NTupleSelectFn @@ -3226,7 +3226,7 @@ namespace Gsl public NTupleFunc function; public void* params; } - + [SimpleType] [CCode (cname="gsl_ntuple_value_fn", cheader_filename="gsl/gsl_ntuple.h")] public struct NTupleValueFn @@ -3242,31 +3242,31 @@ namespace Gsl public GLib.FileStream file; public void* ntrupel_data; public size_t size; - + public static NTuple open (string filename, void* ntuple_data, size_t size); public static NTuple create (string filename, void* ntuple_data, size_t size); public int write (); public int read (); public int bookdata (); - + public static int project (Histogram h, NTuple ntuple, NTupleValueFn* value_func, NTupleSelectFn* select_func); } - - + + /* * Monte Carlo Integration */ [CCode (cprefix="GSL_VEGAS_MODE_", cheader_filename="gsl/gsl_monte_vegas.h")] public enum MonteVegasMode { - IMPORTANCE, + IMPORTANCE, IMPORTANCE_ONLY, STRATIFIED } - + [CCode (has_target = false)] public delegate double MonteFunc ([CCode (array_length = false)] double[] x_array, size_t dim, void* params); - + [SimpleType] [CCode (cname="gsl_monte_function", cheader_filanema="gsl/gsl_monte.h")] public struct MonteFunction @@ -3282,13 +3282,13 @@ namespace Gsl { public size_t dim; public double* x; - + [CCode (cname="gsl_monte_plain_alloc")] public MontePlainState (size_t dim); public int init (); public static int integrate (MonteFunction* f, [CCode (array_length = false)] double[] xl, [CCode (array_length = false)] double[] xu, size_t dim, size_t calls, RNG r, MontePlainState state, out double result, out double abserr); } - + [Compact] [CCode (cname="gsl_monte_miser_state", cprefix="gsl_monte_miser_", cheader_filename="gsl/gsl_monte_miser.h")] public class MonteMiserState @@ -3316,13 +3316,13 @@ namespace Gsl public double* fsum2_r; public size_t* hits_l; public size_t* hits_r; - + [CCode (cname="gsl_monte_miser_alloc")] public MonteMiserState (size_t dim); public int init (); public static int integrate (MonteFunction* f, [CCode (array_length = false)] double[] xl, [CCode (array_length = false)] double[] xh, size_t dim, size_t calls, RNG r, MonteMiserState state, out double result, out double abserr); } - + [Compact] [CCode (cname="gsl_monte_vegas_state", cprefix="gsl_monte_vegas_", cheader_filename="gsl/gsl_monte_vegas.h")] public class MonteVegasState @@ -3363,8 +3363,8 @@ namespace Gsl public int init (); public static int integrate (MonteFunction* f, [CCode (array_length = false)] double[] xl, [CCode (array_length = false)] double[] xu, size_t dim, size_t calls, RNG r, MonteVegasState state, out double result, out double abserr); } - - + + /* * Simulated Annealing */ @@ -3380,7 +3380,7 @@ namespace Gsl public double mu_t; public double t_min; } - + [CCode (lower_case_cprefix="gsl_siman_", cheader_filename="gsl/gsl_siman.h")] namespace Siman { @@ -3398,12 +3398,12 @@ namespace Gsl public delegate void copy_construct_t (void* xp); [CCode (has_target = false)] public delegate void destroy_t (void* xp); - + public static void solve(RNG r, void *x0_p, Efunc_t Ef, step_t take_step, metric_t distance, print_t print_position, copy_t copyfunc, copy_construct_t copy_constructor, destroy_t destructor, size_t element_size, SimanParams params); public static void solve_many (RNG r, void *x0_p, Efunc_t Ef, step_t take_step, metric_t distance, print_t print_position, size_t element_size, SimanParams params); } - - + + /* * Ordinary Differential Equations */ @@ -3414,7 +3414,7 @@ namespace Gsl NIL, DEC } - + [CCode (has_target = false)] public delegate int OdeivFunction (double t, [CCode (array_length = false)] double[] y, [CCode (array_length = false)] double[] dydt, void* params); [CCode (has_target = false)] @@ -3437,7 +3437,7 @@ namespace Gsl public delegate int OdeivControlHadjust (void* state, size_t dim, uint ord, [CCode (array_length = false)] double[] y, [CCode (array_length = false)] double[] yerr, [CCode (array_length = false)] double[] yp, [CCode (array_length = false)] double[] h); [CCode (has_target = false)] public delegate void OdeivControlFree (void* state); - + [SimpleType] [CCode (cname="gsl_odeiv_system", cheader_filename="gsl/gsl_odeiv.h")] public struct OdeivSystem @@ -3447,7 +3447,7 @@ namespace Gsl public size_t dimension; public void* params; } - + [SimpleType] [CCode (cname="gsl_odeiv_step_type", cheader_filename="gsl/gsl_odeiv.h")] public struct OdeivStepType @@ -3461,7 +3461,7 @@ namespace Gsl public OdeivStepOrder order; public OdeivStepFree free; } - + [CCode (lower_case_cprefix="gsl_odeiv_step_", cheader_filename="gsl/gsl_odeiv.h")] namespace OdeivStepTypes { @@ -3485,16 +3485,16 @@ namespace Gsl public OdeivStepType* type; public size_t dimension; public void* state; - + [CCode (cname="gsl_odeiv_step_alloc")] public OdeivStep (OdeivStepType* T, size_t dim); public int reset (); public string name (); public uint order (); - + public int apply (double t, double h, [CCode (array_length = false)] double[] y, [CCode (array_length = false)] double[] yerr, [CCode (array_length = false)] double[] dydt_in, [CCode (array_length = false)] double[] dydt_out, OdeivSystem* dydt); } - + [SimpleType] [CCode (cname="gsl_odeiv_control_type", cheader_filename="gsl/gsl_odeiv.h")] public struct OdeivControlType @@ -3505,14 +3505,14 @@ namespace Gsl public OdeivControlHadjust hadjust; public OdeivControlFree free; } - + [Compact] [CCode (cname="gsl_odeiv_control", cheader_filename="gsl/gsl_odeiv.h")] public class OdeivControl { public OdeivControlType* type; public void* state; - + [CCode (cname="gsl_odeiv_control_alloc")] public OdeivControl (OdeivControlType* T); [CCode (cname="gsl_odeiv_control_standard_new")] @@ -3523,12 +3523,12 @@ namespace Gsl public OdeivControl.yp (double eps_abs, double eps_rel); [CCode (cname="gsl_odeiv_control_scaled_new")] public OdeivControl.scaled (double eps_abs, double eps_rel, double a_y, double a_dydt, double[] scale_abs); - + public int init (double eps_abs, double eps_rel, double a_y, double a_dydt); public int hadjust (OdeivStep s, out double y, out double yerr, out double dydt, out double h); public string name (); } - + [Compact] [CCode (cname="gsl_odeiv_evolve", cheader_filename="gsl/gsl_odeiv.h")] public class OdeivEvolve @@ -3541,14 +3541,14 @@ namespace Gsl public double last_step; public ulong count; public ulong failed_steps; - + [CCode (cname="gsl_odeiv_evolve_alloc")] public OdeivEvolve (size_t dim); public int apply (OdeivControl con, OdeivStep step, OdeivSystem* dydt, [CCode (array_length = false)] double[] t, double t1, [CCode (array_length = false)] double[] h, [CCode (array_length = false)] double[] y); public int reset (); } - - + + /* * Interpolation */ @@ -3566,7 +3566,7 @@ namespace Gsl public delegate int InterpEvalInteg (void* t, [CCode (array_length = false)] double[] xa, [CCode (array_length = false)] double[] ya, size_t size, InterpAccel* i, double a, double b, out double result); [CCode (has_target = false)] public delegate void InterpFree (void* t); - + [Compact] [CCode (cname="gsl_interp_accel", cheader_filname="gsl/gsl_interp.h")] public class InterpAccel @@ -3574,13 +3574,13 @@ namespace Gsl public size_t cache; public size_t miss_count; public size_t hit_count; - + [CCode (cname="gsl_interp_accel_alloc")] public InterpAccel (); public size_t find (double[] x_array, double x); public int reset (); } - + [SimpleType] [CCode (cname="gsl_interp_type", cheader_filename="gsl/gsl_interp.h")] public struct InterpType @@ -3606,7 +3606,7 @@ namespace Gsl public static InterpType* akima; public static InterpType* akima_periodic; } - + [Compact] [CCode (cname="gsl_interp", cheader_filename="gsl/gsl_interp.h")] public class Interp @@ -3616,7 +3616,7 @@ namespace Gsl public double xmax; public size_t size; public void* state; - + [CCode (cname="gsl_interp_alloc")] public Interp (InterpType T, size_t n); public int init ([CCode (array_length = false)] double[] xa, [CCode (array_length = false)] double[] ya, size_t size); @@ -3632,7 +3632,7 @@ namespace Gsl public double eval_integ ([CCode (array_length = false)] double[] xa, [CCode (array_length = false)] double[] ya, double a, double b, InterpAccel acc); public static size_t bsearch([CCode (array_length = false)] double[] x_array, double x, size_t index_lo, size_t index_hi); } - + [Compact] [CCode (cname="gsl_spline", cheader_filename="gsl/gsl_spline.h")] public class Spline @@ -3641,7 +3641,7 @@ namespace Gsl public double* x; public double* y; public size_t size; - + [CCode (cname="gsl_spline_alloc")] public Spline (InterpType* T, size_t size); public int init ([CCode (array_length = false)] double[] xa, [CCode (array_length = false)] double[] ya, size_t size); @@ -3656,7 +3656,7 @@ namespace Gsl public int eval_integ_e (double a, double b, InterpAccel acc, out double y); public double eval_integ (double a, double b, InterpAccel acc); } - + /* * Numerical Differentiation */ @@ -3667,8 +3667,8 @@ namespace Gsl public static int backward (Function* f, double x, double h, out double result, out double abserr); public static int forward (Function* f, double x, double h, out double result, out double abserr); } - - + + /* * Chebyshev Approximations */ @@ -3682,7 +3682,7 @@ namespace Gsl public double b; public size_t order_sp; public double *f; - + [CCode (cname="gsl_cheb_alloc")] public ChebSeries (size_t order); public int init (Function* func, double a, double b); @@ -3695,8 +3695,8 @@ namespace Gsl public int calc_deriv (ChebSeries cs); public int calc_integ (ChebSeries cs); } - - + + /* * Series Acceleration */ @@ -3713,11 +3713,11 @@ namespace Gsl public double* dq_num; public double* dq_den; public double* dsum; - + [CCode (cname="gsl_sum_levin_u_alloc")] public SumLevinUWorkspace (size_t n); } - + [CCode (lower_case_cprefix="gsl_sum_levin_u_", cheader_filename="gsl/gsl_sum.h")] namespace SumLevinU { @@ -3725,7 +3725,7 @@ namespace Gsl public static int minmax (double[] array, size_t min_terms, size_t max_terms, SumLevinUWorkspace w, out double sum_accel, out double abserr); public static int step (double term, size_t n, size_t nmax, SumLevinUWorkspace w, out double sum_accel); } - + [Compact] [CCode (cname="gsl_sum_levin_utrunc_workspace", free_function="gsl_sum_levin_utrunc_free", cheader_filename="gsl/gsl_sum.h")] public class SumLevinUtruncWorkspace @@ -3737,11 +3737,11 @@ namespace Gsl public double* q_num; public double* q_den; public double* dsum; - + [CCode (cname="gsl_sum_levin_utrunc_alloc")] public SumLevinUtruncWorkspace (size_t n); } - + [CCode (lower_case_cprefix="gsl_sum_levin_utrunc_", cheader_filename="gsl/gsl_sum.h")] namespace SumLevinUtrunc { @@ -3749,8 +3749,8 @@ namespace Gsl public static int minmax (double[] array, size_t min_terms, size_t max_terms, SumLevinUtruncWorkspace w, out double sum_accel, out double abserr_trunc); public static int step (double term, size_t n, SumLevinUtruncWorkspace w, out double sum_accel); } - - + + /* * Wavelet Transforms */ @@ -3759,10 +3759,10 @@ namespace Gsl forward = 1, backward = -1 } - + [CCode (has_target = false)] public delegate int WaveletInit (double** h1, double** g1, double** h2, double** g2, size_t* nc, size_t* offset, size_t member); - + [SimpleType] [CCode (cname="gsl_wavelet_type", cheader_filename="gsl/gsl_wavelet.h")] public struct WaveletType @@ -3781,18 +3781,18 @@ namespace Gsl public static WaveletType* bspline; public static WaveletType* bspline_centered; } - + [Compact] [CCode (cname="gsl_wavelet_workspace", cheader_filename="gsl/gsl_wavelet.h")] public class WaveletWorkspace { public double* scratch; public size_t n; - + [CCode (cname="gsl_wavelet_workspace_alloc")] public WaveletWorkspace (size_t n); } - + [Compact] [CCode (cname="gsl_wavelet", cheader_filename="gsl/gsl_wavelet.h,gsl/gsl_wavelet2d.h")] public class Wavelet @@ -3811,7 +3811,7 @@ namespace Gsl public int transform ([CCode (array_length = false)] double[] data, size_t stride, size_t n, WaveletDirection dir, WaveletWorkspace work); public int transform_forward ([CCode (array_length = false)] double[] data, size_t stride, size_t n, WaveletWorkspace work); public int transform_inverse ([CCode (array_length = false)] double[] data, size_t stride, size_t n, WaveletWorkspace work); - + [CCode (cname="gsl_wavelet2d_transform")] public int transform_2d ([CCode (array_length = false)] double[] data, size_t tda, size_t size1, size_t size2, WaveletDirection dir, WaveletWorkspace work); [CCode (cname="gsl_wavelet2d_transform_forward")] @@ -3837,8 +3837,8 @@ namespace Gsl [CCode (cprefix="gsl_wavelet2d_")] public int nstransform_matrix_inverse (Matrix a, WaveletWorkspace work); } - - + + /* * Discrete Hankel Transforms */ @@ -3853,7 +3853,7 @@ namespace Gsl public double* j; public double* Jjj; public double* J2; - + [CCode (cname="gsl_dht_alloc")] public DHT (size_t size); [CCode (cname="gsl_dht_new")] @@ -3863,8 +3863,8 @@ namespace Gsl public double k_sample (int n); public int apply ([CCode (array_length = false)] double[] f_in, [CCode (array_length = false)] double[] f_out); } - - + + /* * One dimensional Root-Finding */ @@ -3876,7 +3876,7 @@ namespace Gsl public delegate int RootFdfsolverSet (void* state, FunctionFdf* f, double* root); [CCode (has_target = false)] public delegate int RootFdfsolverIterate (void* state, FunctionFdf* d, double* root); - + [SimpleType] [CCode (cname="gsl_root_fsolver_type", cheader_filename="gsl/gsl_roots.h")] public struct RootFsolverType @@ -3886,7 +3886,7 @@ namespace Gsl public RootFsolverSet @set; public RootFsolverIterate iterate; } - + [Compact] [CCode (cname="gsl_root_fsolver", cheader_filename="gsl/gsl_roots.h")] public class RootFsolver @@ -3897,14 +3897,14 @@ namespace Gsl public double x_lower; public double x_upper; public void* state; - + [CCode (cname="gsl_root_fsolver_alloc")] public RootFsolver (RootFsolverType* T); public int @set (Function* f, double x_lower, double x_upper); public int iterate (); public unowned string name (); } - + [SimpleType] [CCode (cname="gsl_root_fdfsolver_type", cheader_filename="gsl/gsl_roots.h")] public struct RootFdfsolverType @@ -3914,7 +3914,7 @@ namespace Gsl public RootFdfsolverSet @set; public RootFdfsolverIterate iterate; } - + [Compact] [CCode (cname="gsl_root_fdfsolver", cheader_filename="gsl/gsl_roots.h")] public class RootFdfsolver @@ -3923,14 +3923,14 @@ namespace Gsl public FunctionFdf* fdf; public double root; public void* state; - + [CCode (cname="gsl_root_fdfsolver_alloc")] public RootFdfsolver (RootFdfsolverType* T); public int @set (FunctionFdf* fdf, double root); public int iterate (); public unowned string name (); } - + [CCode (lower_case_cprefix="gsl_root_test_", cheader_filename="gsl/gsl_roots.h")] namespace RootTest { @@ -3938,7 +3938,7 @@ namespace Gsl public static int residual (double f, double epsabs); public static int delta (double x1, double x0, double epsabs, double epsrel); } - + [CCode (lower_case_cprefix="gsl_root_fsolver_", cheader_filename="gsl/gsl_roots.h")] namespace RootFsolverTypes { @@ -3946,7 +3946,7 @@ namespace Gsl public static RootFsolverType* brent; public static RootFsolverType* falsepos; } - + [CCode (lower_case_cprefix="gsl_root_fdfsolver_", cheader_filename="gsl/gsl_roots.h")] namespace RootFdfsolverTypes { @@ -3954,8 +3954,8 @@ namespace Gsl public static RootFdfsolverType* secant; public static RootFdfsolverType* steffenson; } - - + + /* * One dimensional Minimization */ @@ -3965,7 +3965,7 @@ namespace Gsl public delegate int MinIterate (void *state, Function* f, double* x_minimum, double* f_minimum, double* x_lower, double* f_lower, double* x_upper, double* f_upper); [CCode (has_target = false)] public delegate int MinBracketingFunction (Function* f, double* x_minimum, double* f_minimum, double* x_lower, double* f_lower, double* x_upper, double* f_upper, size_t eval_max); - + [SimpleType] [CCode (cname="gsl_min_fminimizer_type", cheader_filename="gsl/gsl_min.h")] public struct MinFminimizerType @@ -3975,7 +3975,7 @@ namespace Gsl public MinSet @set; public MinIterate iterate; } - + [Compact] [CCode (cname="gsl_min_fminimizer", cheader_filename="gsl/gsl_min.h")] public class MinFminimizer @@ -3989,7 +3989,7 @@ namespace Gsl public double f_lower; public double f_upper; public void* state; - + [CCode (cname="gsl_min_fminimizer_alloc")] public MinFminimizer (MinFminimizerType* T) ; public int @set (Function* f, double x_minimum, double x_lower, double x_upper); @@ -3997,24 +3997,24 @@ namespace Gsl public int iterate (); public unowned string name (); } - + [CCode (lower_case_cprefix="gsl_min_test_", cheader_filename="gsl/gsl_min.h")] namespace MinTest { public static int interval (double x_lower, double x_upper, double epsabs, double epsrel); } - + [CCode (lower_case_cprefix="gsl_min_fminimizer_", cheader_filename="gsl/gsl_min.h")] namespace MinFminimizerTypes { public static MinFminimizerType* goldensection; public static MinFminimizerType* brent; } - + [CCode (cname="gsl_min_find_bracket", cheader_filename="gsl/gsl_min.h")] public static int find_bracket (Function* f, double* x_minimum, double* f_minimum, double* x_lower, double* f_lower, double* x_upper, double* f_upper, size_t eval_max); - - + + /* * Multidimensional Root-Finding */ @@ -4040,7 +4040,7 @@ namespace Gsl public delegate int MultirootFdfIterate (void* state, MultirootFunctionFdf* fdf, Vector x, Vector f, Matrix J, Vector dx); [CCode (has_target = false)] public delegate int MultirootFdfFree (void* state); - + [SimpleType] [CCode (cname="gsl_multiroot_function", cheader_filename="gsl/gsl_multiroots.h")] public struct MultirootFunction @@ -4052,7 +4052,7 @@ namespace Gsl [CCode (cname="gsl_multiroot_fdjacobian", cheader_filename="gsl/gsl_multiroots.h")] public static int multiroot_fdjacobian (MultirootFunction* F, Vector x, Vector f, double epsrel, Matrix jacobian); - + [SimpleType] [CCode (cname="gsl_multiroot_fsolver_type", cheader_filename="gsl/gsl_multiroots.h")] public struct MultirootFsolverType @@ -4064,7 +4064,7 @@ namespace Gsl public MultirootFIterate iterate; public MultirootFFree free; } - + [Compact] [CCode (cname="gsl_multiroot_fsolver", cheader_filename="gsl/gsl_multiroots.h")] public class MultirootFsolver @@ -4075,15 +4075,15 @@ namespace Gsl public Vector f; public Vector dx; public void* state; - + [CCode (cname="gsl_multiroot_fsolver_alloc")] - public MultirootFsolver (MultirootFsolverType* T, size_t n); + public MultirootFsolver (MultirootFsolverType* T, size_t n); public int @set (MultirootFunction* f, Vector x); public int iterate (); public unowned string name (); public Vector root (); } - + [SimpleType] [CCode (cname="gsl_multiroot_function_fdf", cheader_filename="gsl/gsl_multiroots.h")] public struct MultirootFunctionFdf @@ -4094,7 +4094,7 @@ namespace Gsl public size_t n; public void* params; } - + [SimpleType] [CCode (cname="gsl_multiroot_fdfsolver_type", cheader_filename="gsl/gsl_multiroots.h")] public struct MultirootFdfsolverType @@ -4106,7 +4106,7 @@ namespace Gsl public MultirootFdfIterate iterate; public MultirootFdfFree free; } - + [Compact] [CCode (cname="gsl_multiroot_fdfsolver", cheader_filename="gsl/gsl_multiroots.h")] public class MultirootFdfsolver @@ -4118,7 +4118,7 @@ namespace Gsl public Matrix J; public Vector dx; public void* state; - + [CCode (cname="gsl_multiroot_fdfsolver_alloc")] public MultirootFdfsolver (MultirootFdfsolverType* T, size_t n); public int @set (MultirootFunctionFdf* fdf, Vector x); @@ -4126,14 +4126,14 @@ namespace Gsl public unowned string name (); public Vector root (); } - + [CCode (lower_case_cprefix="gsl_multiroot_test_", cheader_filename="gsl/gsl_multiroots.h")] namespace MultirootTest { public static int delta (Vector dx, Vector x, double epsabs, double epsrel); public static int residual (Vector f, double epsabs); } - + [CCode (lower_case_cprefix="gsl_multiroot_fsolver_", cheader_filename="gsl/gsl_multiroots.h")] namespace MultirootFsolverTypes { @@ -4142,7 +4142,7 @@ namespace Gsl public static MultirootFsolverType* hybrid; public static MultirootFsolverType* hybrids; } - + [CCode (lower_case_cprefix="gsl_multiroot_fdfsolver_", cheader_filename="gsl/gsl_multiroots.h")] namespace MultirootFdfsolverTypes { @@ -4151,8 +4151,8 @@ namespace Gsl public static MultirootFdfsolverType* hybridj; public static MultirootFdfsolverType* hybridsj; } - - + + /* * Multidimensional Minimization */ @@ -4170,7 +4170,7 @@ namespace Gsl public delegate int MultiminFIterate (void* state, MultiminFunction* f, Vector x, double* size, double* fval); [CCode (has_target = false)] public delegate int MultiminFFree (void* state); - + [SimpleType] [CCode (cname="gsl_multimin_function", cheader_filename="gsl/gsl_multimin.h")] public struct MultiminFunction @@ -4179,7 +4179,7 @@ namespace Gsl public size_t n; public void* params; } - + [SimpleType] [CCode (cname="gsl_multimin_function_fdf", cheader_filename="gsl/gsl_multimin.h")] public struct MultiminFunctionFdf @@ -4190,10 +4190,10 @@ namespace Gsl public size_t n; public void* params; } - + [CCode (cname="gsl_multimin_diff", cheader_filename="gsl/gsl_multimin.h")] public static int multimin_diff (MultiminFunction* f, Vector x, Vector g); - + [SimpleType] [CCode (cname="gsl_multimin_fminimizer_type", cheader_filename="gsl/gsl_multimin.h")] public struct MultiminFminimizerType @@ -4205,7 +4205,7 @@ namespace Gsl public MultiminFIterate iterate; public MultiminFFree free; } - + [Compact] [CCode (cname="gsl_multimin_fminimizer", cheader_filename="gsl/gsl_multimin.h")] public class MultiminFminimizer @@ -4216,7 +4216,7 @@ namespace Gsl public Vector x; public double size; public void* state; - + [CCode (cname="gsl_multimin_fminimizer_alloc")] public MultiminFminimizer (MultiminFminimizerType* T, size_t n); public int @set (MultiminFunction* f, Vector x, Vector step_size); @@ -4224,14 +4224,14 @@ namespace Gsl public int iterate (); public double minimum (); } - + [CCode (lower_case_cprefix="gsl_multimin_test_", cheader_filename="gsl/gsl_multimin.h")] namespace MultiminTest { public static int gradient(Vector g, double epsabs); public static int size (double size, double epsabs); } - + [CCode (has_target = false)] public delegate int MultiminFdfAlloc (void *state, size_t n); [CCode (has_target = false)] @@ -4242,7 +4242,7 @@ namespace Gsl public delegate int MultiminFdfRestart (void* state); [CCode (has_target = false)] public delegate int MultiminFdfFree (void* state); - + [SimpleType] [CCode (cname="gsl_multimin_fdfminimizer_type", cheader_filename="gsl/gsl_multimin.h")] public struct MultiminFdfminimizerType @@ -4253,9 +4253,9 @@ namespace Gsl public MultiminFdfSet @set; public MultiminFdfIterate iterate; public MultiminFdfRestart restart; - public MultiminFdfFree free; + public MultiminFdfFree free; } - + [Compact] [CCode (cname="gsl_multimin_fdfminimizer", cheader_filename="gsl/gsl_multimin.h")] public class MultiminFdfminimizer @@ -4267,7 +4267,7 @@ namespace Gsl public Vector gradient; public Vector dx; public void* state; - + [CCode (cname="gsl_multimin_fdfminimizer_alloc")] public MultiminFdfminimizer (MultiminFdfminimizerType* T, size_t n); public int @set (MultiminFunctionFdf* fdf, Vector x, double step_size, double tol); @@ -4276,7 +4276,7 @@ namespace Gsl public int restart (); public double minimum (); } - + [CCode (lower_case_cprefix="gsl_multimin_fdfminimizer_", cheader_filename="gsl/gsl_multimin.h")] namespace MultiminFdfminimizerTypes { @@ -4286,14 +4286,14 @@ namespace Gsl public static MultiminFdfminimizerType* vector_bfgs; public static MultiminFdfminimizerType* vector_bfgs2; } - + [CCode (lower_case_cprefix="gsl_multimin_fminimizer_", cheader_filename="gsl/gsl_multimin.h")] namespace MultiminFminimizerTypes { public static MultiminFminimizerType* nmsimplex; } - - + + /* * Least-Squares Fitting */ @@ -4307,7 +4307,7 @@ namespace Gsl public static int wmul ([CCode (array_length = false)] double[] x, size_t xstride, [CCode (array_length = false)] double[] w, size_t wstride, [CCode (array_length = false)] double[] y, size_t ystride, size_t n, out double c1, out double cov11, out double sumsq); public static int mul_est (double x, double c1, double cov11, out double y, out double y_err); } - + [Compact] [CCode (cname="gsl_multifit_linear_workspace", free_function="gsl_multifit_linear_free", cheader_filename="gsl/gsl_multifit.h")] public class MultifitLinearWorkspace @@ -4321,11 +4321,11 @@ namespace Gsl public Vector t; public Vector xt; public Vector D; - + [CCode (cname="gsl_multifit_linear_alloc")] public MultifitLinearWorkspace (size_t n, size_t p); } - + [CCode (lower_case_cprefix="gsl_multifit_", cheader_filename="gsl/gsl_multifit.h")] namespace Multifit { @@ -4336,8 +4336,8 @@ namespace Gsl public static int linear_est (Vector x, Vector c, Matrix cov, out double y, out double y_err); public int linear_residuals (Matrix X, Vector y, Vector c, Vector r); } - - + + /* * Nonlinear Least-Squares Fitting */ @@ -4370,7 +4370,7 @@ namespace Gsl public static int gradient (Matrix J, Vector f, Vector g); public static int covar (Matrix J, double epsrel, Matrix covar); } - + [SimpleType] [CCode (cname="gsl_multifit_function", cheader_filename="gls/gsl_multifit_nlin.h")] public struct MultifitFunction @@ -4380,7 +4380,7 @@ namespace Gsl public size_t p; public void* params; } - + [SimpleType] [CCode (cname="gsl_multifit_fsolver_type", cheader_filename="gsl/gsl_multifit_nlin.h")] public struct MultifitFsolverType @@ -4392,7 +4392,7 @@ namespace Gsl public MultifitFIterate iterate; public MultifitFFree free; } - + [Compact] [CCode (cname="gsl_multifit_fsolver", cheader_filename="gsl/gsl_multifit_nlin.h")] public class MultifitFsolver @@ -4403,7 +4403,7 @@ namespace Gsl public Vector f; public Vector dx; public void* state; - + [CCode (cname="gsl_multifit_fsolver_alloc")] public MultifitFsolver (MultifitFsolverType* T, size_t n, size_t p); public int @set (MultifitFunction* f, Vector x); @@ -4411,7 +4411,7 @@ namespace Gsl public unowned string name (); public Vector position (); } - + [SimpleType] [CCode (cname="gsl_multifit_function_fdf", cheader_filename="gsl/gsl_multifit_nlin.h")] public struct MultifitFunctionFdf @@ -4423,7 +4423,7 @@ namespace Gsl public size_t p; public void* params; } - + [SimpleType] [CCode (cname="gsl_multifit_fdfsolver_type", cheader_filename="gsl/gsl_multifit_nlin.h")] public struct MultifitFdfsolverType @@ -4435,7 +4435,7 @@ namespace Gsl public MultifitFdfIterate iterate; public MultifitFdfFree free; } - + [Compact] [CCode (cname="gsl_multifit_fdfsolver", cheader_filename="gsl/gsl_multifit_nlin.h")] public class MultifitFdfsolver @@ -4447,7 +4447,7 @@ namespace Gsl public Vector J; public Vector dx; public void* state; - + [CCode (cname="gsl_multifit_fdfsolver_alloc")] public MultifitFdfsolver (MultifitFdfsolverType* T, size_t n, size_t p); public int @set (MultifitFunctionFdf* fdf, Vector x); @@ -4455,22 +4455,22 @@ namespace Gsl public unowned string name (); public Vector position (); } - + [CCode (lower_case_cprefix="gsl_multifit_test_", cheader_filename="gsl/gsl_multifit_nlin.h")] namespace MultifitTest { public static int delta (Vector dx, Vector x, double epsabs, double epsrel); public static int gradient (Vector g, double epsabs); } - + [CCode (lower_case_cprefix="gsl_multifit_fdfsolver_", cheader_filename="gsl/gsl_multifit_nlin.h")] namespace MultifitFdfsolverTypes { public static MultifitFdfsolverType* lmder; public static MultifitFdfsolverType* lmsder; } - - + + /* * Basis Splines */ @@ -4487,7 +4487,7 @@ namespace Gsl public Vector deltal; public Vector deltar; public Vector B; - + [CCode (cname="gsl_bspline_alloc")] public BsplineWorkspace (size_t k, size_t nbreak); public size_t ncoeffs (); diff --git a/vapi/gtkmozembed.vapi b/vapi/gtkmozembed.vapi index d97cc12af..4701bb569 100644 --- a/vapi/gtkmozembed.vapi +++ b/vapi/gtkmozembed.vapi @@ -80,7 +80,7 @@ namespace Gtk { public class MozEmbed : Gtk.Bin { public MozEmbed (); public void load_url (string url); - + public void stop_load (); public unowned bool can_go_back (); public unowned bool can_go_forward (); diff --git a/vapi/libdaemon.vapi b/vapi/libdaemon.vapi index b50f57c42..b908693bd 100644 --- a/vapi/libdaemon.vapi +++ b/vapi/libdaemon.vapi @@ -39,7 +39,7 @@ namespace Daemon { WARNING, NOTICE, INFO, - DEBUG + DEBUG } [CCode (cname = "int", cprefix = "SIG")] diff --git a/vapi/libesmtp.vapi b/vapi/libesmtp.vapi index 0942d4990..1e8969de9 100644 --- a/vapi/libesmtp.vapi +++ b/vapi/libesmtp.vapi @@ -19,7 +19,7 @@ * As a special exception, if you use inline functions from this file, this * file does not by itself cause the resulting executable to be covered by * the GNU Lesser General Public License. - * + * * Author: * Adrien Bustany */ diff --git a/vapi/libftdi.vapi b/vapi/libftdi.vapi index 57b9a2a8d..632db7fc9 100644 --- a/vapi/libftdi.vapi +++ b/vapi/libftdi.vapi @@ -1,8 +1,8 @@ [CCode (cprefix = "FTDI_", lower_case_prefix = "ftdi_", cheader_filename = "ftdi.h")] namespace FTDI { - + public const int DEFAULT_EEPROM_SIZE; - + [CCode (cname = "enum ftdi_chip_type", cprefix = "TYPE_")] public enum ChipType { AM, @@ -32,7 +32,7 @@ namespace FTDI { BITS_7, BITS_8 } - + [CCode (cname = "enum ftdi_break_type", cprefix="BREAK_")] public enum BreakType { OFF, @@ -67,7 +67,7 @@ namespace FTDI { public const int DO_READ; public const int WRITE_TMS; } - + [CCode (cprefix="")] namespace MPSSECommands { public const int SET_BITS_LOW; @@ -81,10 +81,10 @@ namespace FTDI { public const int WAIT_ON_HIGH; public const int WAIT_ON_LOW; } - + [CCode (cname="DIV_VALUE")] public int div_value (int rate); - + [CCode (cprefix="")] namespace HostEmultationModeCommands { public const int SEND_IMMEDIATE; @@ -95,7 +95,7 @@ namespace FTDI { public const int WRITE_SHORT; public const int WRITE_EXTENDED; } - + [CCode (cprefix="SIO_")] public const int RESET; [CCode (cprefix="SIO_")] @@ -152,9 +152,9 @@ namespace FTDI { public const int SET_RTS_HIGH; [CCode (cprefix="SIO_")] public const int SET_RTS_LOW; - + public const int URB_USERCONTEXT_COOKIE; - + [CCode (cname = "struct ftdi_device_list", destroy_function = "ftdi_list_free")] public struct DeviceList { public DeviceList* next; @@ -234,7 +234,7 @@ namespace FTDI { public int write_eeprom ([CCode (array_length = false)] uchar[] eeprom); public int erase_eeprom (); public unowned string get_error_string (); - + public USB.DeviceHandle usb_dev; public int usb_read_timeout; public int usb_write_timeout; diff --git a/vapi/libosso.vapi b/vapi/libosso.vapi index c6879c5f0..319402138 100644 --- a/vapi/libosso.vapi +++ b/vapi/libosso.vapi @@ -22,12 +22,12 @@ * * * ChangeLog: - * + * * 2009-02-16: Jukka-Pekka Iivonen * * * Context.rpc_async_run: changed the async_cb type to RpcAsync?. * Context.rpc_async_run_with_defaults: same here - * + * * * 2009-02-10: Jukka-Pekka Iivonen * diff --git a/vapi/mysql.vapi b/vapi/mysql.vapi index b0a0acbbc..ef78c9c46 100644 --- a/vapi/mysql.vapi +++ b/vapi/mysql.vapi @@ -254,7 +254,7 @@ namespace Mysql { public uint fetch_count (); public uint num_fields (); public uint num_rows (); - + public bool data_seek (ulong offset); } [CCode (cname = "MYSQL_FIELD")] @@ -281,7 +281,7 @@ namespace Mysql { public FieldType type; public void *extension; } - + public unowned string get_client_info (); public ulong get_client_version (); public void debug (string msg); diff --git a/vapi/sdl-gfx.vapi b/vapi/sdl-gfx.vapi index c8ba2ad7b..ec1510184 100644 --- a/vapi/sdl-gfx.vapi +++ b/vapi/sdl-gfx.vapi @@ -151,7 +151,7 @@ namespace SDLGraphics { [CCode (cname="trigonRGBA")] public static int outline_rgba(SDL.Surface dst, int16 x1, int16 y1, - int16 x2, int16 y2, int16 x3, int16 y3, + int16 x2, int16 y2, int16 x3, int16 y3, uchar r, uchar g, uchar b, uchar a); [CCode (cname="aatrigonColor")] @@ -160,7 +160,7 @@ namespace SDLGraphics { [CCode (cname="aatrigonRGBA")] public static int outline_rgba_aa(SDL.Surface dst, int16 x1, int16 y1, - int16 x2, int16 y2, int16 x3, int16 y3, + int16 x2, int16 y2, int16 x3, int16 y3, uchar r, uchar g, uchar b, uchar a); [CCode (cname="filledTrigonColor")] @@ -169,7 +169,7 @@ namespace SDLGraphics { [CCode (cname="filledTrigonRGBA")] public static int fill_rgba(SDL.Surface dst, int16 x1, int16 y1, - int16 x2, int16 y2, int16 x3, int16 y3, + int16 x2, int16 y2, int16 x3, int16 y3, uchar r, uchar g, uchar b, uchar a); }// Trigon @@ -239,11 +239,11 @@ namespace SDLGraphics { double zoomx, double zoomy, int smooth); [CCode (cname="rotozoomSurfaceSize")] - public static void rotozoom_size(int width, int height, double degrees, + public static void rotozoom_size(int width, int height, double degrees, double zoom, ref int dstwidth, ref int dstheight); [CCode (cname="rotozoomSurfaceSizeXY")] - public static void rotozoom_size_xy(int width, int height, double degrees, + public static void rotozoom_size_xy(int width, int height, double degrees, double zoomx, double zoomy, ref int dstwidth, ref int dstheight); [CCode (cname="zoomSurface")] @@ -251,7 +251,7 @@ namespace SDLGraphics { double zoomy, int smooth); [CCode (cname="zoomSurfaceSize")] - public static void zoom_size(int width, int height, double zoomx, + public static void zoom_size(int width, int height, double zoomx, double zoomy, ref int dstwidth, ref int dstheight); }// RotoZoom diff --git a/vapi/sdl-mixer.vapi b/vapi/sdl-mixer.vapi index 8122294d0..93017773d 100644 --- a/vapi/sdl-mixer.vapi +++ b/vapi/sdl-mixer.vapi @@ -117,7 +117,7 @@ namespace SDLMixer { [Compact] public class Effect { [CCode (cname="Mix_RegisterEffect")] - public static int register(int chan, EffectCallback f, + public static int register(int chan, EffectCallback f, EffectDoneCallback? d, void* arg); [CCode (cname="Mix_UnregisterEffect")] diff --git a/vapi/sdl-ttf.vapi b/vapi/sdl-ttf.vapi index 78f36b328..f1c743ecc 100644 --- a/vapi/sdl-ttf.vapi +++ b/vapi/sdl-ttf.vapi @@ -66,7 +66,7 @@ namespace SDLTTF { public string style(); [CCode (cname="TTF_GlyphMetrics")] - public int metrics(uint16 ch, ref int minx, ref int maxx, + public int metrics(uint16 ch, ref int minx, ref int maxx, ref int miny, ref int maxy, ref int advance); [CCode (cname="TTF_SizeText")] diff --git a/vapi/sdl.vapi b/vapi/sdl.vapi index 52ddaaebc..3479a3c3c 100644 --- a/vapi/sdl.vapi +++ b/vapi/sdl.vapi @@ -5,7 +5,7 @@ namespace SDL { /// [Flags, CCode (cname="int", cprefix="SDL_INIT_")] public enum InitFlag { - TIMER, AUDIO, VIDEO, CDROM, JOYSTICK, + TIMER, AUDIO, VIDEO, CDROM, JOYSTICK, NOPARACHUTE, EVENTTHREAD, EVERYTHING }// InitFlag @@ -40,7 +40,7 @@ namespace SDL { /// [CCode (cname="int", cprefix="SDL_")] public enum Error { - ENOMEM, EFREAD, EFWRITE, EFSEEK, + ENOMEM, EFREAD, EFWRITE, EFSEEK, UNSUPPORTED, LASTERROR }// Error @@ -92,8 +92,8 @@ namespace SDL { [Flags, CCode (cname="int", cprefix="SDL_")] public enum SurfaceFlag { - SWSURFACE, HWSURFACE, ASYNCBLIT, ANYFORMAT, HWPALETTE, DOUBLEBUF, - FULLSCREEN, OPENGL, OPENGLBLIT, RESIZABLE, NOFRAME, HWACCEL, + SWSURFACE, HWSURFACE, ASYNCBLIT, ANYFORMAT, HWPALETTE, DOUBLEBUF, + FULLSCREEN, OPENGL, OPENGLBLIT, RESIZABLE, NOFRAME, HWACCEL, SRCCOLORKEY, RLEACCEL, SRCALPHA }// SurfaceFlag @@ -109,11 +109,11 @@ namespace SDL { public int ref_count; [CCode (cname="SDL_CreateRGBSurface")] - public Surface.RGB(uint32 flags, int width, int height, int depth, + public Surface.RGB(uint32 flags, int width, int height, int depth, uint32 rmask, uint32 gmask, uint32 bmask, uint32 amask); [CCode (cname="SDL_CreateRGBSurfaceFrom")] - public Surface.from_RGB(void* pixels, int width, int height, int depth, + public Surface.from_RGB(void* pixels, int width, int height, int depth, int pitch, uint32 rmask, uint32 gmask, uint32 bmask, uint32 amask); [CCode (cname="SDL_LoadBMP_RW")] @@ -216,7 +216,7 @@ namespace SDL { [CCode (cname="SDL_Rect", has_type_id=false)] public struct Rect { - public int16 x; + public int16 x; public int16 y; public uint16 w; public uint16 h; @@ -269,7 +269,7 @@ namespace SDL { [CCode (cname="int", cprefix="SDL_")] public enum OverlayFormat { - YV12_OVERLAY, IYUV_OVERLAY, YUY2_OVERLAY, + YV12_OVERLAY, IYUV_OVERLAY, YUY2_OVERLAY, UYVY_OVERLAY, YVYU_OVERLAY }// OverlayFormat @@ -319,10 +319,10 @@ namespace SDL { /// [CCode (cname="int", cprefix="SDL_GL_")] public enum GLattr { - RED_SIZE, GREEN_SIZE, BLUE_SIZE, ALPHA_SIZE, - BUFFER_SIZE, DOUBLEBUFFER, DEPTH_SIZE, STENCIL_SIZE, - ACCUM_RED_SIZE, ACCUM_GREEN_SIZE, ACCUM_BLUE_SIZE, - ACCUM_ALPHA_SIZE, STEREO, MULTISAMPLEBUFFERS, + RED_SIZE, GREEN_SIZE, BLUE_SIZE, ALPHA_SIZE, + BUFFER_SIZE, DOUBLEBUFFER, DEPTH_SIZE, STENCIL_SIZE, + ACCUM_RED_SIZE, ACCUM_GREEN_SIZE, ACCUM_BLUE_SIZE, + ACCUM_ALPHA_SIZE, STEREO, MULTISAMPLEBUFFERS, MULTISAMPLESAMPLES, ACCELERATED_VISUAL, SWAP_CONTROL }// GLattr @@ -382,20 +382,20 @@ namespace SDL { /// [CCode (cname="int", cprefix="SDL_")] public enum EventType { - NOEVENT, ACTIVEEVENT, KEYDOWN, KEYUP, MOUSEMOTION, - MOUSEBUTTONDOWN, MOUSEBUTTONUP, JOYAXISMOTION, - JOYBALLMOTION, JOYHATMOTION, JOYBUTTONDOWN, JOYBUTTONUP, - QUIT, SYSWMEVENT, VIDEORESIZE, VIDEOEXPOSE, USEREVENT, + NOEVENT, ACTIVEEVENT, KEYDOWN, KEYUP, MOUSEMOTION, + MOUSEBUTTONDOWN, MOUSEBUTTONUP, JOYAXISMOTION, + JOYBALLMOTION, JOYHATMOTION, JOYBUTTONDOWN, JOYBUTTONUP, + QUIT, SYSWMEVENT, VIDEORESIZE, VIDEOEXPOSE, USEREVENT, NUMEVENTS }// EventType [CCode (cname="int", cprefix="SDL_")] public enum EventMask { - ACTIVEEVENTMASK, KEYDOWNMASK, KEYUPMASK, KEYEVENTMASK, - MOUSEMOTIONMASK, MOUSEBUTTONDOWNMASK, MOUSEBUTTONUPMASK, - MOUSEEVENTMASK, JOYAXISMOTIONMASK, JOYBALLMOTIONMASK, - JOYHATMOTIONMASK, JOYBUTTONDOWNMASK, JOYBUTTONUPMASK, - JOYEVENTMASK, VIDEORESIZEMASK, VIDEOEXPOSEMASK, QUITMASK, + ACTIVEEVENTMASK, KEYDOWNMASK, KEYUPMASK, KEYEVENTMASK, + MOUSEMOTIONMASK, MOUSEBUTTONDOWNMASK, MOUSEBUTTONUPMASK, + MOUSEEVENTMASK, JOYAXISMOTIONMASK, JOYBALLMOTIONMASK, + JOYHATMOTIONMASK, JOYBUTTONDOWNMASK, JOYBUTTONUPMASK, + JOYEVENTMASK, VIDEORESIZEMASK, VIDEOEXPOSEMASK, QUITMASK, SYSWMEVENTMASK }// EventMask @@ -531,7 +531,7 @@ namespace SDL { public static void pump(); [CCode (cname="SDL_PeepEvents")] - public static void peep(Event* events, int numevents, + public static void peep(Event* events, int numevents, EventAction action, EventMask mask); [CCode (cname="SDL_PollEvent")] @@ -556,7 +556,7 @@ namespace SDL { public enum EventState { QUERY, IGNORE, DISABLE, ENABLE }// EventState - + /// /// Input @@ -637,7 +637,7 @@ namespace SDL { GREATER, QUESTION, AT, - /* + /* Skip uppercase letters */ LEFTBRACKET, @@ -898,7 +898,7 @@ namespace SDL { public static void warp(uint16 x, uint16 y); [CCode (cname="SDL_CreateCursor")] - public Cursor(uchar* data, uchar* mask, int w, int h, + public Cursor(uchar* data, uchar* mask, int w, int h, int hot_x, int hot_y); [CCode (cname="SDL_GetCursor")] @@ -913,7 +913,7 @@ namespace SDL { [CCode (cname="int", cprefix="SDL_HAT_")] public enum HatValue { - CENTERED, UP, RIGHT, DOWN, LEFT, + CENTERED, UP, RIGHT, DOWN, LEFT, RIGHTUP, RIGHTDOWN, LEFTUP, LEFTDOWN }// HatValue @@ -972,7 +972,7 @@ namespace SDL { /// [CCode (cname="int", cprefix="AUDIO_")] public enum AudioFormat { - U8, S8, U16LSB, S16LSB, U16MSB, S16MSB, U16, S16, + U8, S8, U16LSB, S16LSB, U16MSB, S16MSB, U16, S16, U16SYS, S16SYS }// AudioFormat @@ -1013,8 +1013,8 @@ namespace SDL { public int filter_index; [CCode (cname="SDL_BuildAudioCVT")] - public static int build(AudioConverter cvt, AudioFormat src_format, - uchar src_channels, int src_rate, AudioFormat dst_format, + public static int build(AudioConverter cvt, AudioFormat src_format, + uchar src_channels, int src_rate, AudioFormat dst_format, uchar dst_channels, int dst_rate); [CCode (cname="SDL_ConvertAudio")] @@ -1028,7 +1028,7 @@ namespace SDL { [CCode (cname="SDL_AudioDriverName")] public static unowned string driver_name(string namebuf, int maxlen); - + [CCode (cname="SDL_OpenAudio")] public static int open(AudioSpec desired, out AudioSpec obtained); diff --git a/vapi/v4l2.vapi b/vapi/v4l2.vapi index 4b1a8498b..8d1cce458 100644 --- a/vapi/v4l2.vapi +++ b/vapi/v4l2.vapi @@ -37,14 +37,14 @@ namespace V4l2 INTERLACED_TB, INTERLACED_BT } - + [CCode (cname="V4L2_FIELD_HAS_TOP")] public bool field_has_top (uint32 field); [CCode (cname="V4L2_FIELD_HAS_BOTTOM")] public bool field_has_bottom (uint32 field); [CCode (cname="V4L2_FIELD_HAS_BOTH")] public bool field_has_both (uint32 field); - + [CCode (cprefix="V4L2_BUF_TYPE_")] public enum BufferType { @@ -58,7 +58,7 @@ namespace V4l2 VIDEO_OUTPUT_OVERLAY, PRIVATE } - + [CCode (cprefix="V4L2_CTRL_TYPE_")] public enum ControlType { @@ -69,7 +69,7 @@ namespace V4l2 INTEGER64, CTRL_CLASS } - + [CCode (cprefix="V4L2_TUNER_")] public enum TunerType { @@ -77,7 +77,7 @@ namespace V4l2 ANALOG_TV, DIGITAL_TV } - + [CCode (cprefix="V4L2_MEMORY_")] public enum Memory { @@ -85,7 +85,7 @@ namespace V4l2 USERPTR, OVERLAY } - + [CCode (cprefix="V4L2_COLORSPACE_")] public enum Colorspace { @@ -98,7 +98,7 @@ namespace V4l2 JPEG, SRGB } - + [CCode (cprefix="V4L2_PRIORITY_")] public enum Priority { @@ -108,7 +108,7 @@ namespace V4l2 RECORD, DEFAULT } - + [CCode (cname="struct v4l2_rect")] public struct Rect { @@ -117,14 +117,14 @@ namespace V4l2 public int32 width; public int32 height; } - + [CCode (cname="struct v4l2_fract")] public struct Fraction { public uint32 numerator; public uint32 denominator; } - + [CCode (cprefix="V4L2_CAP_")] public enum Capabilities { @@ -145,7 +145,7 @@ namespace V4l2 ASYNCIO, STREAMING } - + [CCode (cname="struct v4l2_capability")] public struct Capability { @@ -156,7 +156,7 @@ namespace V4l2 public uint32 capabilities; public uint32[] reserved; } - + [CCode (cprefix="V4L2_PIX_FMT_")] public enum PixelFormatType { @@ -211,7 +211,7 @@ namespace V4l2 PJPG, YVYU } - + [CCode (cname="struct v4l2_pix_format")] public struct PixelFormat { @@ -224,13 +224,13 @@ namespace V4l2 public Colorspace colorspace; public uint32 priv; } - + [CCode (cprefix="V4L2_FMT_FLAG_")] public enum FormatFlag { COMPRESSED } - + [CCode (cname="struct v4l2_fmtdesc")] public struct FormatDescriptor { @@ -240,7 +240,7 @@ namespace V4l2 public unowned string description; public uint pixelformat; } - + [CCode (cprefix="V4L2_FRMSIZE_TYPE_")] public enum FramesizeTypes { @@ -248,14 +248,14 @@ namespace V4l2 CONTINUOUS, STEPWISE } - + [CCode (cname="struct v4l2_frmsize_discrete")] public struct FramesizeDiscrete { public uint32 width; public uint32 height; } - + [CCode (cname="struct v4l2_frmsize_stepwise")] public struct FramesizeStepwise { @@ -266,7 +266,7 @@ namespace V4l2 public uint32 max_height; public uint32 step_height; } - + [CCode (cname="struct v4l2_frmsizeenum")] public struct FramsizeEnum { @@ -276,7 +276,7 @@ namespace V4l2 public FramesizeDiscrete discrete; public FramesizeStepwise stepwise; } - + [CCode (cprefix="V4L2_FRMIVAL_TYPE_")] public enum FrameivalTypes { @@ -284,7 +284,7 @@ namespace V4l2 CONTINUOUS, STEPWISE } - + [CCode (cname="struct v4l2_frmival_stepwise")] public struct FrameivalStepwise { @@ -292,7 +292,7 @@ namespace V4l2 public Fraction max; public Fraction step; } - + [CCode (cname="struct v4l2_frmivalenum")] public struct FrameivalEnum { @@ -304,7 +304,7 @@ namespace V4l2 public Fraction discrete; public Fraction stepwise; } - + [CCode (cname="struct v4l2_timecode")] public struct Timecode { @@ -316,7 +316,7 @@ namespace V4l2 public uint8 hours; public uint8 userbits[4]; } - + [CCode (cprefix="V4L2_TC_TYPE_")] public enum TimecodeType { @@ -326,14 +326,14 @@ namespace V4l2 50FPS, 60FPS } - + [CCode (cprefix="V4L2_TC_FLAGS_")] public enum TimecodeFlags { DROPFRAME, COLORFRAME } - + [CCode (cprefix="V4L2_TC_USERBITS_")] public enum TimecodeUserbits { @@ -341,8 +341,8 @@ namespace V4l2 USERDEFINED, 8BITCHARS } - - + + [CCode (cname="struct v4l2_jpegcompression")] public struct JpegCompression { @@ -354,7 +354,7 @@ namespace V4l2 public char COM_data[60]; public uint32 jpeg_markers; } - + [CCode (cprefix="V4L2_JPEG_MARKER_")] public enum JpegMarker { @@ -364,7 +364,7 @@ namespace V4l2 COM, APP } - + [CCode (cname="struct v4l2_requestbuffers")] public struct RequestBuffers { @@ -372,14 +372,14 @@ namespace V4l2 public BufferType type; public Memory memory; } - + [CCode (cname="m")] public struct M { public uint32 offset; public ulong userptr; } - + [CCode (cname="struct v4l2_buffer")] public struct Buffer { @@ -397,7 +397,7 @@ namespace V4l2 public uint32 input; public uint32 reserved; } - + [CCode (cprefix="V4L2_BUF_FLAG_")] public enum BufferFlags { @@ -410,7 +410,7 @@ namespace V4l2 TIMECODE, INPUT } - + [CCode (cname="struct v4l2_framebuffer")] public struct FrameBuffer { @@ -419,7 +419,7 @@ namespace V4l2 public void* @base; public PixelFormat fmt; } - + [CCode (cprefix="V4L2_FBUF_CAP_")] public enum FrameBufferCapabilites { @@ -431,7 +431,7 @@ namespace V4l2 GLOBAL_ALPHA, LOCAL_INV_ALPHA } - + [CCode (cprefix="V4L2_FBUF_FLAG_")] public enum FrameBufferFlags { @@ -442,14 +442,14 @@ namespace V4l2 GLOBAL_ALPHA, LOCAL_INV_ALPHA } - + [CCode (cname="struct v4l2_clip")] public struct Clip { public Rect c; public Clip* next; } - + [CCode (cname="struct v4l2_window")] public struct Window { @@ -461,7 +461,7 @@ namespace V4l2 public void* bitmap; public uint8 global_alpha; } - + [CCode (cname="struct v4l2_captureparm")] public struct CaptureParm { @@ -471,12 +471,12 @@ namespace V4l2 public uint32 extendedmode; public uint32 readbuffers; } - + [CCode (cprefix="V4L2_")] public const uint32 MODE_HIGHQUALITY; [CCode (cprefix="V4L2_")] public const uint32 CAP_TIMEPERFRAME; - + [CCode (cname="struct v4l2_outputparm")] public struct OutputParm { @@ -486,7 +486,7 @@ namespace V4l2 public uint32 extendedmode; public uint32 writebuffers; } - + [CCode (cname="struct v4l2_cropcap")] public struct CropCap { @@ -495,14 +495,14 @@ namespace V4l2 public Rect defrect; public Fraction pixelaspect; } - + [CCode (cname="struct v4l2_crop")] public struct Crop { public BufferType type; public Rect c; } - + [CCode (cprefix="V4L2_STD_")] public enum Standards { @@ -548,7 +548,7 @@ namespace V4l2 UNKNOWN, ALL } - + [CCode (cname="v4l2_std_id")] public struct StdId : uint64 { } @@ -561,7 +561,7 @@ namespace V4l2 public Fraction frameperiod; public uint32 framelines; } - + [CCode (cname="struct v4l2_input")] public struct Input { @@ -573,14 +573,14 @@ namespace V4l2 public StdId std; public uint32 status; } - + [CCode (cprefix="V4L2_INPUT_TYPE_")] public enum InputType { TUNER, CAMERA } - + [CCode (cprefix="V4L2_IN_ST_")] public enum InputStatus { @@ -596,7 +596,7 @@ namespace V4l2 NO_ACCESS, VTR } - + [CCode (cname="struct v4l2_output")] public struct Output { @@ -607,7 +607,7 @@ namespace V4l2 public uint32 modulator; public StdId std; } - + [CCode (cprefix="V4L2_OUTPUT_TYPE_")] public enum OutputType { @@ -615,14 +615,14 @@ namespace V4l2 ANALOG, ANALOGVGAOVERLAY } - + [CCode (cname="struct v4l2_control")] public struct Control { public uint32 id; public int32 @value; } - + [CCode (cname="struct v4l2_ext_control")] public struct ExtControl { @@ -631,7 +631,7 @@ namespace V4l2 public int64 value64; public void* reserved; } - + [CCode (cname="struct v4l2_ext_controls")] public struct ExtControls { @@ -640,7 +640,7 @@ namespace V4l2 public uint32 error_idx; public ExtControl* controls; } - + [CCode (cprefix="V4L2_CTRL_CLASS_")] public enum ControlClass { @@ -648,14 +648,14 @@ namespace V4l2 MPEG, CAMERA } - + [CCode (cprefix="V4L2_")] public const uint32 CTRL_ID_MASK; [CCode (cname="V4L2_CTRL_ID2CLASS")] public uint32 ctrl_id2class (uint32 id); [CCode (cname="V4L2_CTRL_DRIVER_PRIV")] public uint32 ctrl_driver_priv (uint32 id); - + [CCode (cname="struct v4l2_queryctrl")] public struct QueryControl { @@ -668,7 +668,7 @@ namespace V4l2 public int32 default_value; public uint32 flags; } - + [CCode (cname="struct v4l2_querymenu")] public struct QueryMenu { @@ -677,7 +677,7 @@ namespace V4l2 public unowned string name; public uint32 reserved; } - + [CCode (cprefix="V4L2_CTRL_FLAG_")] public enum ControlFlags { @@ -689,7 +689,7 @@ namespace V4l2 SLIDER, NEXT_CTRL } - + [CCode (cprefix="V4L2_CID_")] public enum UserClassControlIds { @@ -726,7 +726,7 @@ namespace V4l2 COLOR_KILLER, LASTP1 } - + [CCode (cprefix="V4L2_CID_POWER_LINE_FREQUENCY_")] public enum PowerLineFrequency { @@ -734,7 +734,7 @@ namespace V4l2 50HZ, 60HZ } - + [CCode (cprefix="V4L2_CID_MPEG_")] public enum MpegClassControlIds { @@ -769,9 +769,9 @@ namespace V4l2 VIDEO_BITRATE_PEAK, VIDEO_TEMPORAL_DECIMATION, VIDEO_MUTE, - VIDEO_MUTE_YUV + VIDEO_MUTE_YUV } - + [CCode (cprefix="V4L2_MPEG_STREAM_TYPE_")] public enum MpegStreamType { @@ -782,14 +782,14 @@ namespace V4l2 MPEG1_VCD, MPEG2_SVCD } - + [CCode (cprefix="V4L2_MPEG_STREAM_VBI_FMT_")] public enum MpegStreamVbiFmt { NONE, IVTV } - + [CCode (cprefix="V4L2_MPEG_AUDIO_SAMPLING_FREQ_")] public enum MpegAudioSamplingFreq { @@ -797,7 +797,7 @@ namespace V4l2 @48000, @32000 } - + [CCode (cprefix="V4L2_MPEG_AUDIO_ENCODING_")] public enum MpegAudioEncoding { @@ -805,7 +805,7 @@ namespace V4l2 LAYER_2, LAYER_3 } - + [CCode (cprefix="V4L2_MPEG_AUDIO_L1_BITRATE_")] public enum MpegAudioL1Bitrate { @@ -824,7 +824,7 @@ namespace V4l2 416K, 448K } - + [CCode (cprefix="V4L2_MPEG_AUDIO_L2_BITRATE_")] public enum MpegAudioL2Bitrate { @@ -843,7 +843,7 @@ namespace V4l2 320K, 384K } - + [CCode (cprefix="V4L2_MPEG_AUDIO_L3_BITRATE_")] public enum MpegAudioL3Bitrate { @@ -862,7 +862,7 @@ namespace V4l2 256K, 320K, } - + [CCode (cprefix="V4L2_MPEG_AUDIO_MODE_")] public enum MpegAudioMode { @@ -871,7 +871,7 @@ namespace V4l2 DUAL, MONO } - + [CCode (cprefix="V4L2_MPEG_AUDIO_MODE_EXTENSION_")] public enum MpegAudioModeExtension { @@ -880,7 +880,7 @@ namespace V4l2 BOUND_12, BOUND_16 } - + [CCode (cprefix="V4L2_MPEG_AUDIO_EMPHASIS_")] public enum MpegAudioEmphasis { @@ -888,21 +888,21 @@ namespace V4l2 50_DIV_15_uS, CCITT_J17, } - + [CCode (cprefix="V4L2_MPEG_AUDIO_CRC_")] public enum MpegAudioCrc { NONE, CRC16 } - + [CCode (cprefix="V4L2_MPEG_VIDEO_ENCODING_")] public enum MpegVideoEncoding { MPEG_1, MPEG_2 } - + [CCode (cprefix="V4L2_MPEG_VIDEO_ASPECT_")] public enum MpegVideoAspect { @@ -911,14 +911,14 @@ namespace V4l2 16x9, 221x100 } - + [CCode (cprefix="V4L2_MPEG_VIDEO_BITRATE_MODE_")] public enum MpegVideoBitrateMode { VBR, CBR } - + [CCode (cprefix="V4L2_CID_MPEG_CX2341X_")] public enum MpegCx2341xClassControlIds { @@ -936,14 +936,14 @@ namespace V4l2 VIDEO_CHROMA_MEDIAN_FILTER_TOP, STREAM_INSERT_NAV_PACKETS } - + [CCode (cprefix="V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_")] public enum MpegCx2341xVideoSpatialFilterMode { MANUAL, AUTO, } - + [CCode (cprefix="V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_")] public enum MpegCx2341xVideoLumaSpatialFilterType { @@ -953,21 +953,21 @@ namespace V4l2 2D_HV_SEPARABLE, 2D_SYM_NON_SEPARABLE, } - + [CCode (cprefix="V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_")] public enum MpegCx2341xVideoChromaSpatialFilterType { OFF, 1D_HOR } - + [CCode (cprefix="V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_")] public enum MpegCx2341xVideoTemporalFilterMode { MANUAL, AUTO } - + [CCode (cprefix="V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_")] public enum MpegCx2341xVideoMedianFilterType { @@ -977,7 +977,7 @@ namespace V4l2 HOR_VERT, DIAG } - + [CCode (cprefix="V4L2_CID_")] public enum CameraClassControlIds { @@ -996,7 +996,7 @@ namespace V4l2 FOCUS_RELATIVE, FOCUS_AUTO } - + [CCode (cprefix="V4L2_EXPOSURE_")] public enum ExposureAutoType { @@ -1020,7 +1020,7 @@ namespace V4l2 public int32 @signal; public int32 afc; } - + [CCode (cname="struct v4l2_modulator")] public struct Modulator { @@ -1031,7 +1031,7 @@ namespace V4l2 public uint32 rangehigh; public uint32 txsubchans; } - + [CCode (cprefix="V4L2_TUNER_CAP_")] public enum TunerCapabilities { @@ -1042,7 +1042,7 @@ namespace V4l2 SAP, LANG1 } - + [CCode (cprefix="V4L2_TUNER_SUB_")] public enum TunerSubs { @@ -1052,7 +1052,7 @@ namespace V4l2 SAP, LANG1 } - + [CCode (cprefix="V4L2_TUNER_MODE_")] public enum TunerModes { @@ -1063,7 +1063,7 @@ namespace V4l2 LANG1, LANG1_LANG2 } - + [CCode (cname="struct v4l2_frequency")] public struct Frequency { @@ -1071,7 +1071,7 @@ namespace V4l2 public TunerType type; public uint32 frequency; } - + [CCode (cname="struct v4l2_hw_freq_seek")] public struct HwFreqSeek { @@ -1080,7 +1080,7 @@ namespace V4l2 public uint32 seek_upward; public uint32 wrap_around; } - + [CCode (cname="struct v4l2_audio")] public struct Audio { @@ -1089,7 +1089,7 @@ namespace V4l2 public uint32 capability; public uint32 mode; } - + [CCode (cprefix="V4L2_AUDCAP_")] public enum AudioCapabilities { @@ -1099,7 +1099,7 @@ namespace V4l2 [CCode (cprefix="V4L2_")] public const uint32 AUDMODE_AVL; - + [CCode (cname="struct v4l2_audioout")] public struct AudioOut { @@ -1108,7 +1108,7 @@ namespace V4l2 public uint32 capability; public uint32 mode; } - + [CCode (cprefix="V4L2_ENC_IDX_FRAME_")] public enum EncIdxFrame { @@ -1117,7 +1117,7 @@ namespace V4l2 B, MASK } - + [CCode (cname="struct v4l2_enc_idx_entry")] public struct EncIdxEntry { @@ -1126,10 +1126,10 @@ namespace V4l2 public uint32 length; public uint32 flags; } - + [CCode (cprefix="V4L2_")] public const int ENC_IDX_ENTRIES; - + [CCode (cname="struct v4l2_enc_idx")] public struct EncIdx { @@ -1137,7 +1137,7 @@ namespace V4l2 public uint32 entries_cap; public EncIdxEntry[] entry; } - + [CCode (cprefix="V4L2_ENC_CMD_")] public enum EncCmd { @@ -1147,13 +1147,13 @@ namespace V4l2 RESUME, STOP_AT_GOP_END } - + [CCode (cname="struct raw")] public struct Raw { public uint32 data[8]; } - + [CCode (cname="struct v4l2_encoder_cmd")] public struct EncoderCmd { @@ -1161,7 +1161,7 @@ namespace V4l2 public uint32 flags; public Raw raw; } - + [CCode (cname="struct v4l2_vbi_format")] public struct VbiFormat { @@ -1173,14 +1173,14 @@ namespace V4l2 public uint32 count[2]; public uint32 flags; } - + [CCode (cprefix="V4L2_VBI_")] public enum VbiFlags { UNSYNC, INTERLACED } - + [CCode (cname="struct v4l2_sliced_vbi_format")] public struct SlicedVbiFormat { @@ -1189,7 +1189,7 @@ namespace V4l2 public uint32 io_size; public uint32[] reserved; } - + [CCode (cprefix="V4L2_SLICED_")] public enum SlicedType { @@ -1201,7 +1201,7 @@ namespace V4l2 VBI_625, T } - + [CCode (cname="struct v4l2_sliced_vbi_cap")] public struct SlicedVbiCap { @@ -1209,7 +1209,7 @@ namespace V4l2 public uint16[] service_lines; public BufferType type; } - + [CCode (cname="struct v4l2_sliced_vbi_data")] public struct SlicedVbiData { @@ -1218,7 +1218,7 @@ namespace V4l2 public uint32 line; public uint8 data[48]; } - + public struct Fmt { public PixelFormat pix; @@ -1227,28 +1227,28 @@ namespace V4l2 public SlicedVbiFormat sliced; public uint8 raw_data[200]; } - + [CCode (cname="struct v4l2_format")] public struct Format { public BufferType type; public Fmt fmt; } - + public struct Parm { public CaptureParm capture; public OutputParm output; public uint8 raw_data[200]; } - + [CCode (cname="struct v4l2_streamparm")] public struct StreamParm { public BufferType type; public unowned Parm parm; } - + [CCode (cprefix="V4L2_CHIP_MATCH_")] public enum ChipMatch { @@ -1256,7 +1256,7 @@ namespace V4l2 I2C_DRIVER, I2C_ADDR } - + [CCode (cname="struct v4l2_register")] public struct Register { @@ -1265,7 +1265,7 @@ namespace V4l2 public uint64 reg; public uint64 val; } - + [CCode (cname="struct v4l2_chip_ident")] public struct ChipIdent { @@ -1274,7 +1274,7 @@ namespace V4l2 public uint32 ident; public uint32 revision; } - + public const int VIDIOC_QUERYCAP; public const int VIDIOC_RESERVED; public const int VIDIOC_ENUM_FMT; diff --git a/vapi/x11.vapi b/vapi/x11.vapi index 0f4ca51b7..ca0d5365f 100644 --- a/vapi/x11.vapi +++ b/vapi/x11.vapi @@ -270,10 +270,10 @@ namespace X { public void query_tree (Window w, out Window root_return, out Window parent_return, out Window[] children_return); [CCode (cname = "XTranslateCoordinates")] - public bool translate_coordinates (Window src_w, Window dest_w, int src_x, int src_y, out int dest_x_return, out int dest_y_return, out Window child_return); + public bool translate_coordinates (Window src_w, Window dest_w, int src_x, int src_y, out int dest_x_return, out int dest_y_return, out Window child_return); [CCode (cname = "XQueryPointer")] - public bool query_pointer (Window w, out Window root_retur, out Window child_retur, out int root_x_return, out int root_y_return, out int win_x_return, out int win_y_return, out uint mask_return); + public bool query_pointer (Window w, out Window root_retur, out Window child_retur, out int root_x_return, out int root_y_return, out int win_x_return, out int win_y_return, out uint mask_return); [CCode (cname = "XSetWMNormalHints")] public void set_wm_normal_hints (Window w, SizeHints hints); -- 2.47.2