diff --git a/MEOS.NET.Builder/Models/CFunctionDeclaration.cs b/MEOS.NET.Builder/Models/CFunctionDeclaration.cs index 32590f8..fe248d7 100644 --- a/MEOS.NET.Builder/Models/CFunctionDeclaration.cs +++ b/MEOS.NET.Builder/Models/CFunctionDeclaration.cs @@ -4,10 +4,10 @@ internal class CFunctionDeclaration : FunctionDeclaration { internal string? Arguments { get; init; } = string.Empty; + // Empty argument list is a valid C declaration (e.g. `int foo();`). internal bool HasUndefinedElements() => string.IsNullOrEmpty(this.ReturnType) || - string.IsNullOrEmpty(this.FunctionName) || - string.IsNullOrEmpty(this.Arguments); + string.IsNullOrEmpty(this.FunctionName); } } diff --git a/MEOS.NET/Internal/MEOSExposedFunctions.cs b/MEOS.NET/Internal/MEOSExposedFunctions.cs index bf811fd..bbc0aaf 100644 --- a/MEOS.NET/Internal/MEOSExposedFunctions.cs +++ b/MEOS.NET/Internal/MEOSExposedFunctions.cs @@ -1,3854 +1,7469 @@ -using System.CodeDom.Compiler; - -using MEOS.NET.Enums; - - -namespace MEOS.NET.Internal -{ - [GeneratedCode("MEOS.NET.Builder", "0.0.2")] - internal partial class MEOSExposedFunctions - { - public static void meos_error(int errlevel, int errcode, string format) - => SafeExecution(() => MEOSExternalFunctions.meos_error(errlevel, errcode, format)); - - public static int meos_errno() - => SafeExecution(() => MEOSExternalFunctions.meos_errno()); - - public static int meos_errno_set(int err) - => SafeExecution(() => MEOSExternalFunctions.meos_errno_set(err)); - - public static int meos_errno_restore(int err) - => SafeExecution(() => MEOSExternalFunctions.meos_errno_restore(err)); - - public static int meos_errno_reset() - => SafeExecution(() => MEOSExternalFunctions.meos_errno_reset()); - - public static void meos_initialize_timezone(string name) - => SafeExecution(() => MEOSExternalFunctions.meos_initialize_timezone(name)); - - public static void meos_initialize_error_handler(ErrorHandlingMethod err_handler) - => SafeExecution(() => MEOSExternalFunctions.meos_initialize_error_handler(err_handler)); - - public static void meos_finalize_timezone() - => SafeExecution(() => MEOSExternalFunctions.meos_finalize_timezone()); - - public static bool meos_set_datestyle(string newval, IntPtr extra) - => SafeExecution(() => MEOSExternalFunctions.meos_set_datestyle(newval, extra)); - - public static bool meos_set_intervalstyle(string newval, int extra) - => SafeExecution(() => MEOSExternalFunctions.meos_set_intervalstyle(newval, extra)); - - public static string meos_get_datestyle() - => SafeExecution(() => MEOSExternalFunctions.meos_get_datestyle()); - - public static string meos_get_intervalstyle() - => SafeExecution(() => MEOSExternalFunctions.meos_get_intervalstyle()); - - public static void meos_initialize(string tz_str, ErrorHandlingMethod err_handler) - => SafeExecution(() => MEOSExternalFunctions.meos_initialize(tz_str, err_handler)); - - public static void meos_finalize() - => SafeExecution(() => MEOSExternalFunctions.meos_finalize()); - - public static bool bool_in(string in_str) - => SafeExecution(() => MEOSExternalFunctions.bool_in(in_str)); - - public static string bool_out(bool b) - => SafeExecution(() => MEOSExternalFunctions.bool_out(b)); - - public static IntPtr cstring2text(string cstring) - => SafeExecution(() => MEOSExternalFunctions.cstring2text(cstring)); - - public static int pg_date_in(string str) - => SafeExecution(() => MEOSExternalFunctions.pg_date_in(str)); - - public static string pg_date_out(int d) - => SafeExecution(() => MEOSExternalFunctions.pg_date_out(d)); - - public static IntPtr pg_date_mi(int d1, int d2) - => SafeExecution(() => MEOSExternalFunctions.pg_date_mi(d1, d2)); - - public static int pg_date_mi_int(int d, int days) - => SafeExecution(() => MEOSExternalFunctions.pg_date_mi_int(d, days)); - - public static int pg_date_pl_int(int d, int days) - => SafeExecution(() => MEOSExternalFunctions.pg_date_pl_int(d, days)); - - public static long pg_date_timestamptz(int d) - => SafeExecution(() => MEOSExternalFunctions.pg_date_timestamptz(d)); - - public static int pg_interval_cmp(IntPtr interval1, IntPtr interval2) - => SafeExecution(() => MEOSExternalFunctions.pg_interval_cmp(interval1, interval2)); - - public static IntPtr pg_interval_in(string str, int typmod) - => SafeExecution(() => MEOSExternalFunctions.pg_interval_in(str, typmod)); - - public static IntPtr pg_interval_make(int years, int months, int weeks, int days, int hours, int mins, double secs) - => SafeExecution(() => MEOSExternalFunctions.pg_interval_make(years, months, weeks, days, hours, mins, secs)); - - public static IntPtr pg_interval_mul(IntPtr span, double factor) - => SafeExecution(() => MEOSExternalFunctions.pg_interval_mul(span, factor)); - - public static string pg_interval_out(IntPtr span) - => SafeExecution(() => MEOSExternalFunctions.pg_interval_out(span)); - - public static IntPtr pg_interval_to_char(IntPtr it, IntPtr fmt) - => SafeExecution(() => MEOSExternalFunctions.pg_interval_to_char(it, fmt)); - - public static IntPtr pg_interval_pl(IntPtr span1, IntPtr span2) - => SafeExecution(() => MEOSExternalFunctions.pg_interval_pl(span1, span2)); - - public static long pg_time_in(string str, int typmod) - => SafeExecution(() => MEOSExternalFunctions.pg_time_in(str, typmod)); - - public static string pg_time_out(long time) - => SafeExecution(() => MEOSExternalFunctions.pg_time_out(time)); - - public static long pg_timestamp_in(string str, int typmod) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamp_in(str, typmod)); - - public static IntPtr pg_timestamp_mi(long dt1, long dt2) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamp_mi(dt1, dt2)); - - public static long pg_timestamp_mi_interval(long timestamp, IntPtr span) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamp_mi_interval(timestamp, span)); - - public static string pg_timestamp_out(long dt) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamp_out(dt)); - - public static long pg_timestamp_pl_interval(long timestamp, IntPtr span) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamp_pl_interval(timestamp, span)); - - public static IntPtr pg_timestamp_to_char(long dt, IntPtr fmt) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamp_to_char(dt, fmt)); - - public static long pg_timestamptz_in(string str, int typmod) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamptz_in(str, typmod)); - - public static int pg_timestamptz_date(long t) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamptz_date(t)); - - public static string pg_timestamptz_out(long dt) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamptz_out(dt)); - - public static IntPtr pg_timestamptz_to_char(long dt, IntPtr fmt) - => SafeExecution(() => MEOSExternalFunctions.pg_timestamptz_to_char(dt, fmt)); - - public static int pg_to_date(IntPtr date_txt, IntPtr fmt) - => SafeExecution(() => MEOSExternalFunctions.pg_to_date(date_txt, fmt)); - - public static long pg_to_timestamptz(IntPtr date_txt, IntPtr fmt) - => SafeExecution(() => MEOSExternalFunctions.pg_to_timestamptz(date_txt, fmt)); - - public static string text2cstring(IntPtr textptr) - => SafeExecution(() => MEOSExternalFunctions.text2cstring(textptr)); - - public static string text_out(IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.text_out(txt)); - - public static IntPtr geography_from_hexewkb(string wkt) - => SafeExecution(() => MEOSExternalFunctions.geography_from_hexewkb(wkt)); - - public static IntPtr geography_from_text(string wkt, int srid) - => SafeExecution(() => MEOSExternalFunctions.geography_from_text(wkt, srid)); - - public static IntPtr geometry_from_hexewkb(string wkt) - => SafeExecution(() => MEOSExternalFunctions.geometry_from_hexewkb(wkt)); - - public static IntPtr geometry_from_text(string wkt, int srid) - => SafeExecution(() => MEOSExternalFunctions.geometry_from_text(wkt, srid)); - - public static IntPtr gserialized_as_ewkb(IntPtr gs, string type) - => SafeExecution(() => MEOSExternalFunctions.gserialized_as_ewkb(gs, type)); - - public static string gserialized_as_ewkt(IntPtr gs, int precision) - => SafeExecution(() => MEOSExternalFunctions.gserialized_as_ewkt(gs, precision)); - - public static string gserialized_as_geojson(IntPtr gs, int option, int precision, string srs) - => SafeExecution(() => MEOSExternalFunctions.gserialized_as_geojson(gs, option, precision, srs)); - - public static string gserialized_as_hexewkb(IntPtr gs, string type) - => SafeExecution(() => MEOSExternalFunctions.gserialized_as_hexewkb(gs, type)); - - public static string gserialized_as_text(IntPtr gs, int precision) - => SafeExecution(() => MEOSExternalFunctions.gserialized_as_text(gs, precision)); - - public static IntPtr gserialized_from_ewkb(IntPtr bytea_wkb, int srid) - => SafeExecution(() => MEOSExternalFunctions.gserialized_from_ewkb(bytea_wkb, srid)); - - public static IntPtr gserialized_from_geojson(string geojson) - => SafeExecution(() => MEOSExternalFunctions.gserialized_from_geojson(geojson)); - - public static string gserialized_out(IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.gserialized_out(gs)); - - public static IntPtr pgis_geography_in(string input, int geom_typmod) - => SafeExecution(() => MEOSExternalFunctions.pgis_geography_in(input, geom_typmod)); - - public static IntPtr pgis_geometry_in(string input, int geom_typmod) - => SafeExecution(() => MEOSExternalFunctions.pgis_geometry_in(input, geom_typmod)); - - public static bool pgis_gserialized_same(IntPtr gs1, IntPtr gs2) - => SafeExecution(() => MEOSExternalFunctions.pgis_gserialized_same(gs1, gs2)); - - public static IntPtr bigintset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.bigintset_in(str)); - - public static string bigintset_out(IntPtr set) - => SafeExecution(() => MEOSExternalFunctions.bigintset_out(set)); - - public static IntPtr bigintspan_in(string str) - => SafeExecution(() => MEOSExternalFunctions.bigintspan_in(str)); - - public static string bigintspan_out(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.bigintspan_out(s)); - - public static IntPtr bigintspanset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.bigintspanset_in(str)); - - public static string bigintspanset_out(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.bigintspanset_out(ss)); - - public static IntPtr dateset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.dateset_in(str)); - - public static string dateset_out(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.dateset_out(s)); - - public static IntPtr datespan_in(string str) - => SafeExecution(() => MEOSExternalFunctions.datespan_in(str)); - - public static string datespan_out(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.datespan_out(s)); - - public static IntPtr datespanset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.datespanset_in(str)); - - public static string datespanset_out(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.datespanset_out(ss)); - - public static IntPtr floatset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.floatset_in(str)); - - public static string floatset_out(IntPtr set, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.floatset_out(set, maxdd)); - - public static IntPtr floatspan_in(string str) - => SafeExecution(() => MEOSExternalFunctions.floatspan_in(str)); - - public static string floatspan_out(IntPtr s, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.floatspan_out(s, maxdd)); - - public static IntPtr floatspanset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.floatspanset_in(str)); - - public static string floatspanset_out(IntPtr ss, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.floatspanset_out(ss, maxdd)); - - public static IntPtr geogset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.geogset_in(str)); - - public static IntPtr geomset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.geomset_in(str)); - - public static string geoset_as_ewkt(IntPtr set, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.geoset_as_ewkt(set, maxdd)); - - public static string geoset_as_text(IntPtr set, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.geoset_as_text(set, maxdd)); - - public static string geoset_out(IntPtr set, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.geoset_out(set, maxdd)); - - public static IntPtr intset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.intset_in(str)); - - public static string intset_out(IntPtr set) - => SafeExecution(() => MEOSExternalFunctions.intset_out(set)); - - public static IntPtr intspan_in(string str) - => SafeExecution(() => MEOSExternalFunctions.intspan_in(str)); - - public static string intspan_out(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intspan_out(s)); - - public static IntPtr intspanset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.intspanset_in(str)); - - public static string intspanset_out(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.intspanset_out(ss)); - - public static string set_as_hexwkb(IntPtr s, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.set_as_hexwkb(s, variant, size_out)); - - public static IntPtr set_as_wkb(IntPtr s, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.set_as_wkb(s, variant, size_out)); - - public static IntPtr set_from_hexwkb(string hexwkb) - => SafeExecution(() => MEOSExternalFunctions.set_from_hexwkb(hexwkb)); - - public static IntPtr set_from_wkb(IntPtr wkb, ulong size) - => SafeExecution(() => MEOSExternalFunctions.set_from_wkb(wkb, size)); - - public static string span_as_hexwkb(IntPtr s, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.span_as_hexwkb(s, variant, size_out)); - - public static IntPtr span_as_wkb(IntPtr s, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.span_as_wkb(s, variant, size_out)); - - public static IntPtr span_from_hexwkb(string hexwkb) - => SafeExecution(() => MEOSExternalFunctions.span_from_hexwkb(hexwkb)); - - public static IntPtr span_from_wkb(IntPtr wkb, ulong size) - => SafeExecution(() => MEOSExternalFunctions.span_from_wkb(wkb, size)); - - public static string spanset_as_hexwkb(IntPtr ss, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.spanset_as_hexwkb(ss, variant, size_out)); - - public static IntPtr spanset_as_wkb(IntPtr ss, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.spanset_as_wkb(ss, variant, size_out)); - - public static IntPtr spanset_from_hexwkb(string hexwkb) - => SafeExecution(() => MEOSExternalFunctions.spanset_from_hexwkb(hexwkb)); - - public static IntPtr spanset_from_wkb(IntPtr wkb, ulong size) - => SafeExecution(() => MEOSExternalFunctions.spanset_from_wkb(wkb, size)); - - public static IntPtr textset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.textset_in(str)); - - public static string textset_out(IntPtr set) - => SafeExecution(() => MEOSExternalFunctions.textset_out(set)); - - public static IntPtr tstzset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tstzset_in(str)); - - public static string tstzset_out(IntPtr set) - => SafeExecution(() => MEOSExternalFunctions.tstzset_out(set)); - - public static IntPtr tstzspan_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_in(str)); - - public static string tstzspan_out(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_out(s)); - - public static IntPtr tstzspanset_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_in(str)); - - public static string tstzspanset_out(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_out(ss)); - - public static IntPtr bigintset_make(IntPtr values, int count) - => SafeExecution(() => MEOSExternalFunctions.bigintset_make(values, count)); - - public static IntPtr bigintspan_make(long lower, long upper, bool lower_inc, bool upper_inc) - => SafeExecution(() => MEOSExternalFunctions.bigintspan_make(lower, upper, lower_inc, upper_inc)); - - public static IntPtr dateset_make(IntPtr values, int count) - => SafeExecution(() => MEOSExternalFunctions.dateset_make(values, count)); - - public static IntPtr datespan_make(int lower, int upper, bool lower_inc, bool upper_inc) - => SafeExecution(() => MEOSExternalFunctions.datespan_make(lower, upper, lower_inc, upper_inc)); - - public static IntPtr floatset_make(IntPtr values, int count) - => SafeExecution(() => MEOSExternalFunctions.floatset_make(values, count)); - - public static IntPtr floatspan_make(double lower, double upper, bool lower_inc, bool upper_inc) - => SafeExecution(() => MEOSExternalFunctions.floatspan_make(lower, upper, lower_inc, upper_inc)); - - public static IntPtr geoset_make(IntPtr values, int count) - => SafeExecution(() => MEOSExternalFunctions.geoset_make(values, count)); - - public static IntPtr intset_make(IntPtr values, int count) - => SafeExecution(() => MEOSExternalFunctions.intset_make(values, count)); - - public static IntPtr intspan_make(int lower, int upper, bool lower_inc, bool upper_inc) - => SafeExecution(() => MEOSExternalFunctions.intspan_make(lower, upper, lower_inc, upper_inc)); - - public static IntPtr set_copy(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.set_copy(s)); - - public static IntPtr span_copy(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.span_copy(s)); - - public static IntPtr spanset_copy(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_copy(ss)); - - public static IntPtr spanset_make(IntPtr spans, int count, bool normalize) - => SafeExecution(() => MEOSExternalFunctions.spanset_make(spans, count, normalize)); - - public static IntPtr textset_make(IntPtr values, int count) - => SafeExecution(() => MEOSExternalFunctions.textset_make(values, count)); - - public static IntPtr tstzset_make(IntPtr values, int count) - => SafeExecution(() => MEOSExternalFunctions.tstzset_make(values, count)); - - public static IntPtr tstzspan_make(long lower, long upper, bool lower_inc, bool upper_inc) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_make(lower, upper, lower_inc, upper_inc)); - - public static IntPtr bigint_to_set(long i) - => SafeExecution(() => MEOSExternalFunctions.bigint_to_set(i)); - - public static IntPtr bigint_to_span(int i) - => SafeExecution(() => MEOSExternalFunctions.bigint_to_span(i)); - - public static IntPtr bigint_to_spanset(int i) - => SafeExecution(() => MEOSExternalFunctions.bigint_to_spanset(i)); - - public static IntPtr date_to_set(int d) - => SafeExecution(() => MEOSExternalFunctions.date_to_set(d)); - - public static IntPtr date_to_span(int d) - => SafeExecution(() => MEOSExternalFunctions.date_to_span(d)); - - public static IntPtr date_to_spanset(int d) - => SafeExecution(() => MEOSExternalFunctions.date_to_spanset(d)); - - public static IntPtr date_to_tstzspan(int d) - => SafeExecution(() => MEOSExternalFunctions.date_to_tstzspan(d)); - - public static IntPtr float_to_set(double d) - => SafeExecution(() => MEOSExternalFunctions.float_to_set(d)); - - public static IntPtr float_to_span(double d) - => SafeExecution(() => MEOSExternalFunctions.float_to_span(d)); - - public static IntPtr float_to_spanset(double d) - => SafeExecution(() => MEOSExternalFunctions.float_to_spanset(d)); - - public static IntPtr geo_to_set(IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.geo_to_set(gs)); - - public static IntPtr int_to_set(int i) - => SafeExecution(() => MEOSExternalFunctions.int_to_set(i)); - - public static IntPtr int_to_span(int i) - => SafeExecution(() => MEOSExternalFunctions.int_to_span(i)); - - public static IntPtr int_to_spanset(int i) - => SafeExecution(() => MEOSExternalFunctions.int_to_spanset(i)); - - public static IntPtr set_to_spanset(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.set_to_spanset(s)); - - public static IntPtr span_to_spanset(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.span_to_spanset(s)); - - public static IntPtr text_to_set(IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.text_to_set(txt)); - - public static IntPtr timestamptz_to_set(long t) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_set(t)); - - public static IntPtr timestamptz_to_span(long t) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_span(t)); - - public static IntPtr timestamptz_to_spanset(long t) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_spanset(t)); - - public static long bigintset_end_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.bigintset_end_value(s)); - - public static long bigintset_start_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.bigintset_start_value(s)); - - public static bool bigintset_value_n(IntPtr s, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.bigintset_value_n(s, n, result)); - - public static IntPtr bigintset_values(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.bigintset_values(s)); - - public static long bigintspan_lower(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.bigintspan_lower(s)); - - public static long bigintspan_upper(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.bigintspan_upper(s)); - - public static long bigintspanset_lower(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.bigintspanset_lower(ss)); - - public static long bigintspanset_upper(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.bigintspanset_upper(ss)); - - public static int dateset_end_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.dateset_end_value(s)); - - public static int dateset_start_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.dateset_start_value(s)); - - public static bool dateset_value_n(IntPtr s, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.dateset_value_n(s, n, result)); - - public static IntPtr dateset_values(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.dateset_values(s)); - - public static IntPtr datespan_duration(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.datespan_duration(s)); - - public static IntPtr datespanset_duration(IntPtr ss, bool boundspan) - => SafeExecution(() => MEOSExternalFunctions.datespanset_duration(ss, boundspan)); - - public static int datespanset_end_date(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.datespanset_end_date(ss)); - - public static int datespanset_num_dates(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.datespanset_num_dates(ss)); - - public static int datespanset_start_date(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.datespanset_start_date(ss)); - - public static bool datespanset_date_n(IntPtr ss, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.datespanset_date_n(ss, n, result)); - - public static IntPtr datespanset_dates(IntPtr ss, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.datespanset_dates(ss, count)); - - public static double floatset_end_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.floatset_end_value(s)); - - public static double floatset_start_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.floatset_start_value(s)); - - public static bool floatset_value_n(IntPtr s, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.floatset_value_n(s, n, result)); - - public static IntPtr floatset_values(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.floatset_values(s)); - - public static double floatspan_lower(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.floatspan_lower(s)); - - public static double floatspan_upper(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.floatspan_upper(s)); - - public static double floatspanset_lower(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.floatspanset_lower(ss)); - - public static double floatspanset_upper(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.floatspanset_upper(ss)); - - public static IntPtr geoset_end_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.geoset_end_value(s)); - - public static int geoset_srid(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.geoset_srid(s)); - - public static IntPtr geoset_set_srid(IntPtr s, int srid) - => SafeExecution(() => MEOSExternalFunctions.geoset_set_srid(s, srid)); - - public static IntPtr geoset_start_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.geoset_start_value(s)); - - public static bool geoset_value_n(IntPtr s, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.geoset_value_n(s, n, result)); - - public static IntPtr geoset_values(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.geoset_values(s)); - - public static int intset_end_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intset_end_value(s)); - - public static int intset_start_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intset_start_value(s)); - - public static bool intset_value_n(IntPtr s, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.intset_value_n(s, n, result)); - - public static IntPtr intset_values(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intset_values(s)); - - public static int intspan_lower(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intspan_lower(s)); - - public static int intspan_upper(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intspan_upper(s)); - - public static int intspanset_lower(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.intspanset_lower(ss)); - - public static int intspanset_upper(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.intspanset_upper(ss)); - - public static uint set_hash(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.set_hash(s)); - - public static ulong set_hash_extended(IntPtr s, ulong seed) - => SafeExecution(() => MEOSExternalFunctions.set_hash_extended(s, seed)); - - public static int set_num_values(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.set_num_values(s)); - - public static IntPtr set_to_span(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.set_to_span(s)); - - public static uint span_hash(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.span_hash(s)); - - public static ulong span_hash_extended(IntPtr s, ulong seed) - => SafeExecution(() => MEOSExternalFunctions.span_hash_extended(s, seed)); - - public static bool span_lower_inc(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.span_lower_inc(s)); - - public static bool span_upper_inc(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.span_upper_inc(s)); - - public static double span_width(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.span_width(s)); - - public static IntPtr spanset_end_span(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_end_span(ss)); - - public static uint spanset_hash(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_hash(ss)); - - public static ulong spanset_hash_extended(IntPtr ss, ulong seed) - => SafeExecution(() => MEOSExternalFunctions.spanset_hash_extended(ss, seed)); - - public static bool spanset_lower_inc(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_lower_inc(ss)); - - public static int spanset_num_spans(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_num_spans(ss)); - - public static IntPtr spanset_span(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_span(ss)); - - public static IntPtr spanset_span_n(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.spanset_span_n(ss, i)); - - public static IntPtr spanset_spans(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_spans(ss)); - - public static IntPtr spanset_start_span(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_start_span(ss)); - - public static bool spanset_upper_inc(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_upper_inc(ss)); - - public static double spanset_width(IntPtr ss, bool boundspan) - => SafeExecution(() => MEOSExternalFunctions.spanset_width(ss, boundspan)); - - public static IntPtr spatialset_to_stbox(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.spatialset_to_stbox(s)); - - public static IntPtr textset_end_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.textset_end_value(s)); - - public static IntPtr textset_start_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.textset_start_value(s)); - - public static bool textset_value_n(IntPtr s, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.textset_value_n(s, n, result)); - - public static IntPtr textset_values(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.textset_values(s)); - - public static long tstzset_end_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzset_end_value(s)); - - public static long tstzset_start_value(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzset_start_value(s)); - - public static bool tstzset_value_n(IntPtr s, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tstzset_value_n(s, n, result)); - - public static IntPtr tstzset_values(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzset_values(s)); - - public static IntPtr tstzspan_duration(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_duration(s)); - - public static long tstzspan_lower(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_lower(s)); - - public static long tstzspan_upper(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_upper(s)); - - public static IntPtr tstzspanset_duration(IntPtr ss, bool boundspan) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_duration(ss, boundspan)); - - public static long tstzspanset_end_timestamptz(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_end_timestamptz(ss)); - - public static long tstzspanset_lower(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_lower(ss)); - - public static int tstzspanset_num_timestamps(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_num_timestamps(ss)); - - public static long tstzspanset_start_timestamptz(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_start_timestamptz(ss)); - - public static bool tstzspanset_timestamptz_n(IntPtr ss, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_timestamptz_n(ss, n, result)); - - public static IntPtr tstzspanset_timestamps(IntPtr ss, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_timestamps(ss, count)); - - public static long tstzspanset_upper(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_upper(ss)); - - public static IntPtr bigintset_shift_scale(IntPtr s, long shift, long width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.bigintset_shift_scale(s, shift, width, hasshift, haswidth)); - - public static IntPtr bigintspan_shift_scale(IntPtr s, long shift, long width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.bigintspan_shift_scale(s, shift, width, hasshift, haswidth)); - - public static IntPtr bigintspanset_shift_scale(IntPtr ss, long shift, long width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.bigintspanset_shift_scale(ss, shift, width, hasshift, haswidth)); - - public static IntPtr dateset_shift_scale(IntPtr s, int shift, int width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.dateset_shift_scale(s, shift, width, hasshift, haswidth)); - - public static IntPtr dateset_to_tstzset(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.dateset_to_tstzset(s)); - - public static IntPtr datespan_shift_scale(IntPtr s, int shift, int width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.datespan_shift_scale(s, shift, width, hasshift, haswidth)); - - public static IntPtr datespan_to_tstzspan(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.datespan_to_tstzspan(s)); - - public static IntPtr datespanset_shift_scale(IntPtr ss, int shift, int width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.datespanset_shift_scale(ss, shift, width, hasshift, haswidth)); - - public static IntPtr datespanset_to_tstzspanset(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.datespanset_to_tstzspanset(ss)); - - public static IntPtr floatset_round(IntPtr s, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.floatset_round(s, maxdd)); - - public static IntPtr floatset_shift_scale(IntPtr s, double shift, double width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.floatset_shift_scale(s, shift, width, hasshift, haswidth)); - - public static IntPtr floatset_to_intset(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.floatset_to_intset(s)); - - public static IntPtr floatspan_round(IntPtr s, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.floatspan_round(s, maxdd)); - - public static IntPtr floatspan_shift_scale(IntPtr s, double shift, double width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.floatspan_shift_scale(s, shift, width, hasshift, haswidth)); - - public static IntPtr floatspan_to_intspan(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.floatspan_to_intspan(s)); - - public static IntPtr floatspanset_to_intspanset(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.floatspanset_to_intspanset(ss)); - - public static IntPtr floatspanset_round(IntPtr ss, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.floatspanset_round(ss, maxdd)); - - public static IntPtr floatspanset_shift_scale(IntPtr ss, double shift, double width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.floatspanset_shift_scale(ss, shift, width, hasshift, haswidth)); - - public static IntPtr geoset_round(IntPtr s, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.geoset_round(s, maxdd)); - - public static IntPtr intset_shift_scale(IntPtr s, int shift, int width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.intset_shift_scale(s, shift, width, hasshift, haswidth)); - - public static IntPtr intset_to_floatset(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intset_to_floatset(s)); - - public static IntPtr intspan_shift_scale(IntPtr s, int shift, int width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.intspan_shift_scale(s, shift, width, hasshift, haswidth)); - - public static IntPtr intspan_to_floatspan(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intspan_to_floatspan(s)); - - public static IntPtr intspanset_to_floatspanset(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.intspanset_to_floatspanset(ss)); - - public static IntPtr intspanset_shift_scale(IntPtr ss, int shift, int width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.intspanset_shift_scale(ss, shift, width, hasshift, haswidth)); - - public static IntPtr textset_lower(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.textset_lower(s)); - - public static IntPtr textset_upper(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.textset_upper(s)); - - public static long timestamptz_tprecision(long t, IntPtr duration, long torigin) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_tprecision(t, duration, torigin)); - - public static IntPtr tstzset_shift_scale(IntPtr s, IntPtr shift, IntPtr duration) - => SafeExecution(() => MEOSExternalFunctions.tstzset_shift_scale(s, shift, duration)); - - public static IntPtr tstzspan_shift_scale(IntPtr s, IntPtr shift, IntPtr duration) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_shift_scale(s, shift, duration)); - - public static IntPtr tstzspan_tprecision(IntPtr s, IntPtr duration, long torigin) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_tprecision(s, duration, torigin)); - - public static IntPtr tstzset_to_dateset(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzset_to_dateset(s)); - - public static IntPtr tstzspan_to_datespan(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_to_datespan(s)); - - public static IntPtr tstzspanset_to_datespanset(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_to_datespanset(ss)); - - public static IntPtr tstzspanset_shift_scale(IntPtr ss, IntPtr shift, IntPtr duration) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_shift_scale(ss, shift, duration)); - - public static IntPtr tstzspanset_tprecision(IntPtr ss, IntPtr duration, long torigin) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_tprecision(ss, duration, torigin)); - - public static IntPtr intersection_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.intersection_set_bigint(s, i)); - - public static IntPtr intersection_set_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.intersection_set_date(s, d)); - - public static IntPtr intersection_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.intersection_set_float(s, d)); - - public static IntPtr intersection_set_geo(IntPtr s, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.intersection_set_geo(s, gs)); - - public static IntPtr intersection_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.intersection_set_int(s, i)); - - public static IntPtr intersection_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.intersection_set_set(s1, s2)); - - public static IntPtr intersection_set_text(IntPtr s, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.intersection_set_text(s, txt)); - - public static IntPtr intersection_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.intersection_set_timestamptz(s, t)); - - public static IntPtr intersection_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.intersection_span_bigint(s, i)); - - public static IntPtr intersection_span_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.intersection_span_date(s, d)); - - public static IntPtr intersection_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.intersection_span_float(s, d)); - - public static IntPtr intersection_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.intersection_span_int(s, i)); - - public static IntPtr intersection_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.intersection_span_timestamptz(s, t)); - - public static IntPtr intersection_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.intersection_span_span(s1, s2)); - - public static IntPtr intersection_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_bigint(ss, i)); - - public static IntPtr intersection_spanset_date(IntPtr ss, int d) - => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_date(ss, d)); - - public static IntPtr intersection_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_float(ss, d)); - - public static IntPtr intersection_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_int(ss, i)); - - public static IntPtr intersection_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_span(ss, s)); - - public static IntPtr intersection_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_spanset(ss1, ss2)); - - public static IntPtr intersection_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_timestamptz(ss, t)); - - public static IntPtr minus_bigint_set(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_bigint_set(i, s)); - - public static IntPtr minus_bigint_span(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_bigint_span(i, s)); - - public static IntPtr minus_bigint_spanset(long i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.minus_bigint_spanset(i, ss)); - - public static IntPtr minus_date_set(int d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_date_set(d, s)); - - public static IntPtr minus_date_span(int d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_date_span(d, s)); - - public static IntPtr minus_date_spanset(int d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.minus_date_spanset(d, ss)); - - public static IntPtr minus_float_set(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_float_set(d, s)); - - public static IntPtr minus_float_span(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_float_span(d, s)); - - public static IntPtr minus_float_spanset(double d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.minus_float_spanset(d, ss)); - - public static IntPtr minus_geo_set(IntPtr gs, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_geo_set(gs, s)); - - public static IntPtr minus_int_set(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_int_set(i, s)); - - public static IntPtr minus_int_span(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_int_span(i, s)); - - public static IntPtr minus_int_spanset(int i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.minus_int_spanset(i, ss)); - - public static IntPtr minus_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.minus_set_bigint(s, i)); - - public static IntPtr minus_set_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.minus_set_date(s, d)); - - public static IntPtr minus_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.minus_set_float(s, d)); - - public static IntPtr minus_set_geo(IntPtr s, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.minus_set_geo(s, gs)); - - public static IntPtr minus_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.minus_set_int(s, i)); - - public static IntPtr minus_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.minus_set_set(s1, s2)); - - public static IntPtr minus_set_text(IntPtr s, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.minus_set_text(s, txt)); - - public static IntPtr minus_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.minus_set_timestamptz(s, t)); - - public static IntPtr minus_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.minus_span_bigint(s, i)); - - public static IntPtr minus_span_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.minus_span_date(s, d)); - - public static IntPtr minus_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.minus_span_float(s, d)); - - public static IntPtr minus_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.minus_span_int(s, i)); - - public static IntPtr minus_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.minus_span_span(s1, s2)); - - public static IntPtr minus_span_spanset(IntPtr s, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.minus_span_spanset(s, ss)); - - public static IntPtr minus_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.minus_span_timestamptz(s, t)); - - public static IntPtr minus_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.minus_spanset_bigint(ss, i)); - - public static IntPtr minus_spanset_date(IntPtr ss, int d) - => SafeExecution(() => MEOSExternalFunctions.minus_spanset_date(ss, d)); - - public static IntPtr minus_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.minus_spanset_float(ss, d)); - - public static IntPtr minus_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.minus_spanset_int(ss, i)); - - public static IntPtr minus_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_spanset_span(ss, s)); - - public static IntPtr minus_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.minus_spanset_spanset(ss1, ss2)); - - public static IntPtr minus_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.minus_spanset_timestamptz(ss, t)); - - public static IntPtr minus_text_set(IntPtr txt, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_text_set(txt, s)); - - public static IntPtr minus_timestamptz_span(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_timestamptz_span(t, s)); - - public static IntPtr minus_timestamptz_spanset(long t, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.minus_timestamptz_spanset(t, ss)); - - public static IntPtr minus_timestamptz_set(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.minus_timestamptz_set(t, s)); - - public static IntPtr super_union_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.super_union_span_span(s1, s2)); - - public static IntPtr union_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.union_set_bigint(s, i)); - - public static IntPtr union_set_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.union_set_date(s, d)); - - public static IntPtr union_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.union_set_float(s, d)); - - public static IntPtr union_set_geo(IntPtr s, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.union_set_geo(s, gs)); - - public static IntPtr union_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.union_set_int(s, i)); - - public static IntPtr union_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.union_set_set(s1, s2)); - - public static IntPtr union_set_text(IntPtr s, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.union_set_text(s, txt)); - - public static IntPtr union_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.union_set_timestamptz(s, t)); - - public static IntPtr union_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.union_span_bigint(s, i)); - - public static IntPtr union_span_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.union_span_date(s, d)); - - public static IntPtr union_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.union_span_float(s, d)); - - public static IntPtr union_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.union_span_int(s, i)); - - public static IntPtr union_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.union_span_span(s1, s2)); - - public static IntPtr union_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.union_span_timestamptz(s, t)); - - public static IntPtr union_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.union_spanset_bigint(ss, i)); - - public static IntPtr union_spanset_date(IntPtr ss, int d) - => SafeExecution(() => MEOSExternalFunctions.union_spanset_date(ss, d)); - - public static IntPtr union_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.union_spanset_float(ss, d)); - - public static IntPtr union_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.union_spanset_int(ss, i)); - - public static IntPtr union_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.union_spanset_span(ss, s)); - - public static IntPtr union_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.union_spanset_spanset(ss1, ss2)); - - public static IntPtr union_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.union_spanset_timestamptz(ss, t)); - - public static bool adjacent_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.adjacent_span_bigint(s, i)); - - public static bool adjacent_span_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.adjacent_span_date(s, d)); - - public static bool adjacent_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.adjacent_span_float(s, d)); - - public static bool adjacent_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.adjacent_span_int(s, i)); - - public static bool adjacent_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.adjacent_span_span(s1, s2)); - - public static bool adjacent_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.adjacent_span_timestamptz(s, t)); - - public static bool adjacent_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_bigint(ss, i)); - - public static bool adjacent_spanset_date(IntPtr ss, int d) - => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_date(ss, d)); - - public static bool adjacent_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_float(ss, d)); - - public static bool adjacent_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_int(ss, i)); - - public static bool adjacent_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_timestamptz(ss, t)); - - public static bool adjacent_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_span(ss, s)); - - public static bool adjacent_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_spanset(ss1, ss2)); - - public static bool contained_bigint_set(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_bigint_set(i, s)); - - public static bool contained_bigint_span(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_bigint_span(i, s)); - - public static bool contained_bigint_spanset(long i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.contained_bigint_spanset(i, ss)); - - public static bool contained_date_set(int d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_date_set(d, s)); - - public static bool contained_date_span(int d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_date_span(d, s)); - - public static bool contained_date_spanset(int d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.contained_date_spanset(d, ss)); - - public static bool contained_float_set(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_float_set(d, s)); - - public static bool contained_float_span(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_float_span(d, s)); - - public static bool contained_float_spanset(double d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.contained_float_spanset(d, ss)); - - public static bool contained_geo_set(IntPtr gs, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_geo_set(gs, s)); - - public static bool contained_int_set(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_int_set(i, s)); - - public static bool contained_int_span(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_int_span(i, s)); - - public static bool contained_int_spanset(int i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.contained_int_spanset(i, ss)); - - public static bool contained_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.contained_set_set(s1, s2)); - - public static bool contained_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.contained_span_span(s1, s2)); - - public static bool contained_span_spanset(IntPtr s, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.contained_span_spanset(s, ss)); - - public static bool contained_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_spanset_span(ss, s)); - - public static bool contained_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.contained_spanset_spanset(ss1, ss2)); - - public static bool contained_text_set(IntPtr txt, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_text_set(txt, s)); - - public static bool contained_timestamptz_set(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_timestamptz_set(t, s)); - - public static bool contained_timestamptz_span(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_timestamptz_span(t, s)); - - public static bool contained_timestamptz_spanset(long t, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.contained_timestamptz_spanset(t, ss)); - - public static bool contains_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.contains_set_bigint(s, i)); - - public static bool contains_set_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.contains_set_date(s, d)); - - public static bool contains_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.contains_set_float(s, d)); - - public static bool contains_set_geo(IntPtr s, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.contains_set_geo(s, gs)); - - public static bool contains_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.contains_set_int(s, i)); - - public static bool contains_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.contains_set_set(s1, s2)); - - public static bool contains_set_text(IntPtr s, IntPtr t) - => SafeExecution(() => MEOSExternalFunctions.contains_set_text(s, t)); - - public static bool contains_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.contains_set_timestamptz(s, t)); - - public static bool contains_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.contains_span_bigint(s, i)); - - public static bool contains_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.contains_span_float(s, d)); - - public static bool contains_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.contains_span_int(s, i)); - - public static bool contains_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.contains_span_span(s1, s2)); - - public static bool contains_span_spanset(IntPtr s, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.contains_span_spanset(s, ss)); - - public static bool contains_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.contains_span_timestamptz(s, t)); - - public static bool contains_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.contains_spanset_bigint(ss, i)); - - public static bool contains_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.contains_spanset_float(ss, d)); - - public static bool contains_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.contains_spanset_int(ss, i)); - - public static bool contains_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contains_spanset_span(ss, s)); - - public static bool contains_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.contains_spanset_spanset(ss1, ss2)); - - public static bool contains_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.contains_spanset_timestamptz(ss, t)); - - public static bool overlaps_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.overlaps_set_set(s1, s2)); - - public static bool overlaps_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.overlaps_span_span(s1, s2)); - - public static bool overlaps_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overlaps_spanset_span(ss, s)); - - public static bool overlaps_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.overlaps_spanset_spanset(ss1, ss2)); - - public static bool after_date_set(int d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.after_date_set(d, s)); - - public static bool after_date_span(int d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.after_date_span(d, s)); - - public static bool after_date_spanset(int d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.after_date_spanset(d, ss)); - - public static bool after_set_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.after_set_date(s, d)); - - public static bool after_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.after_set_timestamptz(s, t)); - - public static bool after_span_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.after_span_date(s, d)); - - public static bool after_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.after_span_timestamptz(s, t)); - - public static bool after_spanset_date(IntPtr ss, int d) - => SafeExecution(() => MEOSExternalFunctions.after_spanset_date(ss, d)); - - public static bool after_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.after_spanset_timestamptz(ss, t)); - - public static bool after_timestamptz_set(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.after_timestamptz_set(t, s)); - - public static bool after_timestamptz_span(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.after_timestamptz_span(t, s)); - - public static bool after_timestamptz_spanset(long t, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.after_timestamptz_spanset(t, ss)); - - public static bool before_date_set(int d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.before_date_set(d, s)); - - public static bool before_date_span(int d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.before_date_span(d, s)); - - public static bool before_date_spanset(int d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.before_date_spanset(d, ss)); - - public static bool before_set_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.before_set_date(s, d)); - - public static bool before_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.before_set_timestamptz(s, t)); - - public static bool before_span_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.before_span_date(s, d)); - - public static bool before_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.before_span_timestamptz(s, t)); - - public static bool before_spanset_date(IntPtr ss, int d) - => SafeExecution(() => MEOSExternalFunctions.before_spanset_date(ss, d)); - - public static bool before_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.before_spanset_timestamptz(ss, t)); - - public static bool before_timestamptz_set(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.before_timestamptz_set(t, s)); - - public static bool before_timestamptz_span(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.before_timestamptz_span(t, s)); - - public static bool before_timestamptz_spanset(long t, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.before_timestamptz_spanset(t, ss)); - - public static bool left_bigint_set(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_bigint_set(i, s)); - - public static bool left_bigint_span(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_bigint_span(i, s)); - - public static bool left_bigint_spanset(long i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.left_bigint_spanset(i, ss)); - - public static bool left_float_set(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_float_set(d, s)); - - public static bool left_float_span(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_float_span(d, s)); - - public static bool left_float_spanset(double d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.left_float_spanset(d, ss)); - - public static bool left_int_set(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_int_set(i, s)); - - public static bool left_int_span(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_int_span(i, s)); - - public static bool left_int_spanset(int i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.left_int_spanset(i, ss)); - - public static bool left_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.left_set_bigint(s, i)); - - public static bool left_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.left_set_float(s, d)); - - public static bool left_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.left_set_int(s, i)); - - public static bool left_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.left_set_set(s1, s2)); - - public static bool left_set_text(IntPtr s, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.left_set_text(s, txt)); - - public static bool left_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.left_span_bigint(s, i)); - - public static bool left_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.left_span_float(s, d)); - - public static bool left_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.left_span_int(s, i)); - - public static bool left_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.left_span_span(s1, s2)); - - public static bool left_span_spanset(IntPtr s, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.left_span_spanset(s, ss)); - - public static bool left_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.left_spanset_bigint(ss, i)); - - public static bool left_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.left_spanset_float(ss, d)); - - public static bool left_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.left_spanset_int(ss, i)); - - public static bool left_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_spanset_span(ss, s)); - - public static bool left_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.left_spanset_spanset(ss1, ss2)); - - public static bool left_text_set(IntPtr txt, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_text_set(txt, s)); - - public static bool overafter_set_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.overafter_set_date(s, d)); - - public static bool overafter_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.overafter_set_timestamptz(s, t)); - - public static bool overafter_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.overafter_span_timestamptz(s, t)); - - public static bool overafter_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.overafter_spanset_timestamptz(ss, t)); - - public static bool overafter_timestamptz_set(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overafter_timestamptz_set(t, s)); - - public static bool overafter_timestamptz_span(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overafter_timestamptz_span(t, s)); - - public static bool overafter_timestamptz_spanset(long t, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overafter_timestamptz_spanset(t, ss)); - - public static bool overbefore_set_date(IntPtr s, int d) - => SafeExecution(() => MEOSExternalFunctions.overbefore_set_date(s, d)); - - public static bool overbefore_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.overbefore_set_timestamptz(s, t)); - - public static bool overbefore_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.overbefore_span_timestamptz(s, t)); - - public static bool overbefore_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.overbefore_spanset_timestamptz(ss, t)); - - public static bool overbefore_timestamptz_set(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overbefore_timestamptz_set(t, s)); - - public static bool overbefore_timestamptz_span(long t, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overbefore_timestamptz_span(t, s)); - - public static bool overbefore_timestamptz_spanset(long t, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overbefore_timestamptz_spanset(t, ss)); - - public static bool overleft_bigint_set(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_bigint_set(i, s)); - - public static bool overleft_bigint_span(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_bigint_span(i, s)); - - public static bool overleft_bigint_spanset(long i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overleft_bigint_spanset(i, ss)); - - public static bool overleft_float_set(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_float_set(d, s)); - - public static bool overleft_float_span(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_float_span(d, s)); - - public static bool overleft_float_spanset(double d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overleft_float_spanset(d, ss)); - - public static bool overleft_int_set(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_int_set(i, s)); - - public static bool overleft_int_span(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_int_span(i, s)); - - public static bool overleft_int_spanset(int i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overleft_int_spanset(i, ss)); - - public static bool overleft_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.overleft_set_bigint(s, i)); - - public static bool overleft_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.overleft_set_float(s, d)); - - public static bool overleft_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.overleft_set_int(s, i)); - - public static bool overleft_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.overleft_set_set(s1, s2)); - - public static bool overleft_set_text(IntPtr s, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.overleft_set_text(s, txt)); - - public static bool overleft_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.overleft_span_bigint(s, i)); - - public static bool overleft_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.overleft_span_float(s, d)); - - public static bool overleft_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.overleft_span_int(s, i)); - - public static bool overleft_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.overleft_span_span(s1, s2)); - - public static bool overleft_span_spanset(IntPtr s, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overleft_span_spanset(s, ss)); - - public static bool overleft_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_bigint(ss, i)); - - public static bool overleft_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_float(ss, d)); - - public static bool overleft_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_int(ss, i)); - - public static bool overleft_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_span(ss, s)); - - public static bool overleft_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_spanset(ss1, ss2)); - - public static bool overleft_text_set(IntPtr txt, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_text_set(txt, s)); - - public static bool overright_bigint_set(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_bigint_set(i, s)); - - public static bool overright_bigint_span(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_bigint_span(i, s)); - - public static bool overright_bigint_spanset(long i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overright_bigint_spanset(i, ss)); - - public static bool overright_float_set(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_float_set(d, s)); - - public static bool overright_float_span(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_float_span(d, s)); - - public static bool overright_float_spanset(double d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overright_float_spanset(d, ss)); - - public static bool overright_int_set(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_int_set(i, s)); - - public static bool overright_int_span(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_int_span(i, s)); - - public static bool overright_int_spanset(int i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overright_int_spanset(i, ss)); - - public static bool overright_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.overright_set_bigint(s, i)); - - public static bool overright_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.overright_set_float(s, d)); - - public static bool overright_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.overright_set_int(s, i)); - - public static bool overright_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.overright_set_set(s1, s2)); - - public static bool overright_set_text(IntPtr s, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.overright_set_text(s, txt)); - - public static bool overright_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.overright_span_bigint(s, i)); - - public static bool overright_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.overright_span_float(s, d)); - - public static bool overright_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.overright_span_int(s, i)); - - public static bool overright_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.overright_span_span(s1, s2)); - - public static bool overright_span_spanset(IntPtr s, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.overright_span_spanset(s, ss)); - - public static bool overright_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.overright_spanset_bigint(ss, i)); - - public static bool overright_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.overright_spanset_float(ss, d)); - - public static bool overright_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.overright_spanset_int(ss, i)); - - public static bool overright_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_spanset_span(ss, s)); - - public static bool overright_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.overright_spanset_spanset(ss1, ss2)); - - public static bool overright_text_set(IntPtr txt, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_text_set(txt, s)); - - public static bool right_bigint_set(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_bigint_set(i, s)); - - public static bool right_bigint_span(long i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_bigint_span(i, s)); - - public static bool right_bigint_spanset(long i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.right_bigint_spanset(i, ss)); - - public static bool right_float_set(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_float_set(d, s)); - - public static bool right_float_span(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_float_span(d, s)); - - public static bool right_float_spanset(double d, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.right_float_spanset(d, ss)); - - public static bool right_int_set(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_int_set(i, s)); - - public static bool right_int_span(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_int_span(i, s)); - - public static bool right_int_spanset(int i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.right_int_spanset(i, ss)); - - public static bool right_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.right_set_bigint(s, i)); - - public static bool right_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.right_set_float(s, d)); - - public static bool right_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.right_set_int(s, i)); - - public static bool right_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.right_set_set(s1, s2)); - - public static bool right_set_text(IntPtr s, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.right_set_text(s, txt)); - - public static bool right_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.right_span_bigint(s, i)); - - public static bool right_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.right_span_float(s, d)); - - public static bool right_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.right_span_int(s, i)); - - public static bool right_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.right_span_span(s1, s2)); - - public static bool right_span_spanset(IntPtr s, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.right_span_spanset(s, ss)); - - public static bool right_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.right_spanset_bigint(ss, i)); - - public static bool right_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.right_spanset_float(ss, d)); - - public static bool right_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.right_spanset_int(ss, i)); - - public static bool right_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_spanset_span(ss, s)); - - public static bool right_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.right_spanset_spanset(ss1, ss2)); - - public static bool right_text_set(IntPtr txt, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_text_set(txt, s)); - - public static double distance_set_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.distance_set_bigint(s, i)); - - public static double distance_set_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.distance_set_float(s, d)); - - public static double distance_set_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.distance_set_int(s, i)); - - public static double distance_set_set(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.distance_set_set(s1, s2)); - - public static double distance_set_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.distance_set_timestamptz(s, t)); - - public static double distance_span_bigint(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.distance_span_bigint(s, i)); - - public static double distance_span_float(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.distance_span_float(s, d)); - - public static double distance_span_int(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.distance_span_int(s, i)); - - public static double distance_span_span(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.distance_span_span(s1, s2)); - - public static double distance_span_timestamptz(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.distance_span_timestamptz(s, t)); - - public static double distance_spanset_bigint(IntPtr ss, long i) - => SafeExecution(() => MEOSExternalFunctions.distance_spanset_bigint(ss, i)); - - public static double distance_spanset_float(IntPtr ss, double d) - => SafeExecution(() => MEOSExternalFunctions.distance_spanset_float(ss, d)); - - public static double distance_spanset_int(IntPtr ss, int i) - => SafeExecution(() => MEOSExternalFunctions.distance_spanset_int(ss, i)); - - public static double distance_spanset_timestamptz(IntPtr ss, long t) - => SafeExecution(() => MEOSExternalFunctions.distance_spanset_timestamptz(ss, t)); - - public static double distance_spanset_span(IntPtr ss, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.distance_spanset_span(ss, s)); - - public static double distance_spanset_spanset(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.distance_spanset_spanset(ss1, ss2)); - - public static int set_cmp(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.set_cmp(s1, s2)); - - public static bool set_eq(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.set_eq(s1, s2)); - - public static bool set_ge(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.set_ge(s1, s2)); - - public static bool set_gt(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.set_gt(s1, s2)); - - public static bool set_le(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.set_le(s1, s2)); - - public static bool set_lt(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.set_lt(s1, s2)); - - public static bool set_ne(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.set_ne(s1, s2)); - - public static int span_cmp(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.span_cmp(s1, s2)); - - public static bool span_eq(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.span_eq(s1, s2)); - - public static bool span_ge(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.span_ge(s1, s2)); - - public static bool span_gt(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.span_gt(s1, s2)); - - public static bool span_le(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.span_le(s1, s2)); - - public static bool span_lt(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.span_lt(s1, s2)); - - public static bool span_ne(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.span_ne(s1, s2)); - - public static int spanset_cmp(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.spanset_cmp(ss1, ss2)); - - public static bool spanset_eq(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.spanset_eq(ss1, ss2)); - - public static bool spanset_ge(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.spanset_ge(ss1, ss2)); - - public static bool spanset_gt(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.spanset_gt(ss1, ss2)); - - public static bool spanset_le(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.spanset_le(ss1, ss2)); - - public static bool spanset_lt(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.spanset_lt(ss1, ss2)); - - public static bool spanset_ne(IntPtr ss1, IntPtr ss2) - => SafeExecution(() => MEOSExternalFunctions.spanset_ne(ss1, ss2)); - - public static IntPtr bigint_extent_transfn(IntPtr s, long i) - => SafeExecution(() => MEOSExternalFunctions.bigint_extent_transfn(s, i)); - - public static IntPtr bigint_union_transfn(IntPtr state, long i) - => SafeExecution(() => MEOSExternalFunctions.bigint_union_transfn(state, i)); - - public static IntPtr float_extent_transfn(IntPtr s, double d) - => SafeExecution(() => MEOSExternalFunctions.float_extent_transfn(s, d)); - - public static IntPtr float_union_transfn(IntPtr state, double d) - => SafeExecution(() => MEOSExternalFunctions.float_union_transfn(state, d)); - - public static IntPtr int_extent_transfn(IntPtr s, int i) - => SafeExecution(() => MEOSExternalFunctions.int_extent_transfn(s, i)); - - public static IntPtr int_union_transfn(IntPtr state, int i) - => SafeExecution(() => MEOSExternalFunctions.int_union_transfn(state, i)); - - public static IntPtr set_extent_transfn(IntPtr span, IntPtr set) - => SafeExecution(() => MEOSExternalFunctions.set_extent_transfn(span, set)); - - public static IntPtr set_union_finalfn(IntPtr state) - => SafeExecution(() => MEOSExternalFunctions.set_union_finalfn(state)); - - public static IntPtr set_union_transfn(IntPtr state, IntPtr set) - => SafeExecution(() => MEOSExternalFunctions.set_union_transfn(state, set)); - - public static IntPtr span_extent_transfn(IntPtr s1, IntPtr s2) - => SafeExecution(() => MEOSExternalFunctions.span_extent_transfn(s1, s2)); - - public static IntPtr span_union_transfn(IntPtr state, IntPtr span) - => SafeExecution(() => MEOSExternalFunctions.span_union_transfn(state, span)); - - public static IntPtr spanset_extent_transfn(IntPtr s, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_extent_transfn(s, ss)); - - public static IntPtr spanset_union_finalfn(IntPtr state) - => SafeExecution(() => MEOSExternalFunctions.spanset_union_finalfn(state)); - - public static IntPtr spanset_union_transfn(IntPtr state, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.spanset_union_transfn(state, ss)); - - public static IntPtr text_union_transfn(IntPtr state, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.text_union_transfn(state, txt)); - - public static IntPtr timestamptz_extent_transfn(IntPtr s, long t) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_extent_transfn(s, t)); - - public static IntPtr timestamptz_tcount_transfn(IntPtr state, long t) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_tcount_transfn(state, t)); - - public static IntPtr timestamptz_union_transfn(IntPtr state, long t) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_union_transfn(state, t)); - - public static IntPtr tstzset_tcount_transfn(IntPtr state, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzset_tcount_transfn(state, s)); - - public static IntPtr tstzspan_tcount_transfn(IntPtr state, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_tcount_transfn(state, s)); - - public static IntPtr tstzspanset_tcount_transfn(IntPtr state, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_tcount_transfn(state, ss)); - - public static IntPtr tbox_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tbox_in(str)); - - public static string tbox_out(IntPtr box, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tbox_out(box, maxdd)); - - public static IntPtr tbox_from_wkb(IntPtr wkb, ulong size) - => SafeExecution(() => MEOSExternalFunctions.tbox_from_wkb(wkb, size)); - - public static IntPtr tbox_from_hexwkb(string hexwkb) - => SafeExecution(() => MEOSExternalFunctions.tbox_from_hexwkb(hexwkb)); - - public static IntPtr stbox_from_wkb(IntPtr wkb, ulong size) - => SafeExecution(() => MEOSExternalFunctions.stbox_from_wkb(wkb, size)); - - public static IntPtr stbox_from_hexwkb(string hexwkb) - => SafeExecution(() => MEOSExternalFunctions.stbox_from_hexwkb(hexwkb)); - - public static IntPtr tbox_as_wkb(IntPtr box, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.tbox_as_wkb(box, variant, size_out)); - - public static string tbox_as_hexwkb(IntPtr box, byte variant, IntPtr size) - => SafeExecution(() => MEOSExternalFunctions.tbox_as_hexwkb(box, variant, size)); - - public static IntPtr stbox_as_wkb(IntPtr box, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.stbox_as_wkb(box, variant, size_out)); - - public static string stbox_as_hexwkb(IntPtr box, byte variant, IntPtr size) - => SafeExecution(() => MEOSExternalFunctions.stbox_as_hexwkb(box, variant, size)); - - public static IntPtr stbox_in(string str) - => SafeExecution(() => MEOSExternalFunctions.stbox_in(str)); - - public static string stbox_out(IntPtr box, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.stbox_out(box, maxdd)); - - public static IntPtr float_tstzspan_to_tbox(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.float_tstzspan_to_tbox(d, s)); - - public static IntPtr float_timestamptz_to_tbox(double d, long t) - => SafeExecution(() => MEOSExternalFunctions.float_timestamptz_to_tbox(d, t)); - - public static IntPtr geo_tstzspan_to_stbox(IntPtr gs, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.geo_tstzspan_to_stbox(gs, s)); - - public static IntPtr geo_timestamptz_to_stbox(IntPtr gs, long t) - => SafeExecution(() => MEOSExternalFunctions.geo_timestamptz_to_stbox(gs, t)); - - public static IntPtr int_tstzspan_to_tbox(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.int_tstzspan_to_tbox(i, s)); - - public static IntPtr int_timestamptz_to_tbox(int i, long t) - => SafeExecution(() => MEOSExternalFunctions.int_timestamptz_to_tbox(i, t)); - - public static IntPtr numspan_tstzspan_to_tbox(IntPtr span, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.numspan_tstzspan_to_tbox(span, s)); - - public static IntPtr numspan_timestamptz_to_tbox(IntPtr span, long t) - => SafeExecution(() => MEOSExternalFunctions.numspan_timestamptz_to_tbox(span, t)); - - public static IntPtr stbox_copy(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_copy(box)); - - public static IntPtr stbox_make(bool hasx, bool hasz, bool geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.stbox_make(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, s)); - - public static IntPtr tbox_copy(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.tbox_copy(box)); - - public static IntPtr tbox_make(IntPtr s, IntPtr p) - => SafeExecution(() => MEOSExternalFunctions.tbox_make(s, p)); - - public static IntPtr box3d_to_stbox(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.box3d_to_stbox(box)); - - public static IntPtr gbox_to_stbox(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.gbox_to_stbox(box)); - - public static IntPtr float_to_tbox(double d) - => SafeExecution(() => MEOSExternalFunctions.float_to_tbox(d)); - - public static IntPtr geo_to_stbox(IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.geo_to_stbox(gs)); - - public static IntPtr int_to_tbox(int i) - => SafeExecution(() => MEOSExternalFunctions.int_to_tbox(i)); - - public static IntPtr numset_to_tbox(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.numset_to_tbox(s)); - - public static IntPtr numspan_to_tbox(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.numspan_to_tbox(s)); - - public static IntPtr numspanset_to_tbox(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.numspanset_to_tbox(ss)); - - public static IntPtr tstzspan_to_stbox(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_to_stbox(s)); - - public static IntPtr tstzspan_to_tbox(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_to_tbox(s)); - - public static IntPtr tstzspanset_to_stbox(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_to_stbox(ss)); - - public static IntPtr tstzspanset_to_tbox(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzspanset_to_tbox(ss)); - - public static IntPtr stbox_to_gbox(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_to_gbox(box)); - - public static IntPtr stbox_to_box3d(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_to_box3d(box)); - - public static IntPtr stbox_to_geo(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_to_geo(box)); - - public static IntPtr stbox_to_tstzspan(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_to_tstzspan(box)); - - public static IntPtr tbox_to_intspan(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.tbox_to_intspan(box)); - - public static IntPtr tbox_to_floatspan(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.tbox_to_floatspan(box)); - - public static IntPtr tbox_to_tstzspan(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.tbox_to_tstzspan(box)); - - public static IntPtr timestamptz_to_stbox(long t) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_stbox(t)); - - public static IntPtr timestamptz_to_tbox(long t) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_tbox(t)); - - public static IntPtr tstzset_to_stbox(IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tstzset_to_stbox(s)); - - public static IntPtr tstzset_to_tbox(IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tstzset_to_tbox(ss)); - - public static IntPtr tnumber_to_tbox(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_to_tbox(temp)); - - public static IntPtr tpoint_to_stbox(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_to_stbox(temp)); - - public static bool stbox_hast(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_hast(box)); - - public static bool stbox_hasx(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_hasx(box)); - - public static bool stbox_hasz(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_hasz(box)); - - public static bool stbox_isgeodetic(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_isgeodetic(box)); - - public static int stbox_srid(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_srid(box)); - - public static bool stbox_tmax(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_tmax(box, result)); - - public static bool stbox_tmax_inc(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_tmax_inc(box, result)); - - public static bool stbox_tmin(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_tmin(box, result)); - - public static bool stbox_tmin_inc(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_tmin_inc(box, result)); - - public static bool stbox_xmax(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_xmax(box, result)); - - public static bool stbox_xmin(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_xmin(box, result)); - - public static bool stbox_ymax(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_ymax(box, result)); - - public static bool stbox_ymin(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_ymin(box, result)); - - public static bool stbox_zmax(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_zmax(box, result)); - - public static bool stbox_zmin(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.stbox_zmin(box, result)); - - public static bool tbox_hast(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.tbox_hast(box)); - - public static bool tbox_hasx(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.tbox_hasx(box)); - - public static bool tbox_tmax(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tbox_tmax(box, result)); - - public static bool tbox_tmax_inc(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tbox_tmax_inc(box, result)); - - public static bool tbox_tmin(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tbox_tmin(box, result)); - - public static bool tbox_tmin_inc(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tbox_tmin_inc(box, result)); - - public static bool tbox_xmax(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tbox_xmax(box, result)); - - public static bool tbox_xmax_inc(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tbox_xmax_inc(box, result)); - - public static bool tbox_xmin(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tbox_xmin(box, result)); - - public static bool tbox_xmin_inc(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tbox_xmin_inc(box, result)); - - public static bool tboxfloat_xmax(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tboxfloat_xmax(box, result)); - - public static bool tboxfloat_xmin(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tboxfloat_xmin(box, result)); - - public static bool tboxint_xmax(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tboxint_xmax(box, result)); - - public static bool tboxint_xmin(IntPtr box, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tboxint_xmin(box, result)); - - public static IntPtr stbox_expand_space(IntPtr box, double d) - => SafeExecution(() => MEOSExternalFunctions.stbox_expand_space(box, d)); - - public static IntPtr stbox_expand_time(IntPtr box, IntPtr interval) - => SafeExecution(() => MEOSExternalFunctions.stbox_expand_time(box, interval)); - - public static IntPtr stbox_get_space(IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.stbox_get_space(box)); - - public static IntPtr stbox_round(IntPtr box, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.stbox_round(box, maxdd)); - - public static IntPtr stbox_set_srid(IntPtr box, int srid) - => SafeExecution(() => MEOSExternalFunctions.stbox_set_srid(box, srid)); - - public static IntPtr stbox_shift_scale_time(IntPtr box, IntPtr shift, IntPtr duration) - => SafeExecution(() => MEOSExternalFunctions.stbox_shift_scale_time(box, shift, duration)); - - public static IntPtr tbox_expand_time(IntPtr box, IntPtr interval) - => SafeExecution(() => MEOSExternalFunctions.tbox_expand_time(box, interval)); - - public static IntPtr tbox_expand_float(IntPtr box, double d) - => SafeExecution(() => MEOSExternalFunctions.tbox_expand_float(box, d)); - - public static IntPtr tbox_expand_int(IntPtr box, int i) - => SafeExecution(() => MEOSExternalFunctions.tbox_expand_int(box, i)); - - public static IntPtr tbox_round(IntPtr box, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tbox_round(box, maxdd)); - - public static IntPtr tbox_shift_scale_float(IntPtr box, double shift, double width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.tbox_shift_scale_float(box, shift, width, hasshift, haswidth)); - - public static IntPtr tbox_shift_scale_int(IntPtr box, int shift, int width, bool hasshift, bool haswidth) - => SafeExecution(() => MEOSExternalFunctions.tbox_shift_scale_int(box, shift, width, hasshift, haswidth)); - - public static IntPtr tbox_shift_scale_time(IntPtr box, IntPtr shift, IntPtr duration) - => SafeExecution(() => MEOSExternalFunctions.tbox_shift_scale_time(box, shift, duration)); - - public static IntPtr union_tbox_tbox(IntPtr box1, IntPtr box2, bool strict) - => SafeExecution(() => MEOSExternalFunctions.union_tbox_tbox(box1, box2, strict)); - - public static bool inter_tbox_tbox(IntPtr box1, IntPtr box2, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.inter_tbox_tbox(box1, box2, result)); - - public static IntPtr intersection_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.intersection_tbox_tbox(box1, box2)); - - public static IntPtr union_stbox_stbox(IntPtr box1, IntPtr box2, bool strict) - => SafeExecution(() => MEOSExternalFunctions.union_stbox_stbox(box1, box2, strict)); - - public static bool inter_stbox_stbox(IntPtr box1, IntPtr box2, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.inter_stbox_stbox(box1, box2, result)); - - public static IntPtr intersection_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.intersection_stbox_stbox(box1, box2)); - - public static bool contains_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.contains_tbox_tbox(box1, box2)); - - public static bool contained_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.contained_tbox_tbox(box1, box2)); - - public static bool overlaps_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overlaps_tbox_tbox(box1, box2)); - - public static bool same_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.same_tbox_tbox(box1, box2)); - - public static bool adjacent_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.adjacent_tbox_tbox(box1, box2)); - - public static bool contains_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.contains_stbox_stbox(box1, box2)); - - public static bool contained_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.contained_stbox_stbox(box1, box2)); - - public static bool overlaps_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overlaps_stbox_stbox(box1, box2)); - - public static bool same_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.same_stbox_stbox(box1, box2)); - - public static bool adjacent_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.adjacent_stbox_stbox(box1, box2)); - - public static bool left_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.left_tbox_tbox(box1, box2)); - - public static bool overleft_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overleft_tbox_tbox(box1, box2)); - - public static bool right_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.right_tbox_tbox(box1, box2)); - - public static bool overright_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overright_tbox_tbox(box1, box2)); - - public static bool before_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.before_tbox_tbox(box1, box2)); - - public static bool overbefore_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overbefore_tbox_tbox(box1, box2)); - - public static bool after_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.after_tbox_tbox(box1, box2)); - - public static bool overafter_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overafter_tbox_tbox(box1, box2)); - - public static bool left_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.left_stbox_stbox(box1, box2)); - - public static bool overleft_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overleft_stbox_stbox(box1, box2)); - - public static bool right_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.right_stbox_stbox(box1, box2)); - - public static bool overright_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overright_stbox_stbox(box1, box2)); - - public static bool below_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.below_stbox_stbox(box1, box2)); - - public static bool overbelow_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overbelow_stbox_stbox(box1, box2)); - - public static bool above_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.above_stbox_stbox(box1, box2)); - - public static bool overabove_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overabove_stbox_stbox(box1, box2)); - - public static bool front_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.front_stbox_stbox(box1, box2)); - - public static bool overfront_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overfront_stbox_stbox(box1, box2)); - - public static bool back_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.back_stbox_stbox(box1, box2)); - - public static bool overback_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overback_stbox_stbox(box1, box2)); - - public static bool before_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.before_stbox_stbox(box1, box2)); - - public static bool overbefore_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overbefore_stbox_stbox(box1, box2)); - - public static bool after_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.after_stbox_stbox(box1, box2)); - - public static bool overafter_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.overafter_stbox_stbox(box1, box2)); - - public static IntPtr stbox_quad_split(IntPtr box, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.stbox_quad_split(box, count)); - - public static bool tbox_eq(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.tbox_eq(box1, box2)); - - public static bool tbox_ne(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.tbox_ne(box1, box2)); - - public static int tbox_cmp(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.tbox_cmp(box1, box2)); - - public static bool tbox_lt(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.tbox_lt(box1, box2)); - - public static bool tbox_le(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.tbox_le(box1, box2)); - - public static bool tbox_ge(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.tbox_ge(box1, box2)); - - public static bool tbox_gt(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.tbox_gt(box1, box2)); - - public static bool stbox_eq(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.stbox_eq(box1, box2)); - - public static bool stbox_ne(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.stbox_ne(box1, box2)); - - public static int stbox_cmp(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.stbox_cmp(box1, box2)); - - public static bool stbox_lt(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.stbox_lt(box1, box2)); - - public static bool stbox_le(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.stbox_le(box1, box2)); - - public static bool stbox_ge(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.stbox_ge(box1, box2)); - - public static bool stbox_gt(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.stbox_gt(box1, box2)); - - public static IntPtr tbool_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tbool_in(str)); - - public static string tbool_out(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tbool_out(temp)); - - public static string temporal_as_hexwkb(IntPtr temp, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.temporal_as_hexwkb(temp, variant, size_out)); - - public static string temporal_as_mfjson(IntPtr temp, bool with_bbox, int flags, int precision, string srs) - => SafeExecution(() => MEOSExternalFunctions.temporal_as_mfjson(temp, with_bbox, flags, precision, srs)); - - public static IntPtr temporal_as_wkb(IntPtr temp, byte variant, IntPtr size_out) - => SafeExecution(() => MEOSExternalFunctions.temporal_as_wkb(temp, variant, size_out)); - - public static IntPtr temporal_from_hexwkb(string hexwkb) - => SafeExecution(() => MEOSExternalFunctions.temporal_from_hexwkb(hexwkb)); - - public static IntPtr temporal_from_mfjson(string mfjson) - => SafeExecution(() => MEOSExternalFunctions.temporal_from_mfjson(mfjson)); - - public static IntPtr temporal_from_wkb(IntPtr wkb, ulong size) - => SafeExecution(() => MEOSExternalFunctions.temporal_from_wkb(wkb, size)); - - public static IntPtr tfloat_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tfloat_in(str)); - - public static string tfloat_out(IntPtr temp, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tfloat_out(temp, maxdd)); - - public static IntPtr tgeogpoint_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tgeogpoint_in(str)); - - public static IntPtr tgeompoint_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tgeompoint_in(str)); - - public static IntPtr tint_in(string str) - => SafeExecution(() => MEOSExternalFunctions.tint_in(str)); - - public static string tint_out(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_out(temp)); - - public static string tpoint_as_ewkt(IntPtr temp, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tpoint_as_ewkt(temp, maxdd)); - - public static string tpoint_as_text(IntPtr temp, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tpoint_as_text(temp, maxdd)); - - public static string tpoint_out(IntPtr temp, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tpoint_out(temp, maxdd)); - - public static IntPtr ttext_in(string str) - => SafeExecution(() => MEOSExternalFunctions.ttext_in(str)); - - public static string ttext_out(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_out(temp)); - - public static IntPtr temporal_cp(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_cp(temp)); - - public static IntPtr tbool_from_base_temp(bool b, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tbool_from_base_temp(b, temp)); - - public static IntPtr tboolinst_make(bool b, long t) - => SafeExecution(() => MEOSExternalFunctions.tboolinst_make(b, t)); - - public static IntPtr tboolseq_from_base_tstzset(bool b, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tboolseq_from_base_tstzset(b, s)); - - public static IntPtr tboolseq_from_base_tstzspan(bool b, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tboolseq_from_base_tstzspan(b, s)); - - public static IntPtr tboolseqset_from_base_tstzspanset(bool b, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tboolseqset_from_base_tstzspanset(b, ss)); - - public static IntPtr temporal_copy(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_copy(temp)); - - public static IntPtr tfloat_from_base_temp(double d, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_from_base_temp(d, temp)); - - public static IntPtr tfloatinst_make(double d, long t) - => SafeExecution(() => MEOSExternalFunctions.tfloatinst_make(d, t)); - - public static IntPtr tfloatseq_from_base_tstzspan(double d, IntPtr s, InterpolationType interp) - => SafeExecution(() => MEOSExternalFunctions.tfloatseq_from_base_tstzspan(d, s, interp)); - - public static IntPtr tfloatseq_from_base_tstzset(double d, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tfloatseq_from_base_tstzset(d, s)); - - public static IntPtr tfloatseqset_from_base_tstzspanset(double d, IntPtr ss, InterpolationType interp) - => SafeExecution(() => MEOSExternalFunctions.tfloatseqset_from_base_tstzspanset(d, ss, interp)); - - public static IntPtr tint_from_base_temp(int i, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_from_base_temp(i, temp)); - - public static IntPtr tintinst_make(int i, long t) - => SafeExecution(() => MEOSExternalFunctions.tintinst_make(i, t)); - - public static IntPtr tintseq_from_base_tstzspan(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tintseq_from_base_tstzspan(i, s)); - - public static IntPtr tintseq_from_base_tstzset(int i, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tintseq_from_base_tstzset(i, s)); - - public static IntPtr tintseqset_from_base_tstzspanset(int i, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tintseqset_from_base_tstzspanset(i, ss)); - - public static IntPtr tpoint_from_base_temp(IntPtr gs, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_from_base_temp(gs, temp)); - - public static IntPtr tpointinst_make(IntPtr gs, long t) - => SafeExecution(() => MEOSExternalFunctions.tpointinst_make(gs, t)); - - public static IntPtr tpointseq_from_base_tstzspan(IntPtr gs, IntPtr s, InterpolationType interp) - => SafeExecution(() => MEOSExternalFunctions.tpointseq_from_base_tstzspan(gs, s, interp)); - - public static IntPtr tpointseq_from_base_tstzset(IntPtr gs, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.tpointseq_from_base_tstzset(gs, s)); - - public static IntPtr tpointseqset_from_base_tstzspanset(IntPtr gs, IntPtr ss, InterpolationType interp) - => SafeExecution(() => MEOSExternalFunctions.tpointseqset_from_base_tstzspanset(gs, ss, interp)); - - public static IntPtr tsequence_make(IntPtr instants, int count, bool lower_inc, bool upper_inc, InterpolationType interp, bool normalize) - => SafeExecution(() => MEOSExternalFunctions.tsequence_make(instants, count, lower_inc, upper_inc, interp, normalize)); - - public static IntPtr tsequenceset_make(IntPtr sequences, int count, bool normalize) - => SafeExecution(() => MEOSExternalFunctions.tsequenceset_make(sequences, count, normalize)); - - public static IntPtr tsequenceset_make_gaps(IntPtr instants, int count, InterpolationType interp, IntPtr maxt, double maxdist) - => SafeExecution(() => MEOSExternalFunctions.tsequenceset_make_gaps(instants, count, interp, maxt, maxdist)); - - public static IntPtr ttext_from_base_temp(IntPtr txt, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_from_base_temp(txt, temp)); - - public static IntPtr ttextinst_make(IntPtr txt, long t) - => SafeExecution(() => MEOSExternalFunctions.ttextinst_make(txt, t)); - - public static IntPtr ttextseq_from_base_tstzspan(IntPtr txt, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.ttextseq_from_base_tstzspan(txt, s)); - - public static IntPtr ttextseq_from_base_tstzset(IntPtr txt, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.ttextseq_from_base_tstzset(txt, s)); - - public static IntPtr ttextseqset_from_base_tstzspanset(IntPtr txt, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.ttextseqset_from_base_tstzspanset(txt, ss)); - - public static IntPtr temporal_to_tstzspan(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_to_tstzspan(temp)); - - public static IntPtr tfloat_to_tint(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_to_tint(temp)); - - public static IntPtr tint_to_tfloat(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_to_tfloat(temp)); - - public static IntPtr tnumber_to_span(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_to_span(temp)); - - public static bool tbool_end_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tbool_end_value(temp)); - - public static bool tbool_start_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tbool_start_value(temp)); - - public static IntPtr tbool_values(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tbool_values(temp, count)); - - public static IntPtr temporal_duration(IntPtr temp, bool boundspan) - => SafeExecution(() => MEOSExternalFunctions.temporal_duration(temp, boundspan)); - - public static IntPtr temporal_end_instant(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_end_instant(temp)); - - public static IntPtr temporal_end_sequence(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_end_sequence(temp)); - - public static long temporal_end_timestamptz(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_end_timestamptz(temp)); - - public static uint temporal_hash(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_hash(temp)); - - public static IntPtr temporal_instant_n(IntPtr temp, int n) - => SafeExecution(() => MEOSExternalFunctions.temporal_instant_n(temp, n)); - - public static IntPtr temporal_instants(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.temporal_instants(temp, count)); - - public static string temporal_interp(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_interp(temp)); - - public static IntPtr temporal_max_instant(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_max_instant(temp)); - - public static IntPtr temporal_min_instant(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_min_instant(temp)); - - public static int temporal_num_instants(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_num_instants(temp)); - - public static int temporal_num_sequences(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_num_sequences(temp)); - - public static int temporal_num_timestamps(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_num_timestamps(temp)); - - public static IntPtr temporal_segments(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.temporal_segments(temp, count)); - - public static IntPtr temporal_sequence_n(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.temporal_sequence_n(temp, i)); - - public static IntPtr temporal_sequences(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.temporal_sequences(temp, count)); - - public static IntPtr temporal_start_instant(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_start_instant(temp)); - - public static IntPtr temporal_start_sequence(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_start_sequence(temp)); - - public static long temporal_start_timestamptz(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_start_timestamptz(temp)); - - public static IntPtr temporal_stops(IntPtr temp, double maxdist, IntPtr minduration) - => SafeExecution(() => MEOSExternalFunctions.temporal_stops(temp, maxdist, minduration)); - - public static string temporal_subtype(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_subtype(temp)); - - public static IntPtr temporal_time(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_time(temp)); - - public static bool temporal_timestamptz_n(IntPtr temp, int n, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.temporal_timestamptz_n(temp, n, result)); - - public static IntPtr temporal_timestamps(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.temporal_timestamps(temp, count)); - - public static double tfloat_end_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_end_value(temp)); - - public static double tfloat_max_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_max_value(temp)); - - public static double tfloat_min_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_min_value(temp)); - - public static double tfloat_start_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_start_value(temp)); - - public static IntPtr tfloat_values(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tfloat_values(temp, count)); - - public static int tint_end_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_end_value(temp)); - - public static int tint_max_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_max_value(temp)); - - public static int tint_min_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_min_value(temp)); - - public static int tint_start_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_start_value(temp)); - - public static IntPtr tint_values(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tint_values(temp, count)); - - public static IntPtr tnumber_valuespans(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_valuespans(temp)); - - public static IntPtr tpoint_end_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_end_value(temp)); - - public static IntPtr tpoint_start_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_start_value(temp)); - - public static IntPtr tpoint_values(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tpoint_values(temp, count)); - - public static IntPtr ttext_end_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_end_value(temp)); - - public static IntPtr ttext_max_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_max_value(temp)); - - public static IntPtr ttext_min_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_min_value(temp)); - - public static IntPtr ttext_start_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_start_value(temp)); - - public static IntPtr ttext_values(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.ttext_values(temp, count)); - - public static IntPtr temporal_scale_time(IntPtr temp, IntPtr duration) - => SafeExecution(() => MEOSExternalFunctions.temporal_scale_time(temp, duration)); - - public static IntPtr temporal_set_interp(IntPtr temp, InterpolationType interp) - => SafeExecution(() => MEOSExternalFunctions.temporal_set_interp(temp, interp)); - - public static IntPtr temporal_shift_scale_time(IntPtr temp, IntPtr shift, IntPtr duration) - => SafeExecution(() => MEOSExternalFunctions.temporal_shift_scale_time(temp, shift, duration)); - - public static IntPtr temporal_shift_time(IntPtr temp, IntPtr shift) - => SafeExecution(() => MEOSExternalFunctions.temporal_shift_time(temp, shift)); - - public static IntPtr temporal_to_tinstant(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_to_tinstant(temp)); - - public static IntPtr temporal_to_tsequence(IntPtr temp, InterpolationType interp) - => SafeExecution(() => MEOSExternalFunctions.temporal_to_tsequence(temp, interp)); - - public static IntPtr temporal_to_tsequenceset(IntPtr temp, InterpolationType interp) - => SafeExecution(() => MEOSExternalFunctions.temporal_to_tsequenceset(temp, interp)); - - public static IntPtr tfloat_scale_value(IntPtr temp, double width) - => SafeExecution(() => MEOSExternalFunctions.tfloat_scale_value(temp, width)); - - public static IntPtr tfloat_shift_scale_value(IntPtr temp, double shift, double width) - => SafeExecution(() => MEOSExternalFunctions.tfloat_shift_scale_value(temp, shift, width)); - - public static IntPtr tfloat_shift_value(IntPtr temp, double shift) - => SafeExecution(() => MEOSExternalFunctions.tfloat_shift_value(temp, shift)); - - public static IntPtr tint_scale_value(IntPtr temp, int width) - => SafeExecution(() => MEOSExternalFunctions.tint_scale_value(temp, width)); - - public static IntPtr tint_shift_scale_value(IntPtr temp, int shift, int width) - => SafeExecution(() => MEOSExternalFunctions.tint_shift_scale_value(temp, shift, width)); - - public static IntPtr tint_shift_value(IntPtr temp, int shift) - => SafeExecution(() => MEOSExternalFunctions.tint_shift_value(temp, shift)); - - public static IntPtr temporal_append_tinstant(IntPtr temp, IntPtr inst, double maxdist, IntPtr maxt, bool expand) - => SafeExecution(() => MEOSExternalFunctions.temporal_append_tinstant(temp, inst, maxdist, maxt, expand)); - - public static IntPtr temporal_append_tsequence(IntPtr temp, IntPtr seq, bool expand) - => SafeExecution(() => MEOSExternalFunctions.temporal_append_tsequence(temp, seq, expand)); - - public static IntPtr temporal_delete_tstzspan(IntPtr temp, IntPtr s, bool connect) - => SafeExecution(() => MEOSExternalFunctions.temporal_delete_tstzspan(temp, s, connect)); - - public static IntPtr temporal_delete_tstzspanset(IntPtr temp, IntPtr ss, bool connect) - => SafeExecution(() => MEOSExternalFunctions.temporal_delete_tstzspanset(temp, ss, connect)); - - public static IntPtr temporal_delete_timestamptz(IntPtr temp, long t, bool connect) - => SafeExecution(() => MEOSExternalFunctions.temporal_delete_timestamptz(temp, t, connect)); - - public static IntPtr temporal_delete_tstzset(IntPtr temp, IntPtr s, bool connect) - => SafeExecution(() => MEOSExternalFunctions.temporal_delete_tstzset(temp, s, connect)); - - public static IntPtr temporal_insert(IntPtr temp1, IntPtr temp2, bool connect) - => SafeExecution(() => MEOSExternalFunctions.temporal_insert(temp1, temp2, connect)); - - public static IntPtr temporal_merge(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_merge(temp1, temp2)); - - public static IntPtr temporal_merge_array(IntPtr temparr, int count) - => SafeExecution(() => MEOSExternalFunctions.temporal_merge_array(temparr, count)); - - public static IntPtr temporal_update(IntPtr temp1, IntPtr temp2, bool connect) - => SafeExecution(() => MEOSExternalFunctions.temporal_update(temp1, temp2, connect)); - - public static IntPtr tbool_at_value(IntPtr temp, bool b) - => SafeExecution(() => MEOSExternalFunctions.tbool_at_value(temp, b)); - - public static IntPtr tbool_minus_value(IntPtr temp, bool b) - => SafeExecution(() => MEOSExternalFunctions.tbool_minus_value(temp, b)); - - public static bool tbool_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) - => SafeExecution(() => MEOSExternalFunctions.tbool_value_at_timestamptz(temp, t, strict, value)); - - public static IntPtr temporal_at_max(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_at_max(temp)); - - public static IntPtr temporal_at_min(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_at_min(temp)); - - public static IntPtr temporal_at_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.temporal_at_tstzspan(temp, s)); - - public static IntPtr temporal_at_tstzspanset(IntPtr temp, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.temporal_at_tstzspanset(temp, ss)); - - public static IntPtr temporal_at_timestamptz(IntPtr temp, long t) - => SafeExecution(() => MEOSExternalFunctions.temporal_at_timestamptz(temp, t)); - - public static IntPtr temporal_at_tstzset(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.temporal_at_tstzset(temp, s)); - - public static IntPtr temporal_at_values(IntPtr temp, IntPtr set) - => SafeExecution(() => MEOSExternalFunctions.temporal_at_values(temp, set)); - - public static IntPtr temporal_minus_max(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_minus_max(temp)); - - public static IntPtr temporal_minus_min(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_minus_min(temp)); - - public static IntPtr temporal_minus_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.temporal_minus_tstzspan(temp, s)); - - public static IntPtr temporal_minus_tstzspanset(IntPtr temp, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.temporal_minus_tstzspanset(temp, ss)); - - public static IntPtr temporal_minus_timestamptz(IntPtr temp, long t) - => SafeExecution(() => MEOSExternalFunctions.temporal_minus_timestamptz(temp, t)); - - public static IntPtr temporal_minus_tstzset(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.temporal_minus_tstzset(temp, s)); - - public static IntPtr temporal_minus_values(IntPtr temp, IntPtr set) - => SafeExecution(() => MEOSExternalFunctions.temporal_minus_values(temp, set)); - - public static IntPtr tfloat_at_value(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tfloat_at_value(temp, d)); - - public static IntPtr tfloat_minus_value(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tfloat_minus_value(temp, d)); - - public static bool tfloat_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) - => SafeExecution(() => MEOSExternalFunctions.tfloat_value_at_timestamptz(temp, t, strict, value)); - - public static IntPtr tint_at_value(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tint_at_value(temp, i)); - - public static IntPtr tint_minus_value(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tint_minus_value(temp, i)); - - public static bool tint_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) - => SafeExecution(() => MEOSExternalFunctions.tint_value_at_timestamptz(temp, t, strict, value)); - - public static IntPtr tnumber_at_span(IntPtr temp, IntPtr span) - => SafeExecution(() => MEOSExternalFunctions.tnumber_at_span(temp, span)); - - public static IntPtr tnumber_at_spanset(IntPtr temp, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tnumber_at_spanset(temp, ss)); - - public static IntPtr tnumber_at_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.tnumber_at_tbox(temp, box)); - - public static IntPtr tnumber_minus_span(IntPtr temp, IntPtr span) - => SafeExecution(() => MEOSExternalFunctions.tnumber_minus_span(temp, span)); - - public static IntPtr tnumber_minus_spanset(IntPtr temp, IntPtr ss) - => SafeExecution(() => MEOSExternalFunctions.tnumber_minus_spanset(temp, ss)); - - public static IntPtr tnumber_minus_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.tnumber_minus_tbox(temp, box)); - - public static IntPtr tpoint_at_geom_time(IntPtr temp, IntPtr gs, IntPtr zspan, IntPtr period) - => SafeExecution(() => MEOSExternalFunctions.tpoint_at_geom_time(temp, gs, zspan, period)); - - public static IntPtr tpoint_at_stbox(IntPtr temp, IntPtr box, bool border_inc) - => SafeExecution(() => MEOSExternalFunctions.tpoint_at_stbox(temp, box, border_inc)); - - public static IntPtr tpoint_at_value(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.tpoint_at_value(temp, gs)); - - public static IntPtr tpoint_minus_geom_time(IntPtr temp, IntPtr gs, IntPtr zspan, IntPtr period) - => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_geom_time(temp, gs, zspan, period)); - - public static IntPtr tpoint_minus_stbox(IntPtr temp, IntPtr box, bool border_inc) - => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_stbox(temp, box, border_inc)); - - public static IntPtr tpoint_minus_value(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_value(temp, gs)); - - public static bool tpoint_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) - => SafeExecution(() => MEOSExternalFunctions.tpoint_value_at_timestamptz(temp, t, strict, value)); - - public static IntPtr ttext_at_value(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.ttext_at_value(temp, txt)); - - public static IntPtr ttext_minus_value(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.ttext_minus_value(temp, txt)); - - public static bool ttext_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) - => SafeExecution(() => MEOSExternalFunctions.ttext_value_at_timestamptz(temp, t, strict, value)); - - public static int temporal_cmp(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_cmp(temp1, temp2)); - - public static bool temporal_eq(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_eq(temp1, temp2)); - - public static bool temporal_ge(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_ge(temp1, temp2)); - - public static bool temporal_gt(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_gt(temp1, temp2)); - - public static bool temporal_le(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_le(temp1, temp2)); - - public static bool temporal_lt(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_lt(temp1, temp2)); - - public static bool temporal_ne(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_ne(temp1, temp2)); - - public static bool tbool_always_eq(IntPtr temp, bool b) - => SafeExecution(() => MEOSExternalFunctions.tbool_always_eq(temp, b)); - - public static bool tbool_ever_eq(IntPtr temp, bool b) - => SafeExecution(() => MEOSExternalFunctions.tbool_ever_eq(temp, b)); - - public static bool tfloat_always_eq(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tfloat_always_eq(temp, d)); - - public static bool tfloat_always_le(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tfloat_always_le(temp, d)); - - public static bool tfloat_always_lt(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tfloat_always_lt(temp, d)); - - public static bool tfloat_ever_eq(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tfloat_ever_eq(temp, d)); - - public static bool tfloat_ever_le(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tfloat_ever_le(temp, d)); - - public static bool tfloat_ever_lt(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tfloat_ever_lt(temp, d)); - - public static bool tint_always_eq(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tint_always_eq(temp, i)); - - public static bool tint_always_le(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tint_always_le(temp, i)); - - public static bool tint_always_lt(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tint_always_lt(temp, i)); - - public static bool tint_ever_eq(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tint_ever_eq(temp, i)); - - public static bool tint_ever_le(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tint_ever_le(temp, i)); - - public static bool tint_ever_lt(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tint_ever_lt(temp, i)); - - public static bool tpoint_always_eq(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.tpoint_always_eq(temp, gs)); - - public static bool tpoint_ever_eq(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.tpoint_ever_eq(temp, gs)); - - public static bool ttext_always_eq(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.ttext_always_eq(temp, txt)); - - public static bool ttext_always_le(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.ttext_always_le(temp, txt)); - - public static bool ttext_always_lt(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.ttext_always_lt(temp, txt)); - - public static bool ttext_ever_eq(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.ttext_ever_eq(temp, txt)); - - public static bool ttext_ever_le(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.ttext_ever_le(temp, txt)); - - public static bool ttext_ever_lt(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.ttext_ever_lt(temp, txt)); - - public static IntPtr teq_bool_tbool(bool b, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.teq_bool_tbool(b, temp)); - - public static IntPtr teq_float_tfloat(double d, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.teq_float_tfloat(d, temp)); - - public static IntPtr teq_int_tint(int i, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.teq_int_tint(i, temp)); - - public static IntPtr teq_point_tpoint(IntPtr gs, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.teq_point_tpoint(gs, temp)); - - public static IntPtr teq_tbool_bool(IntPtr temp, bool b) - => SafeExecution(() => MEOSExternalFunctions.teq_tbool_bool(temp, b)); - - public static IntPtr teq_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.teq_temporal_temporal(temp1, temp2)); - - public static IntPtr teq_text_ttext(IntPtr txt, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.teq_text_ttext(txt, temp)); - - public static IntPtr teq_tfloat_float(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.teq_tfloat_float(temp, d)); - - public static IntPtr teq_tpoint_point(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.teq_tpoint_point(temp, gs)); - - public static IntPtr teq_tint_int(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.teq_tint_int(temp, i)); - - public static IntPtr teq_ttext_text(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.teq_ttext_text(temp, txt)); - - public static IntPtr tge_float_tfloat(double d, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tge_float_tfloat(d, temp)); - - public static IntPtr tge_int_tint(int i, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tge_int_tint(i, temp)); - - public static IntPtr tge_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.tge_temporal_temporal(temp1, temp2)); - - public static IntPtr tge_text_ttext(IntPtr txt, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tge_text_ttext(txt, temp)); - - public static IntPtr tge_tfloat_float(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tge_tfloat_float(temp, d)); - - public static IntPtr tge_tint_int(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tge_tint_int(temp, i)); - - public static IntPtr tge_ttext_text(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.tge_ttext_text(temp, txt)); - - public static IntPtr tgt_float_tfloat(double d, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tgt_float_tfloat(d, temp)); - - public static IntPtr tgt_int_tint(int i, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tgt_int_tint(i, temp)); - - public static IntPtr tgt_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.tgt_temporal_temporal(temp1, temp2)); - - public static IntPtr tgt_text_ttext(IntPtr txt, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tgt_text_ttext(txt, temp)); - - public static IntPtr tgt_tfloat_float(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tgt_tfloat_float(temp, d)); - - public static IntPtr tgt_tint_int(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tgt_tint_int(temp, i)); - - public static IntPtr tgt_ttext_text(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.tgt_ttext_text(temp, txt)); - - public static IntPtr tle_float_tfloat(double d, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tle_float_tfloat(d, temp)); - - public static IntPtr tle_int_tint(int i, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tle_int_tint(i, temp)); - - public static IntPtr tle_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.tle_temporal_temporal(temp1, temp2)); - - public static IntPtr tle_text_ttext(IntPtr txt, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tle_text_ttext(txt, temp)); - - public static IntPtr tle_tfloat_float(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tle_tfloat_float(temp, d)); - - public static IntPtr tle_tint_int(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tle_tint_int(temp, i)); - - public static IntPtr tle_ttext_text(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.tle_ttext_text(temp, txt)); - - public static IntPtr tlt_float_tfloat(double d, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tlt_float_tfloat(d, temp)); - - public static IntPtr tlt_int_tint(int i, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tlt_int_tint(i, temp)); - - public static IntPtr tlt_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.tlt_temporal_temporal(temp1, temp2)); - - public static IntPtr tlt_text_ttext(IntPtr txt, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tlt_text_ttext(txt, temp)); - - public static IntPtr tlt_tfloat_float(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tlt_tfloat_float(temp, d)); - - public static IntPtr tlt_tint_int(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tlt_tint_int(temp, i)); - - public static IntPtr tlt_ttext_text(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.tlt_ttext_text(temp, txt)); - - public static IntPtr tne_bool_tbool(bool b, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tne_bool_tbool(b, temp)); - - public static IntPtr tne_float_tfloat(double d, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tne_float_tfloat(d, temp)); - - public static IntPtr tne_int_tint(int i, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tne_int_tint(i, temp)); - - public static IntPtr tne_point_tpoint(IntPtr gs, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tne_point_tpoint(gs, temp)); - - public static IntPtr tne_tbool_bool(IntPtr temp, bool b) - => SafeExecution(() => MEOSExternalFunctions.tne_tbool_bool(temp, b)); - - public static IntPtr tne_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.tne_temporal_temporal(temp1, temp2)); - - public static IntPtr tne_text_ttext(IntPtr txt, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tne_text_ttext(txt, temp)); - - public static IntPtr tne_tfloat_float(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tne_tfloat_float(temp, d)); - - public static IntPtr tne_tpoint_point(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.tne_tpoint_point(temp, gs)); - - public static IntPtr tne_tint_int(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.tne_tint_int(temp, i)); - - public static IntPtr tne_ttext_text(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.tne_ttext_text(temp, txt)); - - public static bool adjacent_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.adjacent_numspan_tnumber(s, temp)); - - public static bool adjacent_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.adjacent_stbox_tpoint(box, temp)); - - public static bool adjacent_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.adjacent_tbox_tnumber(box, temp)); - - public static bool adjacent_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.adjacent_temporal_temporal(temp1, temp2)); - - public static bool adjacent_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.adjacent_temporal_tstzspan(temp, s)); - - public static bool adjacent_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.adjacent_tnumber_numspan(temp, s)); - - public static bool adjacent_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.adjacent_tnumber_tbox(temp, box)); - - public static bool adjacent_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.adjacent_tnumber_tnumber(temp1, temp2)); - - public static bool adjacent_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.adjacent_tpoint_stbox(temp, box)); - - public static bool adjacent_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.adjacent_tpoint_tpoint(temp1, temp2)); - - public static bool adjacent_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.adjacent_tstzspan_temporal(s, temp)); - - public static bool contained_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.contained_numspan_tnumber(s, temp)); - - public static bool contained_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.contained_stbox_tpoint(box, temp)); - - public static bool contained_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.contained_tbox_tnumber(box, temp)); - - public static bool contained_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.contained_temporal_temporal(temp1, temp2)); - - public static bool contained_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_temporal_tstzspan(temp, s)); - - public static bool contained_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contained_tnumber_numspan(temp, s)); - - public static bool contained_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.contained_tnumber_tbox(temp, box)); - - public static bool contained_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.contained_tnumber_tnumber(temp1, temp2)); - - public static bool contained_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.contained_tpoint_stbox(temp, box)); - - public static bool contained_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.contained_tpoint_tpoint(temp1, temp2)); - - public static bool contained_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.contained_tstzspan_temporal(s, temp)); - - public static bool contains_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.contains_numspan_tnumber(s, temp)); - - public static bool contains_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.contains_stbox_tpoint(box, temp)); - - public static bool contains_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.contains_tbox_tnumber(box, temp)); - - public static bool contains_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contains_temporal_tstzspan(temp, s)); - - public static bool contains_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.contains_temporal_temporal(temp1, temp2)); - - public static bool contains_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.contains_tnumber_numspan(temp, s)); - - public static bool contains_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.contains_tnumber_tbox(temp, box)); - - public static bool contains_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.contains_tnumber_tnumber(temp1, temp2)); - - public static bool contains_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.contains_tpoint_stbox(temp, box)); - - public static bool contains_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.contains_tpoint_tpoint(temp1, temp2)); - - public static bool contains_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.contains_tstzspan_temporal(s, temp)); - - public static bool overlaps_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overlaps_numspan_tnumber(s, temp)); - - public static bool overlaps_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overlaps_stbox_tpoint(box, temp)); - - public static bool overlaps_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overlaps_tbox_tnumber(box, temp)); - - public static bool overlaps_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overlaps_temporal_temporal(temp1, temp2)); - - public static bool overlaps_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overlaps_temporal_tstzspan(temp, s)); - - public static bool overlaps_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overlaps_tnumber_numspan(temp, s)); - - public static bool overlaps_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overlaps_tnumber_tbox(temp, box)); - - public static bool overlaps_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overlaps_tnumber_tnumber(temp1, temp2)); - - public static bool overlaps_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overlaps_tpoint_stbox(temp, box)); - - public static bool overlaps_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overlaps_tpoint_tpoint(temp1, temp2)); - - public static bool overlaps_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overlaps_tstzspan_temporal(s, temp)); - - public static bool same_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.same_numspan_tnumber(s, temp)); - - public static bool same_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.same_stbox_tpoint(box, temp)); - - public static bool same_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.same_tbox_tnumber(box, temp)); - - public static bool same_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.same_temporal_temporal(temp1, temp2)); - - public static bool same_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.same_temporal_tstzspan(temp, s)); - - public static bool same_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.same_tnumber_numspan(temp, s)); - - public static bool same_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.same_tnumber_tbox(temp, box)); - - public static bool same_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.same_tnumber_tnumber(temp1, temp2)); - - public static bool same_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.same_tpoint_stbox(temp, box)); - - public static bool same_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.same_tpoint_tpoint(temp1, temp2)); - - public static bool same_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.same_tstzspan_temporal(s, temp)); - - public static bool above_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.above_stbox_tpoint(box, temp)); - - public static bool above_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.above_tpoint_stbox(temp, box)); - - public static bool above_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.above_tpoint_tpoint(temp1, temp2)); - - public static bool after_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.after_stbox_tpoint(box, temp)); - - public static bool after_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.after_tbox_tnumber(box, temp)); - - public static bool after_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.after_temporal_tstzspan(temp, s)); - - public static bool after_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.after_temporal_temporal(temp1, temp2)); - - public static bool after_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.after_tnumber_tbox(temp, box)); - - public static bool after_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.after_tnumber_tnumber(temp1, temp2)); - - public static bool after_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.after_tpoint_stbox(temp, box)); - - public static bool after_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.after_tpoint_tpoint(temp1, temp2)); - - public static bool after_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.after_tstzspan_temporal(s, temp)); - - public static bool back_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.back_stbox_tpoint(box, temp)); - - public static bool back_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.back_tpoint_stbox(temp, box)); - - public static bool back_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.back_tpoint_tpoint(temp1, temp2)); - - public static bool before_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.before_stbox_tpoint(box, temp)); - - public static bool before_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.before_tbox_tnumber(box, temp)); - - public static bool before_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.before_temporal_tstzspan(temp, s)); - - public static bool before_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.before_temporal_temporal(temp1, temp2)); - - public static bool before_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.before_tnumber_tbox(temp, box)); - - public static bool before_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.before_tnumber_tnumber(temp1, temp2)); - - public static bool before_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.before_tpoint_stbox(temp, box)); - - public static bool before_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.before_tpoint_tpoint(temp1, temp2)); - - public static bool before_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.before_tstzspan_temporal(s, temp)); - - public static bool below_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.below_stbox_tpoint(box, temp)); - - public static bool below_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.below_tpoint_stbox(temp, box)); - - public static bool below_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.below_tpoint_tpoint(temp1, temp2)); - - public static bool front_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.front_stbox_tpoint(box, temp)); - - public static bool front_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.front_tpoint_stbox(temp, box)); - - public static bool front_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.front_tpoint_tpoint(temp1, temp2)); - - public static bool left_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.left_stbox_tpoint(box, temp)); - - public static bool left_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.left_tbox_tnumber(box, temp)); - - public static bool left_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.left_numspan_tnumber(s, temp)); - - public static bool left_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.left_tnumber_numspan(temp, s)); - - public static bool left_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.left_tnumber_tbox(temp, box)); - - public static bool left_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.left_tnumber_tnumber(temp1, temp2)); - - public static bool left_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.left_tpoint_stbox(temp, box)); - - public static bool left_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.left_tpoint_tpoint(temp1, temp2)); - - public static bool overabove_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overabove_stbox_tpoint(box, temp)); - - public static bool overabove_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overabove_tpoint_stbox(temp, box)); - - public static bool overabove_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overabove_tpoint_tpoint(temp1, temp2)); - - public static bool overafter_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overafter_stbox_tpoint(box, temp)); - - public static bool overafter_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overafter_tbox_tnumber(box, temp)); - - public static bool overafter_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overafter_temporal_tstzspan(temp, s)); - - public static bool overafter_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overafter_temporal_temporal(temp1, temp2)); - - public static bool overafter_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overafter_tnumber_tbox(temp, box)); - - public static bool overafter_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overafter_tnumber_tnumber(temp1, temp2)); - - public static bool overafter_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overafter_tpoint_stbox(temp, box)); - - public static bool overafter_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overafter_tpoint_tpoint(temp1, temp2)); - - public static bool overafter_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overafter_tstzspan_temporal(s, temp)); - - public static bool overback_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overback_stbox_tpoint(box, temp)); - - public static bool overback_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overback_tpoint_stbox(temp, box)); - - public static bool overback_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overback_tpoint_tpoint(temp1, temp2)); - - public static bool overbefore_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overbefore_stbox_tpoint(box, temp)); - - public static bool overbefore_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overbefore_tbox_tnumber(box, temp)); - - public static bool overbefore_temporal_tstzspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overbefore_temporal_tstzspan(temp, s)); - - public static bool overbefore_temporal_temporal(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overbefore_temporal_temporal(temp1, temp2)); - - public static bool overbefore_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overbefore_tnumber_tbox(temp, box)); - - public static bool overbefore_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overbefore_tnumber_tnumber(temp1, temp2)); - - public static bool overbefore_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overbefore_tpoint_stbox(temp, box)); - - public static bool overbefore_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overbefore_tpoint_tpoint(temp1, temp2)); - - public static bool overbefore_tstzspan_temporal(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overbefore_tstzspan_temporal(s, temp)); - - public static bool overbelow_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overbelow_stbox_tpoint(box, temp)); - - public static bool overbelow_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overbelow_tpoint_stbox(temp, box)); - - public static bool overbelow_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overbelow_tpoint_tpoint(temp1, temp2)); - - public static bool overfront_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overfront_stbox_tpoint(box, temp)); - - public static bool overfront_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overfront_tpoint_stbox(temp, box)); - - public static bool overfront_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overfront_tpoint_tpoint(temp1, temp2)); - - public static bool overleft_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overleft_numspan_tnumber(s, temp)); - - public static bool overleft_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overleft_stbox_tpoint(box, temp)); - - public static bool overleft_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overleft_tbox_tnumber(box, temp)); - - public static bool overleft_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overleft_tnumber_numspan(temp, s)); - - public static bool overleft_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overleft_tnumber_tbox(temp, box)); - - public static bool overleft_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overleft_tnumber_tnumber(temp1, temp2)); - - public static bool overleft_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overleft_tpoint_stbox(temp, box)); - - public static bool overleft_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overleft_tpoint_tpoint(temp1, temp2)); - - public static bool overright_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overright_numspan_tnumber(s, temp)); - - public static bool overright_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overright_stbox_tpoint(box, temp)); - - public static bool overright_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.overright_tbox_tnumber(box, temp)); - - public static bool overright_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.overright_tnumber_numspan(temp, s)); - - public static bool overright_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overright_tnumber_tbox(temp, box)); - - public static bool overright_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overright_tnumber_tnumber(temp1, temp2)); - - public static bool overright_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.overright_tpoint_stbox(temp, box)); - - public static bool overright_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.overright_tpoint_tpoint(temp1, temp2)); - - public static bool right_numspan_tnumber(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.right_numspan_tnumber(s, temp)); - - public static bool right_stbox_tpoint(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.right_stbox_tpoint(box, temp)); - - public static bool right_tbox_tnumber(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.right_tbox_tnumber(box, temp)); - - public static bool right_tnumber_numspan(IntPtr temp, IntPtr s) - => SafeExecution(() => MEOSExternalFunctions.right_tnumber_numspan(temp, s)); - - public static bool right_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.right_tnumber_tbox(temp, box)); - - public static bool right_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.right_tnumber_tnumber(temp1, temp2)); - - public static bool right_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.right_tpoint_stbox(temp, box)); - - public static bool right_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.right_tpoint_tpoint(temp1, temp2)); - - public static IntPtr tand_bool_tbool(bool b, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tand_bool_tbool(b, temp)); - - public static IntPtr tand_tbool_bool(IntPtr temp, bool b) - => SafeExecution(() => MEOSExternalFunctions.tand_tbool_bool(temp, b)); - - public static IntPtr tand_tbool_tbool(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.tand_tbool_tbool(temp1, temp2)); - - public static IntPtr tbool_when_true(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tbool_when_true(temp)); - - public static IntPtr tnot_tbool(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnot_tbool(temp)); - - public static IntPtr tor_bool_tbool(bool b, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tor_bool_tbool(b, temp)); - - public static IntPtr tor_tbool_bool(IntPtr temp, bool b) - => SafeExecution(() => MEOSExternalFunctions.tor_tbool_bool(temp, b)); - - public static IntPtr tor_tbool_tbool(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.tor_tbool_tbool(temp1, temp2)); - - public static IntPtr add_float_tfloat(double d, IntPtr tnumber) - => SafeExecution(() => MEOSExternalFunctions.add_float_tfloat(d, tnumber)); - - public static IntPtr add_int_tint(int i, IntPtr tnumber) - => SafeExecution(() => MEOSExternalFunctions.add_int_tint(i, tnumber)); - - public static IntPtr add_tfloat_float(IntPtr tnumber, double d) - => SafeExecution(() => MEOSExternalFunctions.add_tfloat_float(tnumber, d)); - - public static IntPtr add_tint_int(IntPtr tnumber, int i) - => SafeExecution(() => MEOSExternalFunctions.add_tint_int(tnumber, i)); - - public static IntPtr add_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2) - => SafeExecution(() => MEOSExternalFunctions.add_tnumber_tnumber(tnumber1, tnumber2)); - - public static IntPtr div_float_tfloat(double d, IntPtr tnumber) - => SafeExecution(() => MEOSExternalFunctions.div_float_tfloat(d, tnumber)); - - public static IntPtr div_int_tint(int i, IntPtr tnumber) - => SafeExecution(() => MEOSExternalFunctions.div_int_tint(i, tnumber)); - - public static IntPtr div_tfloat_float(IntPtr tnumber, double d) - => SafeExecution(() => MEOSExternalFunctions.div_tfloat_float(tnumber, d)); - - public static IntPtr div_tint_int(IntPtr tnumber, int i) - => SafeExecution(() => MEOSExternalFunctions.div_tint_int(tnumber, i)); - - public static IntPtr div_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2) - => SafeExecution(() => MEOSExternalFunctions.div_tnumber_tnumber(tnumber1, tnumber2)); - - public static double float_degrees(double value, bool normalize) - => SafeExecution(() => MEOSExternalFunctions.float_degrees(value, normalize)); - - public static IntPtr mult_float_tfloat(double d, IntPtr tnumber) - => SafeExecution(() => MEOSExternalFunctions.mult_float_tfloat(d, tnumber)); - - public static IntPtr mult_int_tint(int i, IntPtr tnumber) - => SafeExecution(() => MEOSExternalFunctions.mult_int_tint(i, tnumber)); - - public static IntPtr mult_tfloat_float(IntPtr tnumber, double d) - => SafeExecution(() => MEOSExternalFunctions.mult_tfloat_float(tnumber, d)); - - public static IntPtr mult_tint_int(IntPtr tnumber, int i) - => SafeExecution(() => MEOSExternalFunctions.mult_tint_int(tnumber, i)); - - public static IntPtr mult_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2) - => SafeExecution(() => MEOSExternalFunctions.mult_tnumber_tnumber(tnumber1, tnumber2)); - - public static IntPtr sub_float_tfloat(double d, IntPtr tnumber) - => SafeExecution(() => MEOSExternalFunctions.sub_float_tfloat(d, tnumber)); - - public static IntPtr sub_int_tint(int i, IntPtr tnumber) - => SafeExecution(() => MEOSExternalFunctions.sub_int_tint(i, tnumber)); - - public static IntPtr sub_tfloat_float(IntPtr tnumber, double d) - => SafeExecution(() => MEOSExternalFunctions.sub_tfloat_float(tnumber, d)); - - public static IntPtr sub_tint_int(IntPtr tnumber, int i) - => SafeExecution(() => MEOSExternalFunctions.sub_tint_int(tnumber, i)); - - public static IntPtr sub_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2) - => SafeExecution(() => MEOSExternalFunctions.sub_tnumber_tnumber(tnumber1, tnumber2)); - - public static IntPtr tfloat_round(IntPtr temp, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tfloat_round(temp, maxdd)); - - public static IntPtr tfloatarr_round(IntPtr temp, int count, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tfloatarr_round(temp, count, maxdd)); - - public static IntPtr tfloat_degrees(IntPtr temp, bool normalize) - => SafeExecution(() => MEOSExternalFunctions.tfloat_degrees(temp, normalize)); - - public static IntPtr tfloat_derivative(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_derivative(temp)); - - public static IntPtr tfloat_radians(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_radians(temp)); - - public static IntPtr tnumber_abs(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_abs(temp)); - - public static IntPtr tnumber_angular_difference(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_angular_difference(temp)); - - public static IntPtr tnumber_delta_value(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_delta_value(temp)); - - public static IntPtr textcat_text_ttext(IntPtr txt, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.textcat_text_ttext(txt, temp)); - - public static IntPtr textcat_ttext_text(IntPtr temp, IntPtr txt) - => SafeExecution(() => MEOSExternalFunctions.textcat_ttext_text(temp, txt)); - - public static IntPtr textcat_ttext_ttext(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.textcat_ttext_ttext(temp1, temp2)); - - public static IntPtr ttext_upper(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_upper(temp)); - - public static IntPtr ttext_lower(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_lower(temp)); - - public static IntPtr distance_tfloat_float(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.distance_tfloat_float(temp, d)); - - public static IntPtr distance_tint_int(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.distance_tint_int(temp, i)); - - public static IntPtr distance_tnumber_tnumber(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.distance_tnumber_tnumber(temp1, temp2)); - - public static IntPtr distance_tpoint_point(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.distance_tpoint_point(temp, gs)); - - public static IntPtr distance_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.distance_tpoint_tpoint(temp1, temp2)); - - public static double nad_stbox_geo(IntPtr box, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.nad_stbox_geo(box, gs)); - - public static double nad_stbox_stbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.nad_stbox_stbox(box1, box2)); - - public static double nad_tbox_tbox(IntPtr box1, IntPtr box2) - => SafeExecution(() => MEOSExternalFunctions.nad_tbox_tbox(box1, box2)); - - public static double nad_tfloat_float(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.nad_tfloat_float(temp, d)); - - public static double nad_tfloat_tfloat(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.nad_tfloat_tfloat(temp1, temp2)); - - public static int nad_tint_int(IntPtr temp, int i) - => SafeExecution(() => MEOSExternalFunctions.nad_tint_int(temp, i)); - - public static int nad_tint_tint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.nad_tint_tint(temp1, temp2)); - - public static double nad_tnumber_tbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.nad_tnumber_tbox(temp, box)); - - public static double nad_tpoint_geo(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.nad_tpoint_geo(temp, gs)); - - public static double nad_tpoint_stbox(IntPtr temp, IntPtr box) - => SafeExecution(() => MEOSExternalFunctions.nad_tpoint_stbox(temp, box)); - - public static double nad_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.nad_tpoint_tpoint(temp1, temp2)); - - public static IntPtr nai_tpoint_geo(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.nai_tpoint_geo(temp, gs)); - - public static IntPtr nai_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.nai_tpoint_tpoint(temp1, temp2)); - - public static bool shortestline_tpoint_geo(IntPtr temp, IntPtr gs, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.shortestline_tpoint_geo(temp, gs, result)); - - public static bool shortestline_tpoint_tpoint(IntPtr temp1, IntPtr temp2, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.shortestline_tpoint_tpoint(temp1, temp2, result)); - - public static bool bearing_point_point(IntPtr gs1, IntPtr gs2, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.bearing_point_point(gs1, gs2, result)); - - public static IntPtr bearing_tpoint_point(IntPtr temp, IntPtr gs, bool invert) - => SafeExecution(() => MEOSExternalFunctions.bearing_tpoint_point(temp, gs, invert)); - - public static IntPtr bearing_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.bearing_tpoint_tpoint(temp1, temp2)); - - public static IntPtr tpoint_angular_difference(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_angular_difference(temp)); - - public static IntPtr tpoint_azimuth(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_azimuth(temp)); - - public static IntPtr tpoint_convex_hull(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_convex_hull(temp)); - - public static IntPtr tpoint_cumulative_length(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_cumulative_length(temp)); - - public static bool tpoint_direction(IntPtr temp, IntPtr result) - => SafeExecution(() => MEOSExternalFunctions.tpoint_direction(temp, result)); - - public static IntPtr tpoint_get_x(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_get_x(temp)); - - public static IntPtr tpoint_get_y(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_get_y(temp)); - - public static IntPtr tpoint_get_z(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_get_z(temp)); - - public static bool tpoint_is_simple(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_is_simple(temp)); - - public static double tpoint_length(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_length(temp)); - - public static IntPtr tpoint_speed(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_speed(temp)); - - public static int tpoint_srid(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_srid(temp)); - - public static IntPtr tpoint_stboxes(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tpoint_stboxes(temp, count)); - - public static IntPtr tpoint_trajectory(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_trajectory(temp)); - - public static IntPtr geo_expand_space(IntPtr gs, double d) - => SafeExecution(() => MEOSExternalFunctions.geo_expand_space(gs, d)); - - public static IntPtr geomeas_to_tpoint(IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.geomeas_to_tpoint(gs)); - - public static IntPtr tgeogpoint_to_tgeompoint(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tgeogpoint_to_tgeompoint(temp)); - - public static IntPtr tgeompoint_to_tgeogpoint(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tgeompoint_to_tgeogpoint(temp)); - - public static IntPtr tpoint_expand_space(IntPtr temp, double d) - => SafeExecution(() => MEOSExternalFunctions.tpoint_expand_space(temp, d)); - - public static IntPtr tpoint_make_simple(IntPtr temp, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tpoint_make_simple(temp, count)); - - public static IntPtr tpoint_round(IntPtr temp, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tpoint_round(temp, maxdd)); - - public static IntPtr tpointarr_round(IntPtr temp, int count, int maxdd) - => SafeExecution(() => MEOSExternalFunctions.tpointarr_round(temp, count, maxdd)); - - public static IntPtr tpoint_set_srid(IntPtr temp, int srid) - => SafeExecution(() => MEOSExternalFunctions.tpoint_set_srid(temp, srid)); - - public static int econtains_geo_tpoint(IntPtr gs, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.econtains_geo_tpoint(gs, temp)); - - public static int edisjoint_tpoint_geo(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.edisjoint_tpoint_geo(temp, gs)); - - public static int edisjoint_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.edisjoint_tpoint_tpoint(temp1, temp2)); - - public static int edwithin_tpoint_geo(IntPtr temp, IntPtr gs, double dist) - => SafeExecution(() => MEOSExternalFunctions.edwithin_tpoint_geo(temp, gs, dist)); - - public static int edwithin_tpoint_tpoint(IntPtr temp1, IntPtr temp2, double dist) - => SafeExecution(() => MEOSExternalFunctions.edwithin_tpoint_tpoint(temp1, temp2, dist)); - - public static int eintersects_tpoint_geo(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.eintersects_tpoint_geo(temp, gs)); - - public static int eintersects_tpoint_tpoint(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.eintersects_tpoint_tpoint(temp1, temp2)); - - public static int etouches_tpoint_geo(IntPtr temp, IntPtr gs) - => SafeExecution(() => MEOSExternalFunctions.etouches_tpoint_geo(temp, gs)); - - public static IntPtr tcontains_geo_tpoint(IntPtr gs, IntPtr temp, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tcontains_geo_tpoint(gs, temp, restr, atvalue)); - - public static IntPtr tdisjoint_tpoint_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tpoint_geo(temp, gs, restr, atvalue)); - - public static IntPtr tdwithin_tpoint_geo(IntPtr temp, IntPtr gs, double dist, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdwithin_tpoint_geo(temp, gs, dist, restr, atvalue)); - - public static IntPtr tdwithin_tpoint_tpoint(IntPtr temp1, IntPtr temp2, double dist, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tdwithin_tpoint_tpoint(temp1, temp2, dist, restr, atvalue)); - - public static IntPtr tintersects_tpoint_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.tintersects_tpoint_geo(temp, gs, restr, atvalue)); - - public static IntPtr ttouches_tpoint_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) - => SafeExecution(() => MEOSExternalFunctions.ttouches_tpoint_geo(temp, gs, restr, atvalue)); - - public static IntPtr tbool_tand_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tbool_tand_transfn(state, temp)); - - public static IntPtr tbool_tor_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tbool_tor_transfn(state, temp)); - - public static IntPtr temporal_extent_transfn(IntPtr s, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_extent_transfn(s, temp)); - - public static IntPtr temporal_tagg_finalfn(IntPtr state) - => SafeExecution(() => MEOSExternalFunctions.temporal_tagg_finalfn(state)); - - public static IntPtr temporal_tcount_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.temporal_tcount_transfn(state, temp)); - - public static IntPtr tfloat_tmax_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_tmax_transfn(state, temp)); - - public static IntPtr tfloat_tmin_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_tmin_transfn(state, temp)); - - public static IntPtr tfloat_tsum_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tfloat_tsum_transfn(state, temp)); - - public static IntPtr tint_tmax_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_tmax_transfn(state, temp)); - - public static IntPtr tint_tmin_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_tmin_transfn(state, temp)); - - public static IntPtr tint_tsum_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tint_tsum_transfn(state, temp)); - - public static IntPtr tnumber_extent_transfn(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_extent_transfn(box, temp)); - - public static double tnumber_integral(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_integral(temp)); - - public static IntPtr tnumber_tavg_finalfn(IntPtr state) - => SafeExecution(() => MEOSExternalFunctions.tnumber_tavg_finalfn(state)); - - public static IntPtr tnumber_tavg_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_tavg_transfn(state, temp)); - - public static double tnumber_twavg(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tnumber_twavg(temp)); - - public static IntPtr tpoint_extent_transfn(IntPtr box, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_extent_transfn(box, temp)); - - public static IntPtr tpoint_tcentroid_finalfn(IntPtr state) - => SafeExecution(() => MEOSExternalFunctions.tpoint_tcentroid_finalfn(state)); - - public static IntPtr tpoint_tcentroid_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_tcentroid_transfn(state, temp)); - - public static IntPtr tpoint_twcentroid(IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.tpoint_twcentroid(temp)); - - public static IntPtr ttext_tmax_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_tmax_transfn(state, temp)); - - public static IntPtr ttext_tmin_transfn(IntPtr state, IntPtr temp) - => SafeExecution(() => MEOSExternalFunctions.ttext_tmin_transfn(state, temp)); - - public static IntPtr temporal_tprecision(IntPtr temp, IntPtr duration, long origin) - => SafeExecution(() => MEOSExternalFunctions.temporal_tprecision(temp, duration, origin)); - - public static IntPtr temporal_tsample(IntPtr temp, IntPtr duration, long origin) - => SafeExecution(() => MEOSExternalFunctions.temporal_tsample(temp, duration, origin)); - - public static double temporal_dyntimewarp_distance(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_dyntimewarp_distance(temp1, temp2)); - - public static IntPtr temporal_dyntimewarp_path(IntPtr temp1, IntPtr temp2, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.temporal_dyntimewarp_path(temp1, temp2, count)); - - public static double temporal_frechet_distance(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_frechet_distance(temp1, temp2)); - - public static IntPtr temporal_frechet_path(IntPtr temp1, IntPtr temp2, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.temporal_frechet_path(temp1, temp2, count)); - - public static double temporal_hausdorff_distance(IntPtr temp1, IntPtr temp2) - => SafeExecution(() => MEOSExternalFunctions.temporal_hausdorff_distance(temp1, temp2)); - - public static double float_bucket(double value, double size, double origin) - => SafeExecution(() => MEOSExternalFunctions.float_bucket(value, size, origin)); - - public static IntPtr floatspan_bucket_list(IntPtr bounds, double size, double origin, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.floatspan_bucket_list(bounds, size, origin, count)); - - public static int int_bucket(int value, int size, int origin) - => SafeExecution(() => MEOSExternalFunctions.int_bucket(value, size, origin)); - - public static IntPtr intspan_bucket_list(IntPtr bounds, int size, int origin, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.intspan_bucket_list(bounds, size, origin, count)); - - public static IntPtr tstzspan_bucket_list(IntPtr bounds, IntPtr duration, long origin, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tstzspan_bucket_list(bounds, duration, origin, count)); - - public static IntPtr stbox_tile(IntPtr point, long t, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, bool hast) - => SafeExecution(() => MEOSExternalFunctions.stbox_tile(point, t, xsize, ysize, zsize, duration, sorigin, torigin, hast)); - - public static IntPtr stbox_tile_list(IntPtr bounds, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.stbox_tile_list(bounds, xsize, ysize, zsize, duration, sorigin, torigin, count)); - - public static IntPtr tintbox_tile_list(IntPtr box, int xsize, IntPtr duration, int xorigin, long torigin, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tintbox_tile_list(box, xsize, duration, xorigin, torigin, count)); - - public static IntPtr tfloatbox_tile_list(IntPtr box, double xsize, IntPtr duration, double xorigin, long torigin, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tfloatbox_tile_list(box, xsize, duration, xorigin, torigin, count)); - - public static IntPtr temporal_time_split(IntPtr temp, IntPtr duration, long torigin, IntPtr time_buckets, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.temporal_time_split(temp, duration, torigin, time_buckets, count)); - - public static IntPtr tfloat_value_split(IntPtr temp, double size, double origin, IntPtr value_buckets, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tfloat_value_split(temp, size, origin, value_buckets, count)); - - public static IntPtr tfloat_value_time_split(IntPtr temp, double size, IntPtr duration, double vorigin, long torigin, IntPtr value_buckets, IntPtr time_buckets, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tfloat_value_time_split(temp, size, duration, vorigin, torigin, value_buckets, time_buckets, count)); - - public static long timestamptz_bucket(long timestamp, IntPtr duration, long origin) - => SafeExecution(() => MEOSExternalFunctions.timestamptz_bucket(timestamp, duration, origin)); - - public static IntPtr tint_value_split(IntPtr temp, int size, int origin, IntPtr value_buckets, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tint_value_split(temp, size, origin, value_buckets, count)); - - public static IntPtr tint_value_time_split(IntPtr temp, int size, IntPtr duration, int vorigin, long torigin, IntPtr value_buckets, IntPtr time_buckets, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tint_value_time_split(temp, size, duration, vorigin, torigin, value_buckets, time_buckets, count)); - - public static IntPtr tpoint_space_split(IntPtr temp, float xsize, float ysize, float zsize, IntPtr sorigin, bool bitmatrix, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tpoint_space_split(temp, xsize, ysize, zsize, sorigin, bitmatrix, count)); - - public static IntPtr tpoint_space_time_split(IntPtr temp, float xsize, float ysize, float zsize, IntPtr duration, IntPtr sorigin, long torigin, bool bitmatrix, IntPtr time_buckets, IntPtr count) - => SafeExecution(() => MEOSExternalFunctions.tpoint_space_time_split(temp, xsize, ysize, zsize, duration, sorigin, torigin, bitmatrix, time_buckets, count)); - } -} +using System.CodeDom.Compiler; +using System.Runtime.InteropServices; + +using MEOS.NET.Enums; + +namespace MEOS.NET.Internal +{ + [GeneratedCode("MEOS.NET.Builder.MEOSIDL", "0.1.0")] + internal partial class MEOSExposedFunctions + { + public static int date_in(string str) + => SafeExecution(() => MEOSExternalFunctions.date_in(str)); + + public static string date_out(int d) + => SafeExecution(() => MEOSExternalFunctions.date_out(d)); + + public static int interval_cmp(IntPtr interv1, IntPtr interv2) + => SafeExecution(() => MEOSExternalFunctions.interval_cmp(interv1, interv2)); + + public static IntPtr interval_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.interval_in(str, typmod)); + + public static string interval_out(IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.interval_out(interv)); + + public static long time_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.time_in(str, typmod)); + + public static string time_out(long t) + => SafeExecution(() => MEOSExternalFunctions.time_out(t)); + + public static long timestamp_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.timestamp_in(str, typmod)); + + public static string timestamp_out(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamp_out(t)); + + public static long timestamptz_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_in(str, typmod)); + + public static string timestamptz_out(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_out(t)); + + public static IntPtr rtree_create_intspan() + => SafeExecution(() => MEOSExternalFunctions.rtree_create_intspan()); + + public static IntPtr rtree_create_bigintspan() + => SafeExecution(() => MEOSExternalFunctions.rtree_create_bigintspan()); + + public static IntPtr rtree_create_floatspan() + => SafeExecution(() => MEOSExternalFunctions.rtree_create_floatspan()); + + public static IntPtr rtree_create_datespan() + => SafeExecution(() => MEOSExternalFunctions.rtree_create_datespan()); + + public static IntPtr rtree_create_tstzspan() + => SafeExecution(() => MEOSExternalFunctions.rtree_create_tstzspan()); + + public static IntPtr rtree_create_tbox() + => SafeExecution(() => MEOSExternalFunctions.rtree_create_tbox()); + + public static IntPtr rtree_create_stbox() + => SafeExecution(() => MEOSExternalFunctions.rtree_create_stbox()); + + public static void rtree_free(IntPtr rtree) + => SafeExecution(() => MEOSExternalFunctions.rtree_free(rtree)); + + public static void rtree_insert(IntPtr rtree, IntPtr box, long id) + => SafeExecution(() => MEOSExternalFunctions.rtree_insert(rtree, box, id)); + + public static IntPtr rtree_search(IntPtr rtree, IntPtr query, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.rtree_search(rtree, query, count)); + + public static void meos_error(int errlevel, int errcode, string format) + => SafeExecution(() => MEOSExternalFunctions.meos_error(errlevel, errcode, format)); + + public static int meos_errno() + => SafeExecution(() => MEOSExternalFunctions.meos_errno()); + + public static int meos_errno_set(int err) + => SafeExecution(() => MEOSExternalFunctions.meos_errno_set(err)); + + public static int meos_errno_restore(int err) + => SafeExecution(() => MEOSExternalFunctions.meos_errno_restore(err)); + + public static int meos_errno_reset() + => SafeExecution(() => MEOSExternalFunctions.meos_errno_reset()); + + public static void meos_initialize_timezone(string name) + => SafeExecution(() => MEOSExternalFunctions.meos_initialize_timezone(name)); + + public static void meos_initialize_error_handler(IntPtr err_handler) + => SafeExecution(() => MEOSExternalFunctions.meos_initialize_error_handler(err_handler)); + + public static void meos_finalize_timezone() + => SafeExecution(() => MEOSExternalFunctions.meos_finalize_timezone()); + + public static void meos_finalize_projsrs() + => SafeExecution(() => MEOSExternalFunctions.meos_finalize_projsrs()); + + public static void meos_finalize_ways() + => SafeExecution(() => MEOSExternalFunctions.meos_finalize_ways()); + + public static bool meos_set_datestyle(string newval, IntPtr extra) + => SafeExecution(() => MEOSExternalFunctions.meos_set_datestyle(newval, extra)); + + public static bool meos_set_intervalstyle(string newval, int extra) + => SafeExecution(() => MEOSExternalFunctions.meos_set_intervalstyle(newval, extra)); + + public static string meos_get_datestyle() + => SafeExecution(() => MEOSExternalFunctions.meos_get_datestyle()); + + public static string meos_get_intervalstyle() + => SafeExecution(() => MEOSExternalFunctions.meos_get_intervalstyle()); + + public static void meos_set_spatial_ref_sys_csv(string path) + => SafeExecution(() => MEOSExternalFunctions.meos_set_spatial_ref_sys_csv(path)); + + public static void meos_initialize() + => SafeExecution(() => MEOSExternalFunctions.meos_initialize()); + + public static void meos_finalize() + => SafeExecution(() => MEOSExternalFunctions.meos_finalize()); + + public static int add_date_int(int d, int days) + => SafeExecution(() => MEOSExternalFunctions.add_date_int(d, days)); + + public static IntPtr add_interval_interval(IntPtr interv1, IntPtr interv2) + => SafeExecution(() => MEOSExternalFunctions.add_interval_interval(interv1, interv2)); + + public static long add_timestamptz_interval(long t, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.add_timestamptz_interval(t, interv)); + + public static bool bool_in(string str) + => SafeExecution(() => MEOSExternalFunctions.bool_in(str)); + + public static string bool_out(bool b) + => SafeExecution(() => MEOSExternalFunctions.bool_out(b)); + + public static IntPtr cstring2text(string str) + => SafeExecution(() => MEOSExternalFunctions.cstring2text(str)); + + public static long date_to_timestamp(int dateVal) + => SafeExecution(() => MEOSExternalFunctions.date_to_timestamp(dateVal)); + + public static long date_to_timestamptz(int d) + => SafeExecution(() => MEOSExternalFunctions.date_to_timestamptz(d)); + + public static double float_exp(double d) + => SafeExecution(() => MEOSExternalFunctions.float_exp(d)); + + public static double float_ln(double d) + => SafeExecution(() => MEOSExternalFunctions.float_ln(d)); + + public static double float_log10(double d) + => SafeExecution(() => MEOSExternalFunctions.float_log10(d)); + + public static string float8_out(double d, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.float8_out(d, maxdd)); + + public static double float_round(double d, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.float_round(d, maxdd)); + + public static int int32_cmp(int l, int r) + => SafeExecution(() => MEOSExternalFunctions.int32_cmp(l, r)); + + public static int int64_cmp(long l, long r) + => SafeExecution(() => MEOSExternalFunctions.int64_cmp(l, r)); + + public static IntPtr interval_make(int years, int months, int weeks, int days, int hours, int mins, double secs) + => SafeExecution(() => MEOSExternalFunctions.interval_make(years, months, weeks, days, hours, mins, secs)); + + public static int minus_date_date(int d1, int d2) + => SafeExecution(() => MEOSExternalFunctions.minus_date_date(d1, d2)); + + public static int minus_date_int(int d, int days) + => SafeExecution(() => MEOSExternalFunctions.minus_date_int(d, days)); + + public static long minus_timestamptz_interval(long t, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.minus_timestamptz_interval(t, interv)); + + public static IntPtr minus_timestamptz_timestamptz(long t1, long t2) + => SafeExecution(() => MEOSExternalFunctions.minus_timestamptz_timestamptz(t1, t2)); + + public static IntPtr mul_interval_double(IntPtr interv, double factor) + => SafeExecution(() => MEOSExternalFunctions.mul_interval_double(interv, factor)); + + public static int pg_date_in(string str) + => SafeExecution(() => MEOSExternalFunctions.pg_date_in(str)); + + public static string pg_date_out(int d) + => SafeExecution(() => MEOSExternalFunctions.pg_date_out(d)); + + public static int pg_interval_cmp(IntPtr interv1, IntPtr interv2) + => SafeExecution(() => MEOSExternalFunctions.pg_interval_cmp(interv1, interv2)); + + public static IntPtr pg_interval_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.pg_interval_in(str, typmod)); + + public static string pg_interval_out(IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.pg_interval_out(interv)); + + public static long pg_timestamp_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.pg_timestamp_in(str, typmod)); + + public static string pg_timestamp_out(long t) + => SafeExecution(() => MEOSExternalFunctions.pg_timestamp_out(t)); + + public static long pg_timestamptz_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.pg_timestamptz_in(str, typmod)); + + public static string pg_timestamptz_out(long t) + => SafeExecution(() => MEOSExternalFunctions.pg_timestamptz_out(t)); + + public static string text2cstring(IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.text2cstring(txt)); + + public static int text_cmp(IntPtr txt1, IntPtr txt2) + => SafeExecution(() => MEOSExternalFunctions.text_cmp(txt1, txt2)); + + public static IntPtr text_copy(IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.text_copy(txt)); + + public static IntPtr text_in(string str) + => SafeExecution(() => MEOSExternalFunctions.text_in(str)); + + public static IntPtr text_initcap(IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.text_initcap(txt)); + + public static IntPtr text_lower(IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.text_lower(txt)); + + public static string text_out(IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.text_out(txt)); + + public static IntPtr text_upper(IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.text_upper(txt)); + + public static IntPtr textcat_text_text(IntPtr txt1, IntPtr txt2) + => SafeExecution(() => MEOSExternalFunctions.textcat_text_text(txt1, txt2)); + + public static long timestamptz_shift(long t, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_shift(t, interv)); + + public static int timestamp_to_date(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamp_to_date(t)); + + public static int timestamptz_to_date(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_date(t)); + + public static IntPtr bigintset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.bigintset_in(str)); + + public static string bigintset_out(IntPtr set) + => SafeExecution(() => MEOSExternalFunctions.bigintset_out(set)); + + public static IntPtr bigintspan_expand(IntPtr s, long value) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_expand(s, value)); + + public static IntPtr bigintspan_in(string str) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_in(str)); + + public static string bigintspan_out(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_out(s)); + + public static IntPtr bigintspanset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.bigintspanset_in(str)); + + public static string bigintspanset_out(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.bigintspanset_out(ss)); + + public static IntPtr dateset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.dateset_in(str)); + + public static string dateset_out(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.dateset_out(s)); + + public static IntPtr datespan_in(string str) + => SafeExecution(() => MEOSExternalFunctions.datespan_in(str)); + + public static string datespan_out(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.datespan_out(s)); + + public static IntPtr datespanset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.datespanset_in(str)); + + public static string datespanset_out(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.datespanset_out(ss)); + + public static IntPtr floatset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.floatset_in(str)); + + public static string floatset_out(IntPtr set, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.floatset_out(set, maxdd)); + + public static IntPtr floatspan_expand(IntPtr s, double value) + => SafeExecution(() => MEOSExternalFunctions.floatspan_expand(s, value)); + + public static IntPtr floatspan_in(string str) + => SafeExecution(() => MEOSExternalFunctions.floatspan_in(str)); + + public static string floatspan_out(IntPtr s, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.floatspan_out(s, maxdd)); + + public static IntPtr floatspanset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_in(str)); + + public static string floatspanset_out(IntPtr ss, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_out(ss, maxdd)); + + public static IntPtr intset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.intset_in(str)); + + public static string intset_out(IntPtr set) + => SafeExecution(() => MEOSExternalFunctions.intset_out(set)); + + public static IntPtr intspan_expand(IntPtr s, int value) + => SafeExecution(() => MEOSExternalFunctions.intspan_expand(s, value)); + + public static IntPtr intspan_in(string str) + => SafeExecution(() => MEOSExternalFunctions.intspan_in(str)); + + public static string intspan_out(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intspan_out(s)); + + public static IntPtr intspanset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.intspanset_in(str)); + + public static string intspanset_out(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.intspanset_out(ss)); + + public static string set_as_hexwkb(IntPtr s, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.set_as_hexwkb(s, variant, size_out)); + + public static IntPtr set_as_wkb(IntPtr s, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.set_as_wkb(s, variant, size_out)); + + public static IntPtr set_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.set_from_hexwkb(hexwkb)); + + public static IntPtr set_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.set_from_wkb(wkb, size)); + + public static string span_as_hexwkb(IntPtr s, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.span_as_hexwkb(s, variant, size_out)); + + public static IntPtr span_as_wkb(IntPtr s, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.span_as_wkb(s, variant, size_out)); + + public static IntPtr span_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.span_from_hexwkb(hexwkb)); + + public static IntPtr span_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.span_from_wkb(wkb, size)); + + public static string spanset_as_hexwkb(IntPtr ss, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.spanset_as_hexwkb(ss, variant, size_out)); + + public static IntPtr spanset_as_wkb(IntPtr ss, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.spanset_as_wkb(ss, variant, size_out)); + + public static IntPtr spanset_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.spanset_from_hexwkb(hexwkb)); + + public static IntPtr spanset_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.spanset_from_wkb(wkb, size)); + + public static IntPtr textset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.textset_in(str)); + + public static string textset_out(IntPtr set) + => SafeExecution(() => MEOSExternalFunctions.textset_out(set)); + + public static IntPtr tstzset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tstzset_in(str)); + + public static string tstzset_out(IntPtr set) + => SafeExecution(() => MEOSExternalFunctions.tstzset_out(set)); + + public static IntPtr tstzspan_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_in(str)); + + public static string tstzspan_out(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_out(s)); + + public static IntPtr tstzspanset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_in(str)); + + public static string tstzspanset_out(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_out(ss)); + + public static IntPtr bigintset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.bigintset_make(values, count)); + + public static IntPtr bigintspan_make(long lower, long upper, bool lower_inc, bool upper_inc) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_make(lower, upper, lower_inc, upper_inc)); + + public static IntPtr dateset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.dateset_make(values, count)); + + public static IntPtr datespan_make(int lower, int upper, bool lower_inc, bool upper_inc) + => SafeExecution(() => MEOSExternalFunctions.datespan_make(lower, upper, lower_inc, upper_inc)); + + public static IntPtr floatset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.floatset_make(values, count)); + + public static IntPtr floatspan_make(double lower, double upper, bool lower_inc, bool upper_inc) + => SafeExecution(() => MEOSExternalFunctions.floatspan_make(lower, upper, lower_inc, upper_inc)); + + public static IntPtr intset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.intset_make(values, count)); + + public static IntPtr intspan_make(int lower, int upper, bool lower_inc, bool upper_inc) + => SafeExecution(() => MEOSExternalFunctions.intspan_make(lower, upper, lower_inc, upper_inc)); + + public static IntPtr set_copy(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_copy(s)); + + public static IntPtr span_copy(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_copy(s)); + + public static IntPtr spanset_copy(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_copy(ss)); + + public static IntPtr spanset_make(IntPtr spans, int count) + => SafeExecution(() => MEOSExternalFunctions.spanset_make(spans, count)); + + public static IntPtr textset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.textset_make(values, count)); + + public static IntPtr tstzset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.tstzset_make(values, count)); + + public static IntPtr tstzspan_make(long lower, long upper, bool lower_inc, bool upper_inc) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_make(lower, upper, lower_inc, upper_inc)); + + public static IntPtr bigint_to_set(long i) + => SafeExecution(() => MEOSExternalFunctions.bigint_to_set(i)); + + public static IntPtr bigint_to_span(int i) + => SafeExecution(() => MEOSExternalFunctions.bigint_to_span(i)); + + public static IntPtr bigint_to_spanset(int i) + => SafeExecution(() => MEOSExternalFunctions.bigint_to_spanset(i)); + + public static IntPtr date_to_set(int d) + => SafeExecution(() => MEOSExternalFunctions.date_to_set(d)); + + public static IntPtr date_to_span(int d) + => SafeExecution(() => MEOSExternalFunctions.date_to_span(d)); + + public static IntPtr date_to_spanset(int d) + => SafeExecution(() => MEOSExternalFunctions.date_to_spanset(d)); + + public static IntPtr dateset_to_tstzset(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.dateset_to_tstzset(s)); + + public static IntPtr datespan_to_tstzspan(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.datespan_to_tstzspan(s)); + + public static IntPtr datespanset_to_tstzspanset(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.datespanset_to_tstzspanset(ss)); + + public static IntPtr float_to_set(double d) + => SafeExecution(() => MEOSExternalFunctions.float_to_set(d)); + + public static IntPtr float_to_span(double d) + => SafeExecution(() => MEOSExternalFunctions.float_to_span(d)); + + public static IntPtr float_to_spanset(double d) + => SafeExecution(() => MEOSExternalFunctions.float_to_spanset(d)); + + public static IntPtr floatset_to_intset(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatset_to_intset(s)); + + public static IntPtr floatspan_to_intspan(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatspan_to_intspan(s)); + + public static IntPtr floatspanset_to_intspanset(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_to_intspanset(ss)); + + public static IntPtr int_to_set(int i) + => SafeExecution(() => MEOSExternalFunctions.int_to_set(i)); + + public static IntPtr int_to_span(int i) + => SafeExecution(() => MEOSExternalFunctions.int_to_span(i)); + + public static IntPtr int_to_spanset(int i) + => SafeExecution(() => MEOSExternalFunctions.int_to_spanset(i)); + + public static IntPtr intset_to_floatset(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intset_to_floatset(s)); + + public static IntPtr intspan_to_floatspan(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intspan_to_floatspan(s)); + + public static IntPtr intspanset_to_floatspanset(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.intspanset_to_floatspanset(ss)); + + public static IntPtr set_to_span(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_to_span(s)); + + public static IntPtr set_to_spanset(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_to_spanset(s)); + + public static IntPtr span_to_spanset(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_to_spanset(s)); + + public static IntPtr text_to_set(IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.text_to_set(txt)); + + public static IntPtr timestamptz_to_set(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_set(t)); + + public static IntPtr timestamptz_to_span(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_span(t)); + + public static IntPtr timestamptz_to_spanset(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_spanset(t)); + + public static IntPtr tstzset_to_dateset(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzset_to_dateset(s)); + + public static IntPtr tstzspan_to_datespan(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_to_datespan(s)); + + public static IntPtr tstzspanset_to_datespanset(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_to_datespanset(ss)); + + public static long bigintset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.bigintset_end_value(s)); + + public static long bigintset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.bigintset_start_value(s)); + + public static bool bigintset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.bigintset_value_n(s, n, result)); + + public static long[] bigintset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.bigintset_values(s)); + long[] _out = new long[_n]; + Marshal.Copy(_p, _out, 0, _n); + return _out; + } + + public static long bigintspan_lower(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_lower(s)); + + public static long bigintspan_upper(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_upper(s)); + + public static long bigintspan_width(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_width(s)); + + public static long bigintspanset_lower(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.bigintspanset_lower(ss)); + + public static long bigintspanset_upper(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.bigintspanset_upper(ss)); + + public static long bigintspanset_width(IntPtr ss, bool boundspan) + => SafeExecution(() => MEOSExternalFunctions.bigintspanset_width(ss, boundspan)); + + public static int dateset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.dateset_end_value(s)); + + public static int dateset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.dateset_start_value(s)); + + public static bool dateset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.dateset_value_n(s, n, result)); + + public static int[] dateset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.dateset_values(s)); + int[] _out = new int[_n]; + Marshal.Copy(_p, _out, 0, _n); + return _out; + } + + public static IntPtr datespan_duration(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.datespan_duration(s)); + + public static int datespan_lower(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.datespan_lower(s)); + + public static int datespan_upper(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.datespan_upper(s)); + + public static bool datespanset_date_n(IntPtr ss, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.datespanset_date_n(ss, n, result)); + + public static IntPtr datespanset_dates(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.datespanset_dates(ss)); + + public static IntPtr datespanset_duration(IntPtr ss, bool boundspan) + => SafeExecution(() => MEOSExternalFunctions.datespanset_duration(ss, boundspan)); + + public static int datespanset_end_date(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.datespanset_end_date(ss)); + + public static int datespanset_num_dates(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.datespanset_num_dates(ss)); + + public static int datespanset_start_date(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.datespanset_start_date(ss)); + + public static double floatset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatset_end_value(s)); + + public static double floatset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatset_start_value(s)); + + public static bool floatset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.floatset_value_n(s, n, result)); + + public static double[] floatset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.floatset_values(s)); + double[] _out = new double[_n]; + Marshal.Copy(_p, _out, 0, _n); + return _out; + } + + public static double floatspan_lower(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatspan_lower(s)); + + public static double floatspan_upper(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatspan_upper(s)); + + public static double floatspan_width(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatspan_width(s)); + + public static double floatspanset_lower(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_lower(ss)); + + public static double floatspanset_upper(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_upper(ss)); + + public static double floatspanset_width(IntPtr ss, bool boundspan) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_width(ss, boundspan)); + + public static int intset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intset_end_value(s)); + + public static int intset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intset_start_value(s)); + + public static bool intset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.intset_value_n(s, n, result)); + + public static int[] intset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.intset_values(s)); + int[] _out = new int[_n]; + Marshal.Copy(_p, _out, 0, _n); + return _out; + } + + public static int intspan_lower(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intspan_lower(s)); + + public static int intspan_upper(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intspan_upper(s)); + + public static int intspan_width(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intspan_width(s)); + + public static int intspanset_lower(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.intspanset_lower(ss)); + + public static int intspanset_upper(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.intspanset_upper(ss)); + + public static int intspanset_width(IntPtr ss, bool boundspan) + => SafeExecution(() => MEOSExternalFunctions.intspanset_width(ss, boundspan)); + + public static uint set_hash(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_hash(s)); + + public static ulong set_hash_extended(IntPtr s, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.set_hash_extended(s, seed)); + + public static int set_num_values(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_num_values(s)); + + public static uint span_hash(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_hash(s)); + + public static ulong span_hash_extended(IntPtr s, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.span_hash_extended(s, seed)); + + public static bool span_lower_inc(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_lower_inc(s)); + + public static bool span_upper_inc(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_upper_inc(s)); + + public static IntPtr spanset_end_span(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_end_span(ss)); + + public static uint spanset_hash(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_hash(ss)); + + public static ulong spanset_hash_extended(IntPtr ss, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.spanset_hash_extended(ss, seed)); + + public static bool spanset_lower_inc(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_lower_inc(ss)); + + public static int spanset_num_spans(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_num_spans(ss)); + + public static IntPtr spanset_span(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_span(ss)); + + public static IntPtr spanset_span_n(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.spanset_span_n(ss, i)); + + public static IntPtr[] spanset_spanarr(IntPtr ss) + { + int _n = (int)MEOSExposedFunctions.spanset_num_spans(ss); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.spanset_spanarr(ss)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static IntPtr spanset_start_span(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_start_span(ss)); + + public static bool spanset_upper_inc(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_upper_inc(ss)); + + public static IntPtr textset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.textset_end_value(s)); + + public static IntPtr textset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.textset_start_value(s)); + + public static bool textset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.textset_value_n(s, n, result)); + + public static IntPtr[] textset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.textset_values(s)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static long tstzset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzset_end_value(s)); + + public static long tstzset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzset_start_value(s)); + + public static bool tstzset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tstzset_value_n(s, n, result)); + + public static long[] tstzset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.tstzset_values(s)); + long[] _out = new long[_n]; + Marshal.Copy(_p, _out, 0, _n); + return _out; + } + + public static IntPtr tstzspan_duration(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_duration(s)); + + public static long tstzspan_lower(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_lower(s)); + + public static long tstzspan_upper(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_upper(s)); + + public static IntPtr tstzspanset_duration(IntPtr ss, bool boundspan) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_duration(ss, boundspan)); + + public static long tstzspanset_end_timestamptz(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_end_timestamptz(ss)); + + public static long tstzspanset_lower(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_lower(ss)); + + public static int tstzspanset_num_timestamps(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_num_timestamps(ss)); + + public static long tstzspanset_start_timestamptz(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_start_timestamptz(ss)); + + public static IntPtr tstzspanset_timestamps(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_timestamps(ss)); + + public static bool tstzspanset_timestamptz_n(IntPtr ss, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_timestamptz_n(ss, n, result)); + + public static long tstzspanset_upper(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_upper(ss)); + + public static IntPtr bigintset_shift_scale(IntPtr s, long shift, long width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.bigintset_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr bigintspan_shift_scale(IntPtr s, long shift, long width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr bigintspanset_shift_scale(IntPtr ss, long shift, long width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.bigintspanset_shift_scale(ss, shift, width, hasshift, haswidth)); + + public static IntPtr dateset_shift_scale(IntPtr s, int shift, int width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.dateset_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr datespan_shift_scale(IntPtr s, int shift, int width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.datespan_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr datespanset_shift_scale(IntPtr ss, int shift, int width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.datespanset_shift_scale(ss, shift, width, hasshift, haswidth)); + + public static IntPtr floatset_ceil(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatset_ceil(s)); + + public static IntPtr floatset_degrees(IntPtr s, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.floatset_degrees(s, normalize)); + + public static IntPtr floatset_floor(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatset_floor(s)); + + public static IntPtr floatset_radians(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatset_radians(s)); + + public static IntPtr floatset_shift_scale(IntPtr s, double shift, double width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.floatset_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr floatspan_ceil(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatspan_ceil(s)); + + public static IntPtr floatspan_degrees(IntPtr s, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.floatspan_degrees(s, normalize)); + + public static IntPtr floatspan_floor(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatspan_floor(s)); + + public static IntPtr floatspan_radians(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.floatspan_radians(s)); + + public static IntPtr floatspan_round(IntPtr s, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.floatspan_round(s, maxdd)); + + public static IntPtr floatspan_shift_scale(IntPtr s, double shift, double width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.floatspan_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr floatspanset_ceil(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_ceil(ss)); + + public static IntPtr floatspanset_floor(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_floor(ss)); + + public static IntPtr floatspanset_degrees(IntPtr ss, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_degrees(ss, normalize)); + + public static IntPtr floatspanset_radians(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_radians(ss)); + + public static IntPtr floatspanset_round(IntPtr ss, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_round(ss, maxdd)); + + public static IntPtr floatspanset_shift_scale(IntPtr ss, double shift, double width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_shift_scale(ss, shift, width, hasshift, haswidth)); + + public static IntPtr intset_shift_scale(IntPtr s, int shift, int width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.intset_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr intspan_shift_scale(IntPtr s, int shift, int width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.intspan_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr intspanset_shift_scale(IntPtr ss, int shift, int width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.intspanset_shift_scale(ss, shift, width, hasshift, haswidth)); + + public static IntPtr tstzspan_expand(IntPtr s, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_expand(s, interv)); + + public static IntPtr set_round(IntPtr s, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.set_round(s, maxdd)); + + public static IntPtr textcat_text_textset(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.textcat_text_textset(txt, s)); + + public static IntPtr textcat_textset_text(IntPtr s, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.textcat_textset_text(s, txt)); + + public static IntPtr textset_initcap(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.textset_initcap(s)); + + public static IntPtr textset_lower(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.textset_lower(s)); + + public static IntPtr textset_upper(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.textset_upper(s)); + + public static long timestamptz_tprecision(long t, IntPtr duration, long torigin) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_tprecision(t, duration, torigin)); + + public static IntPtr tstzset_shift_scale(IntPtr s, IntPtr shift, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.tstzset_shift_scale(s, shift, duration)); + + public static IntPtr tstzset_tprecision(IntPtr s, IntPtr duration, long torigin) + => SafeExecution(() => MEOSExternalFunctions.tstzset_tprecision(s, duration, torigin)); + + public static IntPtr tstzspan_shift_scale(IntPtr s, IntPtr shift, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_shift_scale(s, shift, duration)); + + public static IntPtr tstzspan_tprecision(IntPtr s, IntPtr duration, long torigin) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_tprecision(s, duration, torigin)); + + public static IntPtr tstzspanset_shift_scale(IntPtr ss, IntPtr shift, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_shift_scale(ss, shift, duration)); + + public static IntPtr tstzspanset_tprecision(IntPtr ss, IntPtr duration, long torigin) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_tprecision(ss, duration, torigin)); + + public static int set_cmp(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.set_cmp(s1, s2)); + + public static bool set_eq(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.set_eq(s1, s2)); + + public static bool set_ge(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.set_ge(s1, s2)); + + public static bool set_gt(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.set_gt(s1, s2)); + + public static bool set_le(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.set_le(s1, s2)); + + public static bool set_lt(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.set_lt(s1, s2)); + + public static bool set_ne(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.set_ne(s1, s2)); + + public static int span_cmp(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.span_cmp(s1, s2)); + + public static bool span_eq(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.span_eq(s1, s2)); + + public static bool span_ge(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.span_ge(s1, s2)); + + public static bool span_gt(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.span_gt(s1, s2)); + + public static bool span_le(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.span_le(s1, s2)); + + public static bool span_lt(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.span_lt(s1, s2)); + + public static bool span_ne(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.span_ne(s1, s2)); + + public static int spanset_cmp(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.spanset_cmp(ss1, ss2)); + + public static bool spanset_eq(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.spanset_eq(ss1, ss2)); + + public static bool spanset_ge(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.spanset_ge(ss1, ss2)); + + public static bool spanset_gt(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.spanset_gt(ss1, ss2)); + + public static bool spanset_le(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.spanset_le(ss1, ss2)); + + public static bool spanset_lt(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.spanset_lt(ss1, ss2)); + + public static bool spanset_ne(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.spanset_ne(ss1, ss2)); + + public static IntPtr set_spans(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_spans(s)); + + public static IntPtr set_split_each_n_spans(IntPtr s, int elems_per_span, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.set_split_each_n_spans(s, elems_per_span, count)); + + public static IntPtr set_split_n_spans(IntPtr s, int span_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.set_split_n_spans(s, span_count, count)); + + public static IntPtr spanset_spans(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_spans(ss)); + + public static IntPtr spanset_split_each_n_spans(IntPtr ss, int elems_per_span, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.spanset_split_each_n_spans(ss, elems_per_span, count)); + + public static IntPtr spanset_split_n_spans(IntPtr ss, int span_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.spanset_split_n_spans(ss, span_count, count)); + + public static bool adjacent_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.adjacent_span_bigint(s, i)); + + public static bool adjacent_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.adjacent_span_date(s, d)); + + public static bool adjacent_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.adjacent_span_float(s, d)); + + public static bool adjacent_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.adjacent_span_int(s, i)); + + public static bool adjacent_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.adjacent_span_span(s1, s2)); + + public static bool adjacent_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.adjacent_span_spanset(s, ss)); + + public static bool adjacent_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.adjacent_span_timestamptz(s, t)); + + public static bool adjacent_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_bigint(ss, i)); + + public static bool adjacent_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_date(ss, d)); + + public static bool adjacent_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_float(ss, d)); + + public static bool adjacent_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_int(ss, i)); + + public static bool adjacent_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_timestamptz(ss, t)); + + public static bool adjacent_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_span(ss, s)); + + public static bool adjacent_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_spanset(ss1, ss2)); + + public static bool contained_bigint_set(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_bigint_set(i, s)); + + public static bool contained_bigint_span(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_bigint_span(i, s)); + + public static bool contained_bigint_spanset(long i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.contained_bigint_spanset(i, ss)); + + public static bool contained_date_set(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_date_set(d, s)); + + public static bool contained_date_span(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_date_span(d, s)); + + public static bool contained_date_spanset(int d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.contained_date_spanset(d, ss)); + + public static bool contained_float_set(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_float_set(d, s)); + + public static bool contained_float_span(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_float_span(d, s)); + + public static bool contained_float_spanset(double d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.contained_float_spanset(d, ss)); + + public static bool contained_int_set(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_int_set(i, s)); + + public static bool contained_int_span(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_int_span(i, s)); + + public static bool contained_int_spanset(int i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.contained_int_spanset(i, ss)); + + public static bool contained_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.contained_set_set(s1, s2)); + + public static bool contained_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.contained_span_span(s1, s2)); + + public static bool contained_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.contained_span_spanset(s, ss)); + + public static bool contained_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_spanset_span(ss, s)); + + public static bool contained_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.contained_spanset_spanset(ss1, ss2)); + + public static bool contained_text_set(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_text_set(txt, s)); + + public static bool contained_timestamptz_set(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_timestamptz_set(t, s)); + + public static bool contained_timestamptz_span(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_timestamptz_span(t, s)); + + public static bool contained_timestamptz_spanset(long t, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.contained_timestamptz_spanset(t, ss)); + + public static bool contains_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.contains_set_bigint(s, i)); + + public static bool contains_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.contains_set_date(s, d)); + + public static bool contains_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.contains_set_float(s, d)); + + public static bool contains_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.contains_set_int(s, i)); + + public static bool contains_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.contains_set_set(s1, s2)); + + public static bool contains_set_text(IntPtr s, IntPtr t) + => SafeExecution(() => MEOSExternalFunctions.contains_set_text(s, t)); + + public static bool contains_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.contains_set_timestamptz(s, t)); + + public static bool contains_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.contains_span_bigint(s, i)); + + public static bool contains_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.contains_span_date(s, d)); + + public static bool contains_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.contains_span_float(s, d)); + + public static bool contains_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.contains_span_int(s, i)); + + public static bool contains_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.contains_span_span(s1, s2)); + + public static bool contains_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.contains_span_spanset(s, ss)); + + public static bool contains_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.contains_span_timestamptz(s, t)); + + public static bool contains_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.contains_spanset_bigint(ss, i)); + + public static bool contains_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.contains_spanset_date(ss, d)); + + public static bool contains_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.contains_spanset_float(ss, d)); + + public static bool contains_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.contains_spanset_int(ss, i)); + + public static bool contains_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contains_spanset_span(ss, s)); + + public static bool contains_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.contains_spanset_spanset(ss1, ss2)); + + public static bool contains_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.contains_spanset_timestamptz(ss, t)); + + public static bool overlaps_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.overlaps_set_set(s1, s2)); + + public static bool overlaps_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.overlaps_span_span(s1, s2)); + + public static bool overlaps_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overlaps_span_spanset(s, ss)); + + public static bool overlaps_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overlaps_spanset_span(ss, s)); + + public static bool overlaps_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.overlaps_spanset_spanset(ss1, ss2)); + + public static bool after_date_set(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.after_date_set(d, s)); + + public static bool after_date_span(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.after_date_span(d, s)); + + public static bool after_date_spanset(int d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.after_date_spanset(d, ss)); + + public static bool after_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.after_set_date(s, d)); + + public static bool after_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.after_set_timestamptz(s, t)); + + public static bool after_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.after_span_date(s, d)); + + public static bool after_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.after_span_timestamptz(s, t)); + + public static bool after_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.after_spanset_date(ss, d)); + + public static bool after_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.after_spanset_timestamptz(ss, t)); + + public static bool after_timestamptz_set(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.after_timestamptz_set(t, s)); + + public static bool after_timestamptz_span(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.after_timestamptz_span(t, s)); + + public static bool after_timestamptz_spanset(long t, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.after_timestamptz_spanset(t, ss)); + + public static bool before_date_set(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.before_date_set(d, s)); + + public static bool before_date_span(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.before_date_span(d, s)); + + public static bool before_date_spanset(int d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.before_date_spanset(d, ss)); + + public static bool before_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.before_set_date(s, d)); + + public static bool before_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.before_set_timestamptz(s, t)); + + public static bool before_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.before_span_date(s, d)); + + public static bool before_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.before_span_timestamptz(s, t)); + + public static bool before_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.before_spanset_date(ss, d)); + + public static bool before_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.before_spanset_timestamptz(ss, t)); + + public static bool before_timestamptz_set(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.before_timestamptz_set(t, s)); + + public static bool before_timestamptz_span(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.before_timestamptz_span(t, s)); + + public static bool before_timestamptz_spanset(long t, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.before_timestamptz_spanset(t, ss)); + + public static bool left_bigint_set(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_bigint_set(i, s)); + + public static bool left_bigint_span(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_bigint_span(i, s)); + + public static bool left_bigint_spanset(long i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.left_bigint_spanset(i, ss)); + + public static bool left_float_set(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_float_set(d, s)); + + public static bool left_float_span(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_float_span(d, s)); + + public static bool left_float_spanset(double d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.left_float_spanset(d, ss)); + + public static bool left_int_set(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_int_set(i, s)); + + public static bool left_int_span(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_int_span(i, s)); + + public static bool left_int_spanset(int i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.left_int_spanset(i, ss)); + + public static bool left_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.left_set_bigint(s, i)); + + public static bool left_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.left_set_float(s, d)); + + public static bool left_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.left_set_int(s, i)); + + public static bool left_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.left_set_set(s1, s2)); + + public static bool left_set_text(IntPtr s, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.left_set_text(s, txt)); + + public static bool left_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.left_span_bigint(s, i)); + + public static bool left_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.left_span_float(s, d)); + + public static bool left_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.left_span_int(s, i)); + + public static bool left_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.left_span_span(s1, s2)); + + public static bool left_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.left_span_spanset(s, ss)); + + public static bool left_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.left_spanset_bigint(ss, i)); + + public static bool left_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.left_spanset_float(ss, d)); + + public static bool left_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.left_spanset_int(ss, i)); + + public static bool left_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_spanset_span(ss, s)); + + public static bool left_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.left_spanset_spanset(ss1, ss2)); + + public static bool left_text_set(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_text_set(txt, s)); + + public static bool overafter_date_set(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overafter_date_set(d, s)); + + public static bool overafter_date_span(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overafter_date_span(d, s)); + + public static bool overafter_date_spanset(int d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overafter_date_spanset(d, ss)); + + public static bool overafter_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.overafter_set_date(s, d)); + + public static bool overafter_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.overafter_set_timestamptz(s, t)); + + public static bool overafter_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.overafter_span_date(s, d)); + + public static bool overafter_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.overafter_span_timestamptz(s, t)); + + public static bool overafter_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.overafter_spanset_date(ss, d)); + + public static bool overafter_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.overafter_spanset_timestamptz(ss, t)); + + public static bool overafter_timestamptz_set(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overafter_timestamptz_set(t, s)); + + public static bool overafter_timestamptz_span(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overafter_timestamptz_span(t, s)); + + public static bool overafter_timestamptz_spanset(long t, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overafter_timestamptz_spanset(t, ss)); + + public static bool overbefore_date_set(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overbefore_date_set(d, s)); + + public static bool overbefore_date_span(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overbefore_date_span(d, s)); + + public static bool overbefore_date_spanset(int d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overbefore_date_spanset(d, ss)); + + public static bool overbefore_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.overbefore_set_date(s, d)); + + public static bool overbefore_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.overbefore_set_timestamptz(s, t)); + + public static bool overbefore_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.overbefore_span_date(s, d)); + + public static bool overbefore_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.overbefore_span_timestamptz(s, t)); + + public static bool overbefore_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.overbefore_spanset_date(ss, d)); + + public static bool overbefore_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.overbefore_spanset_timestamptz(ss, t)); + + public static bool overbefore_timestamptz_set(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overbefore_timestamptz_set(t, s)); + + public static bool overbefore_timestamptz_span(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overbefore_timestamptz_span(t, s)); + + public static bool overbefore_timestamptz_spanset(long t, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overbefore_timestamptz_spanset(t, ss)); + + public static bool overleft_bigint_set(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_bigint_set(i, s)); + + public static bool overleft_bigint_span(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_bigint_span(i, s)); + + public static bool overleft_bigint_spanset(long i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overleft_bigint_spanset(i, ss)); + + public static bool overleft_float_set(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_float_set(d, s)); + + public static bool overleft_float_span(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_float_span(d, s)); + + public static bool overleft_float_spanset(double d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overleft_float_spanset(d, ss)); + + public static bool overleft_int_set(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_int_set(i, s)); + + public static bool overleft_int_span(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_int_span(i, s)); + + public static bool overleft_int_spanset(int i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overleft_int_spanset(i, ss)); + + public static bool overleft_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.overleft_set_bigint(s, i)); + + public static bool overleft_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.overleft_set_float(s, d)); + + public static bool overleft_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.overleft_set_int(s, i)); + + public static bool overleft_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.overleft_set_set(s1, s2)); + + public static bool overleft_set_text(IntPtr s, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.overleft_set_text(s, txt)); + + public static bool overleft_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.overleft_span_bigint(s, i)); + + public static bool overleft_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.overleft_span_float(s, d)); + + public static bool overleft_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.overleft_span_int(s, i)); + + public static bool overleft_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.overleft_span_span(s1, s2)); + + public static bool overleft_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overleft_span_spanset(s, ss)); + + public static bool overleft_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_bigint(ss, i)); + + public static bool overleft_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_float(ss, d)); + + public static bool overleft_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_int(ss, i)); + + public static bool overleft_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_span(ss, s)); + + public static bool overleft_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_spanset(ss1, ss2)); + + public static bool overleft_text_set(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_text_set(txt, s)); + + public static bool overright_bigint_set(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_bigint_set(i, s)); + + public static bool overright_bigint_span(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_bigint_span(i, s)); + + public static bool overright_bigint_spanset(long i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overright_bigint_spanset(i, ss)); + + public static bool overright_float_set(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_float_set(d, s)); + + public static bool overright_float_span(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_float_span(d, s)); + + public static bool overright_float_spanset(double d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overright_float_spanset(d, ss)); + + public static bool overright_int_set(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_int_set(i, s)); + + public static bool overright_int_span(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_int_span(i, s)); + + public static bool overright_int_spanset(int i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overright_int_spanset(i, ss)); + + public static bool overright_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.overright_set_bigint(s, i)); + + public static bool overright_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.overright_set_float(s, d)); + + public static bool overright_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.overright_set_int(s, i)); + + public static bool overright_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.overright_set_set(s1, s2)); + + public static bool overright_set_text(IntPtr s, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.overright_set_text(s, txt)); + + public static bool overright_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.overright_span_bigint(s, i)); + + public static bool overright_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.overright_span_float(s, d)); + + public static bool overright_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.overright_span_int(s, i)); + + public static bool overright_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.overright_span_span(s1, s2)); + + public static bool overright_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overright_span_spanset(s, ss)); + + public static bool overright_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.overright_spanset_bigint(ss, i)); + + public static bool overright_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.overright_spanset_float(ss, d)); + + public static bool overright_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.overright_spanset_int(ss, i)); + + public static bool overright_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_spanset_span(ss, s)); + + public static bool overright_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.overright_spanset_spanset(ss1, ss2)); + + public static bool overright_text_set(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_text_set(txt, s)); + + public static bool right_bigint_set(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_bigint_set(i, s)); + + public static bool right_bigint_span(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_bigint_span(i, s)); + + public static bool right_bigint_spanset(long i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.right_bigint_spanset(i, ss)); + + public static bool right_float_set(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_float_set(d, s)); + + public static bool right_float_span(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_float_span(d, s)); + + public static bool right_float_spanset(double d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.right_float_spanset(d, ss)); + + public static bool right_int_set(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_int_set(i, s)); + + public static bool right_int_span(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_int_span(i, s)); + + public static bool right_int_spanset(int i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.right_int_spanset(i, ss)); + + public static bool right_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.right_set_bigint(s, i)); + + public static bool right_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.right_set_float(s, d)); + + public static bool right_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.right_set_int(s, i)); + + public static bool right_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.right_set_set(s1, s2)); + + public static bool right_set_text(IntPtr s, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.right_set_text(s, txt)); + + public static bool right_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.right_span_bigint(s, i)); + + public static bool right_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.right_span_float(s, d)); + + public static bool right_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.right_span_int(s, i)); + + public static bool right_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.right_span_span(s1, s2)); + + public static bool right_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.right_span_spanset(s, ss)); + + public static bool right_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.right_spanset_bigint(ss, i)); + + public static bool right_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.right_spanset_float(ss, d)); + + public static bool right_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.right_spanset_int(ss, i)); + + public static bool right_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_spanset_span(ss, s)); + + public static bool right_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.right_spanset_spanset(ss1, ss2)); + + public static bool right_text_set(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_text_set(txt, s)); + + public static IntPtr intersection_bigint_set(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_bigint_set(i, s)); + + public static IntPtr intersection_date_set(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_date_set(d, s)); + + public static IntPtr intersection_float_set(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_float_set(d, s)); + + public static IntPtr intersection_int_set(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_int_set(i, s)); + + public static IntPtr intersection_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_bigint(s, i)); + + public static IntPtr intersection_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_date(s, d)); + + public static IntPtr intersection_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_float(s, d)); + + public static IntPtr intersection_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_int(s, i)); + + public static IntPtr intersection_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_set(s1, s2)); + + public static IntPtr intersection_set_text(IntPtr s, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_text(s, txt)); + + public static IntPtr intersection_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_timestamptz(s, t)); + + public static IntPtr intersection_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.intersection_span_bigint(s, i)); + + public static IntPtr intersection_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.intersection_span_date(s, d)); + + public static IntPtr intersection_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.intersection_span_float(s, d)); + + public static IntPtr intersection_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.intersection_span_int(s, i)); + + public static IntPtr intersection_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.intersection_span_span(s1, s2)); + + public static IntPtr intersection_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.intersection_span_spanset(s, ss)); + + public static IntPtr intersection_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.intersection_span_timestamptz(s, t)); + + public static IntPtr intersection_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_bigint(ss, i)); + + public static IntPtr intersection_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_date(ss, d)); + + public static IntPtr intersection_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_float(ss, d)); + + public static IntPtr intersection_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_int(ss, i)); + + public static IntPtr intersection_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_span(ss, s)); + + public static IntPtr intersection_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_spanset(ss1, ss2)); + + public static IntPtr intersection_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_timestamptz(ss, t)); + + public static IntPtr intersection_text_set(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_text_set(txt, s)); + + public static IntPtr intersection_timestamptz_set(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_timestamptz_set(t, s)); + + public static IntPtr minus_bigint_set(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_bigint_set(i, s)); + + public static IntPtr minus_bigint_span(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_bigint_span(i, s)); + + public static IntPtr minus_bigint_spanset(long i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.minus_bigint_spanset(i, ss)); + + public static IntPtr minus_date_set(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_date_set(d, s)); + + public static IntPtr minus_date_span(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_date_span(d, s)); + + public static IntPtr minus_date_spanset(int d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.minus_date_spanset(d, ss)); + + public static IntPtr minus_float_set(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_float_set(d, s)); + + public static IntPtr minus_float_span(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_float_span(d, s)); + + public static IntPtr minus_float_spanset(double d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.minus_float_spanset(d, ss)); + + public static IntPtr minus_int_set(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_int_set(i, s)); + + public static IntPtr minus_int_span(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_int_span(i, s)); + + public static IntPtr minus_int_spanset(int i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.minus_int_spanset(i, ss)); + + public static IntPtr minus_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.minus_set_bigint(s, i)); + + public static IntPtr minus_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.minus_set_date(s, d)); + + public static IntPtr minus_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.minus_set_float(s, d)); + + public static IntPtr minus_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.minus_set_int(s, i)); + + public static IntPtr minus_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.minus_set_set(s1, s2)); + + public static IntPtr minus_set_text(IntPtr s, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.minus_set_text(s, txt)); + + public static IntPtr minus_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.minus_set_timestamptz(s, t)); + + public static IntPtr minus_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.minus_span_bigint(s, i)); + + public static IntPtr minus_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.minus_span_date(s, d)); + + public static IntPtr minus_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.minus_span_float(s, d)); + + public static IntPtr minus_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.minus_span_int(s, i)); + + public static IntPtr minus_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.minus_span_span(s1, s2)); + + public static IntPtr minus_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.minus_span_spanset(s, ss)); + + public static IntPtr minus_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.minus_span_timestamptz(s, t)); + + public static IntPtr minus_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.minus_spanset_bigint(ss, i)); + + public static IntPtr minus_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.minus_spanset_date(ss, d)); + + public static IntPtr minus_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.minus_spanset_float(ss, d)); + + public static IntPtr minus_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.minus_spanset_int(ss, i)); + + public static IntPtr minus_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_spanset_span(ss, s)); + + public static IntPtr minus_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.minus_spanset_spanset(ss1, ss2)); + + public static IntPtr minus_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.minus_spanset_timestamptz(ss, t)); + + public static IntPtr minus_text_set(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_text_set(txt, s)); + + public static IntPtr minus_timestamptz_set(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_timestamptz_set(t, s)); + + public static IntPtr minus_timestamptz_span(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_timestamptz_span(t, s)); + + public static IntPtr minus_timestamptz_spanset(long t, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.minus_timestamptz_spanset(t, ss)); + + public static IntPtr union_bigint_set(long i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_bigint_set(i, s)); + + public static IntPtr union_bigint_span(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.union_bigint_span(s, i)); + + public static IntPtr union_bigint_spanset(long i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.union_bigint_spanset(i, ss)); + + public static IntPtr union_date_set(int d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_date_set(d, s)); + + public static IntPtr union_date_span(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.union_date_span(s, d)); + + public static IntPtr union_date_spanset(int d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.union_date_spanset(d, ss)); + + public static IntPtr union_float_set(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_float_set(d, s)); + + public static IntPtr union_float_span(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.union_float_span(s, d)); + + public static IntPtr union_float_spanset(double d, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.union_float_spanset(d, ss)); + + public static IntPtr union_int_set(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_int_set(i, s)); + + public static IntPtr union_int_span(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_int_span(i, s)); + + public static IntPtr union_int_spanset(int i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.union_int_spanset(i, ss)); + + public static IntPtr union_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.union_set_bigint(s, i)); + + public static IntPtr union_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.union_set_date(s, d)); + + public static IntPtr union_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.union_set_float(s, d)); + + public static IntPtr union_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.union_set_int(s, i)); + + public static IntPtr union_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.union_set_set(s1, s2)); + + public static IntPtr union_set_text(IntPtr s, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.union_set_text(s, txt)); + + public static IntPtr union_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.union_set_timestamptz(s, t)); + + public static IntPtr union_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.union_span_bigint(s, i)); + + public static IntPtr union_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.union_span_date(s, d)); + + public static IntPtr union_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.union_span_float(s, d)); + + public static IntPtr union_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.union_span_int(s, i)); + + public static IntPtr union_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.union_span_span(s1, s2)); + + public static IntPtr union_span_spanset(IntPtr s, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.union_span_spanset(s, ss)); + + public static IntPtr union_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.union_span_timestamptz(s, t)); + + public static IntPtr union_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.union_spanset_bigint(ss, i)); + + public static IntPtr union_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.union_spanset_date(ss, d)); + + public static IntPtr union_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.union_spanset_float(ss, d)); + + public static IntPtr union_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.union_spanset_int(ss, i)); + + public static IntPtr union_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_spanset_span(ss, s)); + + public static IntPtr union_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.union_spanset_spanset(ss1, ss2)); + + public static IntPtr union_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.union_spanset_timestamptz(ss, t)); + + public static IntPtr union_text_set(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_text_set(txt, s)); + + public static IntPtr union_timestamptz_set(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_timestamptz_set(t, s)); + + public static IntPtr union_timestamptz_span(long t, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_timestamptz_span(t, s)); + + public static IntPtr union_timestamptz_spanset(long t, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.union_timestamptz_spanset(t, ss)); + + public static long distance_bigintset_bigintset(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_bigintset_bigintset(s1, s2)); + + public static long distance_bigintspan_bigintspan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_bigintspan_bigintspan(s1, s2)); + + public static long distance_bigintspanset_bigintspan(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.distance_bigintspanset_bigintspan(ss, s)); + + public static long distance_bigintspanset_bigintspanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.distance_bigintspanset_bigintspanset(ss1, ss2)); + + public static int distance_dateset_dateset(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_dateset_dateset(s1, s2)); + + public static int distance_datespan_datespan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_datespan_datespan(s1, s2)); + + public static int distance_datespanset_datespan(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.distance_datespanset_datespan(ss, s)); + + public static int distance_datespanset_datespanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.distance_datespanset_datespanset(ss1, ss2)); + + public static double distance_floatset_floatset(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_floatset_floatset(s1, s2)); + + public static double distance_floatspan_floatspan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_floatspan_floatspan(s1, s2)); + + public static double distance_floatspanset_floatspan(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.distance_floatspanset_floatspan(ss, s)); + + public static double distance_floatspanset_floatspanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.distance_floatspanset_floatspanset(ss1, ss2)); + + public static int distance_intset_intset(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_intset_intset(s1, s2)); + + public static int distance_intspan_intspan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_intspan_intspan(s1, s2)); + + public static int distance_intspanset_intspan(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.distance_intspanset_intspan(ss, s)); + + public static int distance_intspanset_intspanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.distance_intspanset_intspanset(ss1, ss2)); + + public static long distance_set_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.distance_set_bigint(s, i)); + + public static int distance_set_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.distance_set_date(s, d)); + + public static double distance_set_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.distance_set_float(s, d)); + + public static int distance_set_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.distance_set_int(s, i)); + + public static double distance_set_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.distance_set_timestamptz(s, t)); + + public static long distance_span_bigint(IntPtr s, long i) + => SafeExecution(() => MEOSExternalFunctions.distance_span_bigint(s, i)); + + public static int distance_span_date(IntPtr s, int d) + => SafeExecution(() => MEOSExternalFunctions.distance_span_date(s, d)); + + public static double distance_span_float(IntPtr s, double d) + => SafeExecution(() => MEOSExternalFunctions.distance_span_float(s, d)); + + public static int distance_span_int(IntPtr s, int i) + => SafeExecution(() => MEOSExternalFunctions.distance_span_int(s, i)); + + public static double distance_span_timestamptz(IntPtr s, long t) + => SafeExecution(() => MEOSExternalFunctions.distance_span_timestamptz(s, t)); + + public static long distance_spanset_bigint(IntPtr ss, long i) + => SafeExecution(() => MEOSExternalFunctions.distance_spanset_bigint(ss, i)); + + public static int distance_spanset_date(IntPtr ss, int d) + => SafeExecution(() => MEOSExternalFunctions.distance_spanset_date(ss, d)); + + public static double distance_spanset_float(IntPtr ss, double d) + => SafeExecution(() => MEOSExternalFunctions.distance_spanset_float(ss, d)); + + public static int distance_spanset_int(IntPtr ss, int i) + => SafeExecution(() => MEOSExternalFunctions.distance_spanset_int(ss, i)); + + public static double distance_spanset_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.distance_spanset_timestamptz(ss, t)); + + public static double distance_tstzset_tstzset(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_tstzset_tstzset(s1, s2)); + + public static double distance_tstzspan_tstzspan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_tstzspan_tstzspan(s1, s2)); + + public static double distance_tstzspanset_tstzspan(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.distance_tstzspanset_tstzspan(ss, s)); + + public static double distance_tstzspanset_tstzspanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.distance_tstzspanset_tstzspanset(ss1, ss2)); + + public static IntPtr bigint_extent_transfn(IntPtr state, long i) + => SafeExecution(() => MEOSExternalFunctions.bigint_extent_transfn(state, i)); + + public static IntPtr bigint_union_transfn(IntPtr state, long i) + => SafeExecution(() => MEOSExternalFunctions.bigint_union_transfn(state, i)); + + public static IntPtr date_extent_transfn(IntPtr state, int d) + => SafeExecution(() => MEOSExternalFunctions.date_extent_transfn(state, d)); + + public static IntPtr date_union_transfn(IntPtr state, int d) + => SafeExecution(() => MEOSExternalFunctions.date_union_transfn(state, d)); + + public static IntPtr float_extent_transfn(IntPtr state, double d) + => SafeExecution(() => MEOSExternalFunctions.float_extent_transfn(state, d)); + + public static IntPtr float_union_transfn(IntPtr state, double d) + => SafeExecution(() => MEOSExternalFunctions.float_union_transfn(state, d)); + + public static IntPtr int_extent_transfn(IntPtr state, int i) + => SafeExecution(() => MEOSExternalFunctions.int_extent_transfn(state, i)); + + public static IntPtr int_union_transfn(IntPtr state, int i) + => SafeExecution(() => MEOSExternalFunctions.int_union_transfn(state, i)); + + public static IntPtr set_extent_transfn(IntPtr state, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_extent_transfn(state, s)); + + public static IntPtr set_union_finalfn(IntPtr state) + => SafeExecution(() => MEOSExternalFunctions.set_union_finalfn(state)); + + public static IntPtr set_union_transfn(IntPtr state, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_union_transfn(state, s)); + + public static IntPtr span_extent_transfn(IntPtr state, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_extent_transfn(state, s)); + + public static IntPtr span_union_transfn(IntPtr state, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_union_transfn(state, s)); + + public static IntPtr spanset_extent_transfn(IntPtr state, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_extent_transfn(state, ss)); + + public static IntPtr spanset_union_finalfn(IntPtr state) + => SafeExecution(() => MEOSExternalFunctions.spanset_union_finalfn(state)); + + public static IntPtr spanset_union_transfn(IntPtr state, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_union_transfn(state, ss)); + + public static IntPtr text_union_transfn(IntPtr state, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.text_union_transfn(state, txt)); + + public static IntPtr timestamptz_extent_transfn(IntPtr state, long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_extent_transfn(state, t)); + + public static IntPtr timestamptz_union_transfn(IntPtr state, long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_union_transfn(state, t)); + + public static long bigint_get_bin(long value, long vsize, long vorigin) + => SafeExecution(() => MEOSExternalFunctions.bigint_get_bin(value, vsize, vorigin)); + + public static IntPtr bigintspan_bins(IntPtr s, long vsize, long vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.bigintspan_bins(s, vsize, vorigin, count)); + + public static IntPtr bigintspanset_bins(IntPtr ss, long vsize, long vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.bigintspanset_bins(ss, vsize, vorigin, count)); + + public static int date_get_bin(int d, IntPtr duration, int torigin) + => SafeExecution(() => MEOSExternalFunctions.date_get_bin(d, duration, torigin)); + + public static IntPtr datespan_bins(IntPtr s, IntPtr duration, int torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.datespan_bins(s, duration, torigin, count)); + + public static IntPtr datespanset_bins(IntPtr ss, IntPtr duration, int torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.datespanset_bins(ss, duration, torigin, count)); + + public static double float_get_bin(double value, double vsize, double vorigin) + => SafeExecution(() => MEOSExternalFunctions.float_get_bin(value, vsize, vorigin)); + + public static IntPtr floatspan_bins(IntPtr s, double vsize, double vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.floatspan_bins(s, vsize, vorigin, count)); + + public static IntPtr floatspanset_bins(IntPtr ss, double vsize, double vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.floatspanset_bins(ss, vsize, vorigin, count)); + + public static int int_get_bin(int value, int vsize, int vorigin) + => SafeExecution(() => MEOSExternalFunctions.int_get_bin(value, vsize, vorigin)); + + public static IntPtr intspan_bins(IntPtr s, int vsize, int vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.intspan_bins(s, vsize, vorigin, count)); + + public static IntPtr intspanset_bins(IntPtr ss, int vsize, int vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.intspanset_bins(ss, vsize, vorigin, count)); + + public static long timestamptz_get_bin(long t, IntPtr duration, long torigin) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_get_bin(t, duration, torigin)); + + public static IntPtr tstzspan_bins(IntPtr s, IntPtr duration, long origin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_bins(s, duration, origin, count)); + + public static IntPtr tstzspanset_bins(IntPtr ss, IntPtr duration, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_bins(ss, duration, torigin, count)); + + public static string tbox_as_hexwkb(IntPtr box, IntPtr variant, IntPtr size) + => SafeExecution(() => MEOSExternalFunctions.tbox_as_hexwkb(box, variant, size)); + + public static IntPtr tbox_as_wkb(IntPtr box, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.tbox_as_wkb(box, variant, size_out)); + + public static IntPtr tbox_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.tbox_from_hexwkb(hexwkb)); + + public static IntPtr tbox_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.tbox_from_wkb(wkb, size)); + + public static IntPtr tbox_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tbox_in(str)); + + public static string tbox_out(IntPtr box, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tbox_out(box, maxdd)); + + public static IntPtr float_timestamptz_to_tbox(double d, long t) + => SafeExecution(() => MEOSExternalFunctions.float_timestamptz_to_tbox(d, t)); + + public static IntPtr float_tstzspan_to_tbox(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.float_tstzspan_to_tbox(d, s)); + + public static IntPtr int_timestamptz_to_tbox(int i, long t) + => SafeExecution(() => MEOSExternalFunctions.int_timestamptz_to_tbox(i, t)); + + public static IntPtr int_tstzspan_to_tbox(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.int_tstzspan_to_tbox(i, s)); + + public static IntPtr numspan_tstzspan_to_tbox(IntPtr span, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.numspan_tstzspan_to_tbox(span, s)); + + public static IntPtr numspan_timestamptz_to_tbox(IntPtr span, long t) + => SafeExecution(() => MEOSExternalFunctions.numspan_timestamptz_to_tbox(span, t)); + + public static IntPtr tbox_copy(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tbox_copy(box)); + + public static IntPtr tbox_make(IntPtr s, IntPtr p) + => SafeExecution(() => MEOSExternalFunctions.tbox_make(s, p)); + + public static IntPtr float_to_tbox(double d) + => SafeExecution(() => MEOSExternalFunctions.float_to_tbox(d)); + + public static IntPtr int_to_tbox(int i) + => SafeExecution(() => MEOSExternalFunctions.int_to_tbox(i)); + + public static IntPtr set_to_tbox(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_to_tbox(s)); + + public static IntPtr span_to_tbox(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_to_tbox(s)); + + public static IntPtr spanset_to_tbox(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_to_tbox(ss)); + + public static IntPtr tbox_to_intspan(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tbox_to_intspan(box)); + + public static IntPtr tbox_to_floatspan(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tbox_to_floatspan(box)); + + public static IntPtr tbox_to_tstzspan(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tbox_to_tstzspan(box)); + + public static IntPtr timestamptz_to_tbox(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_tbox(t)); + + public static uint tbox_hash(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tbox_hash(box)); + + public static ulong tbox_hash_extended(IntPtr box, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.tbox_hash_extended(box, seed)); + + public static bool tbox_hast(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tbox_hast(box)); + + public static bool tbox_hasx(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tbox_hasx(box)); + + public static bool tbox_tmax(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbox_tmax(box, result)); + + public static bool tbox_tmax_inc(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbox_tmax_inc(box, result)); + + public static bool tbox_tmin(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbox_tmin(box, result)); + + public static bool tbox_tmin_inc(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbox_tmin_inc(box, result)); + + public static bool tbox_xmax(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbox_xmax(box, result)); + + public static bool tbox_xmax_inc(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbox_xmax_inc(box, result)); + + public static bool tbox_xmin(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbox_xmin(box, result)); + + public static bool tbox_xmin_inc(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbox_xmin_inc(box, result)); + + public static bool tboxfloat_xmax(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tboxfloat_xmax(box, result)); + + public static bool tboxfloat_xmin(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tboxfloat_xmin(box, result)); + + public static bool tboxint_xmax(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tboxint_xmax(box, result)); + + public static bool tboxint_xmin(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tboxint_xmin(box, result)); + + public static IntPtr tbox_expand_time(IntPtr box, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tbox_expand_time(box, interv)); + + public static IntPtr tbox_round(IntPtr box, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tbox_round(box, maxdd)); + + public static IntPtr tbox_shift_scale_time(IntPtr box, IntPtr shift, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.tbox_shift_scale_time(box, shift, duration)); + + public static IntPtr tfloatbox_expand(IntPtr box, double d) + => SafeExecution(() => MEOSExternalFunctions.tfloatbox_expand(box, d)); + + public static IntPtr tfloatbox_shift_scale(IntPtr box, double shift, double width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.tfloatbox_shift_scale(box, shift, width, hasshift, haswidth)); + + public static IntPtr tintbox_expand(IntPtr box, int i) + => SafeExecution(() => MEOSExternalFunctions.tintbox_expand(box, i)); + + public static IntPtr tintbox_shift_scale(IntPtr box, int shift, int width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.tintbox_shift_scale(box, shift, width, hasshift, haswidth)); + + public static IntPtr union_tbox_tbox(IntPtr box1, IntPtr box2, bool strict) + => SafeExecution(() => MEOSExternalFunctions.union_tbox_tbox(box1, box2, strict)); + + public static IntPtr intersection_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.intersection_tbox_tbox(box1, box2)); + + public static bool adjacent_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.adjacent_tbox_tbox(box1, box2)); + + public static bool contained_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.contained_tbox_tbox(box1, box2)); + + public static bool contains_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.contains_tbox_tbox(box1, box2)); + + public static bool overlaps_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overlaps_tbox_tbox(box1, box2)); + + public static bool same_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.same_tbox_tbox(box1, box2)); + + public static bool after_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.after_tbox_tbox(box1, box2)); + + public static bool before_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.before_tbox_tbox(box1, box2)); + + public static bool left_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.left_tbox_tbox(box1, box2)); + + public static bool overafter_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overafter_tbox_tbox(box1, box2)); + + public static bool overbefore_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overbefore_tbox_tbox(box1, box2)); + + public static bool overleft_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overleft_tbox_tbox(box1, box2)); + + public static bool overright_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overright_tbox_tbox(box1, box2)); + + public static bool right_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.right_tbox_tbox(box1, box2)); + + public static int tbox_cmp(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.tbox_cmp(box1, box2)); + + public static bool tbox_eq(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.tbox_eq(box1, box2)); + + public static bool tbox_ge(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.tbox_ge(box1, box2)); + + public static bool tbox_gt(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.tbox_gt(box1, box2)); + + public static bool tbox_le(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.tbox_le(box1, box2)); + + public static bool tbox_lt(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.tbox_lt(box1, box2)); + + public static bool tbox_ne(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.tbox_ne(box1, box2)); + + public static IntPtr tbool_from_mfjson(string str) + => SafeExecution(() => MEOSExternalFunctions.tbool_from_mfjson(str)); + + public static IntPtr tbool_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tbool_in(str)); + + public static string tbool_out(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tbool_out(temp)); + + public static string temporal_as_hexwkb(IntPtr temp, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.temporal_as_hexwkb(temp, variant, size_out)); + + public static string temporal_as_mfjson(IntPtr temp, bool with_bbox, int flags, int precision, string srs) + => SafeExecution(() => MEOSExternalFunctions.temporal_as_mfjson(temp, with_bbox, flags, precision, srs)); + + public static IntPtr temporal_as_wkb(IntPtr temp, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.temporal_as_wkb(temp, variant, size_out)); + + public static IntPtr temporal_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.temporal_from_hexwkb(hexwkb)); + + public static IntPtr temporal_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.temporal_from_wkb(wkb, size)); + + public static IntPtr tfloat_from_mfjson(string str) + => SafeExecution(() => MEOSExternalFunctions.tfloat_from_mfjson(str)); + + public static IntPtr tfloat_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tfloat_in(str)); + + public static string tfloat_out(IntPtr temp, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tfloat_out(temp, maxdd)); + + public static IntPtr tint_from_mfjson(string str) + => SafeExecution(() => MEOSExternalFunctions.tint_from_mfjson(str)); + + public static IntPtr tint_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tint_in(str)); + + public static string tint_out(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_out(temp)); + + public static IntPtr ttext_from_mfjson(string str) + => SafeExecution(() => MEOSExternalFunctions.ttext_from_mfjson(str)); + + public static IntPtr ttext_in(string str) + => SafeExecution(() => MEOSExternalFunctions.ttext_in(str)); + + public static string ttext_out(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_out(temp)); + + public static IntPtr tbool_from_base_temp(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tbool_from_base_temp(b, temp)); + + public static IntPtr tboolinst_make(bool b, long t) + => SafeExecution(() => MEOSExternalFunctions.tboolinst_make(b, t)); + + public static IntPtr tboolseq_from_base_tstzset(bool b, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tboolseq_from_base_tstzset(b, s)); + + public static IntPtr tboolseq_from_base_tstzspan(bool b, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tboolseq_from_base_tstzspan(b, s)); + + public static IntPtr tboolseqset_from_base_tstzspanset(bool b, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tboolseqset_from_base_tstzspanset(b, ss)); + + public static IntPtr temporal_copy(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_copy(temp)); + + public static IntPtr tfloat_from_base_temp(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_from_base_temp(d, temp)); + + public static IntPtr tfloatinst_make(double d, long t) + => SafeExecution(() => MEOSExternalFunctions.tfloatinst_make(d, t)); + + public static IntPtr tfloatseq_from_base_tstzset(double d, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tfloatseq_from_base_tstzset(d, s)); + + public static IntPtr tfloatseq_from_base_tstzspan(double d, IntPtr s, int interp) + => SafeExecution(() => MEOSExternalFunctions.tfloatseq_from_base_tstzspan(d, s, interp)); + + public static IntPtr tfloatseqset_from_base_tstzspanset(double d, IntPtr ss, int interp) + => SafeExecution(() => MEOSExternalFunctions.tfloatseqset_from_base_tstzspanset(d, ss, interp)); + + public static IntPtr tint_from_base_temp(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_from_base_temp(i, temp)); + + public static IntPtr tintinst_make(int i, long t) + => SafeExecution(() => MEOSExternalFunctions.tintinst_make(i, t)); + + public static IntPtr tintseq_from_base_tstzset(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tintseq_from_base_tstzset(i, s)); + + public static IntPtr tintseq_from_base_tstzspan(int i, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tintseq_from_base_tstzspan(i, s)); + + public static IntPtr tintseqset_from_base_tstzspanset(int i, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tintseqset_from_base_tstzspanset(i, ss)); + + public static IntPtr tsequence_make(IntPtr instants, int count, bool lower_inc, bool upper_inc, int interp, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.tsequence_make(instants, count, lower_inc, upper_inc, interp, normalize)); + + public static IntPtr tsequenceset_make(IntPtr sequences, int count, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_make(sequences, count, normalize)); + + public static IntPtr tsequenceset_make_gaps(IntPtr instants, int count, int interp, IntPtr maxt, double maxdist) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_make_gaps(instants, count, interp, maxt, maxdist)); + + public static IntPtr ttext_from_base_temp(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_from_base_temp(txt, temp)); + + public static IntPtr ttextinst_make(IntPtr txt, long t) + => SafeExecution(() => MEOSExternalFunctions.ttextinst_make(txt, t)); + + public static IntPtr ttextseq_from_base_tstzset(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.ttextseq_from_base_tstzset(txt, s)); + + public static IntPtr ttextseq_from_base_tstzspan(IntPtr txt, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.ttextseq_from_base_tstzspan(txt, s)); + + public static IntPtr ttextseqset_from_base_tstzspanset(IntPtr txt, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.ttextseqset_from_base_tstzspanset(txt, ss)); + + public static IntPtr tbool_to_tint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tbool_to_tint(temp)); + + public static IntPtr temporal_to_tstzspan(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_to_tstzspan(temp)); + + public static IntPtr tfloat_to_tint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_to_tint(temp)); + + public static IntPtr tint_to_tfloat(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_to_tfloat(temp)); + + public static IntPtr tnumber_to_span(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_to_span(temp)); + + public static IntPtr tnumber_to_tbox(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_to_tbox(temp)); + + public static bool tbool_end_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tbool_end_value(temp)); + + public static bool tbool_start_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tbool_start_value(temp)); + + public static bool tbool_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) + => SafeExecution(() => MEOSExternalFunctions.tbool_value_at_timestamptz(temp, t, strict, value)); + + public static bool tbool_value_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tbool_value_n(temp, n, result)); + + public static IntPtr tbool_values(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tbool_values(temp, count)); + + public static IntPtr temporal_duration(IntPtr temp, bool boundspan) + => SafeExecution(() => MEOSExternalFunctions.temporal_duration(temp, boundspan)); + + public static IntPtr temporal_end_instant(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_end_instant(temp)); + + public static IntPtr temporal_end_sequence(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_end_sequence(temp)); + + public static long temporal_end_timestamptz(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_end_timestamptz(temp)); + + public static uint temporal_hash(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_hash(temp)); + + public static IntPtr temporal_instant_n(IntPtr temp, int n) + => SafeExecution(() => MEOSExternalFunctions.temporal_instant_n(temp, n)); + + public static IntPtr temporal_instants(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_instants(temp, count)); + + public static string temporal_interp(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_interp(temp)); + + public static bool temporal_lower_inc(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_lower_inc(temp)); + + public static IntPtr temporal_max_instant(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_max_instant(temp)); + + public static IntPtr temporal_min_instant(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_min_instant(temp)); + + public static int temporal_num_instants(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_num_instants(temp)); + + public static int temporal_num_sequences(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_num_sequences(temp)); + + public static int temporal_num_timestamps(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_num_timestamps(temp)); + + public static IntPtr temporal_segm_duration(IntPtr temp, IntPtr duration, bool atleast, bool strict) + => SafeExecution(() => MEOSExternalFunctions.temporal_segm_duration(temp, duration, atleast, strict)); + + public static IntPtr temporal_segments(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_segments(temp, count)); + + public static IntPtr temporal_sequence_n(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.temporal_sequence_n(temp, i)); + + public static IntPtr temporal_sequences(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_sequences(temp, count)); + + public static IntPtr temporal_start_instant(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_start_instant(temp)); + + public static IntPtr temporal_start_sequence(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_start_sequence(temp)); + + public static long temporal_start_timestamptz(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_start_timestamptz(temp)); + + public static IntPtr temporal_stops(IntPtr temp, double maxdist, IntPtr minduration) + => SafeExecution(() => MEOSExternalFunctions.temporal_stops(temp, maxdist, minduration)); + + public static string temporal_subtype(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_subtype(temp)); + + public static IntPtr temporal_time(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_time(temp)); + + public static IntPtr temporal_timestamps(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_timestamps(temp, count)); + + public static bool temporal_timestamptz_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.temporal_timestamptz_n(temp, n, result)); + + public static bool temporal_upper_inc(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_upper_inc(temp)); + + public static double tfloat_avg_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_avg_value(temp)); + + public static double tfloat_end_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_end_value(temp)); + + public static double tfloat_min_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_min_value(temp)); + + public static double tfloat_max_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_max_value(temp)); + + public static double tfloat_start_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_start_value(temp)); + + public static bool tfloat_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) + => SafeExecution(() => MEOSExternalFunctions.tfloat_value_at_timestamptz(temp, t, strict, value)); + + public static bool tfloat_value_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tfloat_value_n(temp, n, result)); + + public static IntPtr tfloat_values(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tfloat_values(temp, count)); + + public static int tint_end_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_end_value(temp)); + + public static int tint_max_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_max_value(temp)); + + public static int tint_min_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_min_value(temp)); + + public static int tint_start_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_start_value(temp)); + + public static bool tint_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) + => SafeExecution(() => MEOSExternalFunctions.tint_value_at_timestamptz(temp, t, strict, value)); + + public static bool tint_value_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tint_value_n(temp, n, result)); + + public static IntPtr tint_values(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tint_values(temp, count)); + + public static double tnumber_avg_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_avg_value(temp)); + + public static double tnumber_integral(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_integral(temp)); + + public static double tnumber_twavg(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_twavg(temp)); + + public static IntPtr tnumber_valuespans(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_valuespans(temp)); + + public static IntPtr ttext_end_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_end_value(temp)); + + public static IntPtr ttext_max_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_max_value(temp)); + + public static IntPtr ttext_min_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_min_value(temp)); + + public static IntPtr ttext_start_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_start_value(temp)); + + public static bool ttext_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) + => SafeExecution(() => MEOSExternalFunctions.ttext_value_at_timestamptz(temp, t, strict, value)); + + public static bool ttext_value_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.ttext_value_n(temp, n, result)); + + public static IntPtr ttext_values(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.ttext_values(temp, count)); + + public static double float_degrees(double value, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.float_degrees(value, normalize)); + + public static IntPtr temparr_round(IntPtr temp, int count, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.temparr_round(temp, count, maxdd)); + + public static IntPtr temporal_round(IntPtr temp, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.temporal_round(temp, maxdd)); + + public static IntPtr temporal_scale_time(IntPtr temp, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.temporal_scale_time(temp, duration)); + + public static IntPtr temporal_set_interp(IntPtr temp, int interp) + => SafeExecution(() => MEOSExternalFunctions.temporal_set_interp(temp, interp)); + + public static IntPtr temporal_shift_scale_time(IntPtr temp, IntPtr shift, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.temporal_shift_scale_time(temp, shift, duration)); + + public static IntPtr temporal_shift_time(IntPtr temp, IntPtr shift) + => SafeExecution(() => MEOSExternalFunctions.temporal_shift_time(temp, shift)); + + public static IntPtr temporal_to_tinstant(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_to_tinstant(temp)); + + public static IntPtr temporal_to_tsequence(IntPtr temp, int interp) + => SafeExecution(() => MEOSExternalFunctions.temporal_to_tsequence(temp, interp)); + + public static IntPtr temporal_to_tsequenceset(IntPtr temp, int interp) + => SafeExecution(() => MEOSExternalFunctions.temporal_to_tsequenceset(temp, interp)); + + public static IntPtr tfloat_ceil(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_ceil(temp)); + + public static IntPtr tfloat_degrees(IntPtr temp, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.tfloat_degrees(temp, normalize)); + + public static IntPtr tfloat_floor(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_floor(temp)); + + public static IntPtr tfloat_radians(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_radians(temp)); + + public static IntPtr tfloat_scale_value(IntPtr temp, double width) + => SafeExecution(() => MEOSExternalFunctions.tfloat_scale_value(temp, width)); + + public static IntPtr tfloat_shift_scale_value(IntPtr temp, double shift, double width) + => SafeExecution(() => MEOSExternalFunctions.tfloat_shift_scale_value(temp, shift, width)); + + public static IntPtr tfloat_shift_value(IntPtr temp, double shift) + => SafeExecution(() => MEOSExternalFunctions.tfloat_shift_value(temp, shift)); + + public static IntPtr tint_scale_value(IntPtr temp, int width) + => SafeExecution(() => MEOSExternalFunctions.tint_scale_value(temp, width)); + + public static IntPtr tint_shift_scale_value(IntPtr temp, int shift, int width) + => SafeExecution(() => MEOSExternalFunctions.tint_shift_scale_value(temp, shift, width)); + + public static IntPtr tint_shift_value(IntPtr temp, int shift) + => SafeExecution(() => MEOSExternalFunctions.tint_shift_value(temp, shift)); + + public static IntPtr temporal_append_tinstant(IntPtr temp, IntPtr inst, int interp, double maxdist, IntPtr maxt, bool expand) + => SafeExecution(() => MEOSExternalFunctions.temporal_append_tinstant(temp, inst, interp, maxdist, maxt, expand)); + + public static IntPtr temporal_append_tsequence(IntPtr temp, IntPtr seq, bool expand) + => SafeExecution(() => MEOSExternalFunctions.temporal_append_tsequence(temp, seq, expand)); + + public static IntPtr temporal_delete_timestamptz(IntPtr temp, long t, bool connect) + => SafeExecution(() => MEOSExternalFunctions.temporal_delete_timestamptz(temp, t, connect)); + + public static IntPtr temporal_delete_tstzset(IntPtr temp, IntPtr s, bool connect) + => SafeExecution(() => MEOSExternalFunctions.temporal_delete_tstzset(temp, s, connect)); + + public static IntPtr temporal_delete_tstzspan(IntPtr temp, IntPtr s, bool connect) + => SafeExecution(() => MEOSExternalFunctions.temporal_delete_tstzspan(temp, s, connect)); + + public static IntPtr temporal_delete_tstzspanset(IntPtr temp, IntPtr ss, bool connect) + => SafeExecution(() => MEOSExternalFunctions.temporal_delete_tstzspanset(temp, ss, connect)); + + public static IntPtr temporal_insert(IntPtr temp1, IntPtr temp2, bool connect) + => SafeExecution(() => MEOSExternalFunctions.temporal_insert(temp1, temp2, connect)); + + public static IntPtr temporal_merge(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_merge(temp1, temp2)); + + public static IntPtr temporal_merge_array(IntPtr temparr, int count) + => SafeExecution(() => MEOSExternalFunctions.temporal_merge_array(temparr, count)); + + public static IntPtr temporal_update(IntPtr temp1, IntPtr temp2, bool connect) + => SafeExecution(() => MEOSExternalFunctions.temporal_update(temp1, temp2, connect)); + + public static IntPtr tbool_at_value(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.tbool_at_value(temp, b)); + + public static IntPtr tbool_minus_value(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.tbool_minus_value(temp, b)); + + public static IntPtr temporal_after_timestamptz(IntPtr temp, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.temporal_after_timestamptz(temp, t, strict)); + + public static IntPtr temporal_at_max(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_at_max(temp)); + + public static IntPtr temporal_at_min(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_at_min(temp)); + + public static IntPtr temporal_at_timestamptz(IntPtr temp, long t) + => SafeExecution(() => MEOSExternalFunctions.temporal_at_timestamptz(temp, t)); + + public static IntPtr temporal_at_tstzset(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.temporal_at_tstzset(temp, s)); + + public static IntPtr temporal_at_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.temporal_at_tstzspan(temp, s)); + + public static IntPtr temporal_at_tstzspanset(IntPtr temp, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.temporal_at_tstzspanset(temp, ss)); + + public static IntPtr temporal_at_values(IntPtr temp, IntPtr set) + => SafeExecution(() => MEOSExternalFunctions.temporal_at_values(temp, set)); + + public static IntPtr temporal_before_timestamptz(IntPtr temp, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.temporal_before_timestamptz(temp, t, strict)); + + public static IntPtr temporal_minus_max(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_minus_max(temp)); + + public static IntPtr temporal_minus_min(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_minus_min(temp)); + + public static IntPtr temporal_minus_timestamptz(IntPtr temp, long t) + => SafeExecution(() => MEOSExternalFunctions.temporal_minus_timestamptz(temp, t)); + + public static IntPtr temporal_minus_tstzset(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.temporal_minus_tstzset(temp, s)); + + public static IntPtr temporal_minus_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.temporal_minus_tstzspan(temp, s)); + + public static IntPtr temporal_minus_tstzspanset(IntPtr temp, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.temporal_minus_tstzspanset(temp, ss)); + + public static IntPtr temporal_minus_values(IntPtr temp, IntPtr set) + => SafeExecution(() => MEOSExternalFunctions.temporal_minus_values(temp, set)); + + public static IntPtr tfloat_at_value(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.tfloat_at_value(temp, d)); + + public static IntPtr tfloat_minus_value(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.tfloat_minus_value(temp, d)); + + public static IntPtr tint_at_value(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.tint_at_value(temp, i)); + + public static IntPtr tint_minus_value(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.tint_minus_value(temp, i)); + + public static IntPtr tnumber_at_span(IntPtr temp, IntPtr span) + => SafeExecution(() => MEOSExternalFunctions.tnumber_at_span(temp, span)); + + public static IntPtr tnumber_at_spanset(IntPtr temp, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumber_at_spanset(temp, ss)); + + public static IntPtr tnumber_at_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tnumber_at_tbox(temp, box)); + + public static IntPtr tnumber_minus_span(IntPtr temp, IntPtr span) + => SafeExecution(() => MEOSExternalFunctions.tnumber_minus_span(temp, span)); + + public static IntPtr tnumber_minus_spanset(IntPtr temp, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumber_minus_spanset(temp, ss)); + + public static IntPtr tnumber_minus_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tnumber_minus_tbox(temp, box)); + + public static IntPtr ttext_at_value(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.ttext_at_value(temp, txt)); + + public static IntPtr ttext_minus_value(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.ttext_minus_value(temp, txt)); + + public static int temporal_cmp(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_cmp(temp1, temp2)); + + public static bool temporal_eq(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_eq(temp1, temp2)); + + public static bool temporal_ge(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_ge(temp1, temp2)); + + public static bool temporal_gt(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_gt(temp1, temp2)); + + public static bool temporal_le(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_le(temp1, temp2)); + + public static bool temporal_lt(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_lt(temp1, temp2)); + + public static bool temporal_ne(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_ne(temp1, temp2)); + + public static int always_eq_bool_tbool(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_bool_tbool(b, temp)); + + public static int always_eq_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_float_tfloat(d, temp)); + + public static int always_eq_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_int_tint(i, temp)); + + public static int always_eq_tbool_bool(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tbool_bool(temp, b)); + + public static int always_eq_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_eq_temporal_temporal(temp1, temp2)); + + public static int always_eq_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_text_ttext(txt, temp)); + + public static int always_eq_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tfloat_float(temp, d)); + + public static int always_eq_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tint_int(temp, i)); + + public static int always_eq_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.always_eq_ttext_text(temp, txt)); + + public static int always_ge_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ge_float_tfloat(d, temp)); + + public static int always_ge_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ge_int_tint(i, temp)); + + public static int always_ge_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_ge_temporal_temporal(temp1, temp2)); + + public static int always_ge_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ge_text_ttext(txt, temp)); + + public static int always_ge_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.always_ge_tfloat_float(temp, d)); + + public static int always_ge_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.always_ge_tint_int(temp, i)); + + public static int always_ge_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.always_ge_ttext_text(temp, txt)); + + public static int always_gt_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_gt_float_tfloat(d, temp)); + + public static int always_gt_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_gt_int_tint(i, temp)); + + public static int always_gt_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_gt_temporal_temporal(temp1, temp2)); + + public static int always_gt_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_gt_text_ttext(txt, temp)); + + public static int always_gt_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.always_gt_tfloat_float(temp, d)); + + public static int always_gt_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.always_gt_tint_int(temp, i)); + + public static int always_gt_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.always_gt_ttext_text(temp, txt)); + + public static int always_le_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_le_float_tfloat(d, temp)); + + public static int always_le_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_le_int_tint(i, temp)); + + public static int always_le_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_le_temporal_temporal(temp1, temp2)); + + public static int always_le_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_le_text_ttext(txt, temp)); + + public static int always_le_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.always_le_tfloat_float(temp, d)); + + public static int always_le_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.always_le_tint_int(temp, i)); + + public static int always_le_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.always_le_ttext_text(temp, txt)); + + public static int always_lt_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_lt_float_tfloat(d, temp)); + + public static int always_lt_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_lt_int_tint(i, temp)); + + public static int always_lt_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_lt_temporal_temporal(temp1, temp2)); + + public static int always_lt_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_lt_text_ttext(txt, temp)); + + public static int always_lt_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.always_lt_tfloat_float(temp, d)); + + public static int always_lt_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.always_lt_tint_int(temp, i)); + + public static int always_lt_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.always_lt_ttext_text(temp, txt)); + + public static int always_ne_bool_tbool(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_bool_tbool(b, temp)); + + public static int always_ne_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_float_tfloat(d, temp)); + + public static int always_ne_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_int_tint(i, temp)); + + public static int always_ne_tbool_bool(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tbool_bool(temp, b)); + + public static int always_ne_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_ne_temporal_temporal(temp1, temp2)); + + public static int always_ne_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_text_ttext(txt, temp)); + + public static int always_ne_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tfloat_float(temp, d)); + + public static int always_ne_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tint_int(temp, i)); + + public static int always_ne_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.always_ne_ttext_text(temp, txt)); + + public static int ever_eq_bool_tbool(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_bool_tbool(b, temp)); + + public static int ever_eq_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_float_tfloat(d, temp)); + + public static int ever_eq_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_int_tint(i, temp)); + + public static int ever_eq_tbool_bool(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tbool_bool(temp, b)); + + public static int ever_eq_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_temporal_temporal(temp1, temp2)); + + public static int ever_eq_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_text_ttext(txt, temp)); + + public static int ever_eq_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tfloat_float(temp, d)); + + public static int ever_eq_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tint_int(temp, i)); + + public static int ever_eq_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_ttext_text(temp, txt)); + + public static int ever_ge_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_float_tfloat(d, temp)); + + public static int ever_ge_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_int_tint(i, temp)); + + public static int ever_ge_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_temporal_temporal(temp1, temp2)); + + public static int ever_ge_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_text_ttext(txt, temp)); + + public static int ever_ge_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_tfloat_float(temp, d)); + + public static int ever_ge_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_tint_int(temp, i)); + + public static int ever_ge_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_ttext_text(temp, txt)); + + public static int ever_gt_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_float_tfloat(d, temp)); + + public static int ever_gt_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_int_tint(i, temp)); + + public static int ever_gt_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_temporal_temporal(temp1, temp2)); + + public static int ever_gt_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_text_ttext(txt, temp)); + + public static int ever_gt_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_tfloat_float(temp, d)); + + public static int ever_gt_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_tint_int(temp, i)); + + public static int ever_gt_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_ttext_text(temp, txt)); + + public static int ever_le_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_le_float_tfloat(d, temp)); + + public static int ever_le_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_le_int_tint(i, temp)); + + public static int ever_le_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_le_temporal_temporal(temp1, temp2)); + + public static int ever_le_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_le_text_ttext(txt, temp)); + + public static int ever_le_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.ever_le_tfloat_float(temp, d)); + + public static int ever_le_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.ever_le_tint_int(temp, i)); + + public static int ever_le_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.ever_le_ttext_text(temp, txt)); + + public static int ever_lt_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_float_tfloat(d, temp)); + + public static int ever_lt_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_int_tint(i, temp)); + + public static int ever_lt_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_temporal_temporal(temp1, temp2)); + + public static int ever_lt_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_text_ttext(txt, temp)); + + public static int ever_lt_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_tfloat_float(temp, d)); + + public static int ever_lt_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_tint_int(temp, i)); + + public static int ever_lt_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_ttext_text(temp, txt)); + + public static int ever_ne_bool_tbool(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_bool_tbool(b, temp)); + + public static int ever_ne_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_float_tfloat(d, temp)); + + public static int ever_ne_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_int_tint(i, temp)); + + public static int ever_ne_tbool_bool(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tbool_bool(temp, b)); + + public static int ever_ne_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_temporal_temporal(temp1, temp2)); + + public static int ever_ne_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_text_ttext(txt, temp)); + + public static int ever_ne_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tfloat_float(temp, d)); + + public static int ever_ne_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tint_int(temp, i)); + + public static int ever_ne_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_ttext_text(temp, txt)); + + public static IntPtr teq_bool_tbool(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.teq_bool_tbool(b, temp)); + + public static IntPtr teq_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.teq_float_tfloat(d, temp)); + + public static IntPtr teq_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.teq_int_tint(i, temp)); + + public static IntPtr teq_tbool_bool(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.teq_tbool_bool(temp, b)); + + public static IntPtr teq_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.teq_temporal_temporal(temp1, temp2)); + + public static IntPtr teq_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.teq_text_ttext(txt, temp)); + + public static IntPtr teq_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.teq_tfloat_float(temp, d)); + + public static IntPtr teq_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.teq_tint_int(temp, i)); + + public static IntPtr teq_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.teq_ttext_text(temp, txt)); + + public static IntPtr tge_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tge_float_tfloat(d, temp)); + + public static IntPtr tge_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tge_int_tint(i, temp)); + + public static IntPtr tge_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tge_temporal_temporal(temp1, temp2)); + + public static IntPtr tge_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tge_text_ttext(txt, temp)); + + public static IntPtr tge_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.tge_tfloat_float(temp, d)); + + public static IntPtr tge_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.tge_tint_int(temp, i)); + + public static IntPtr tge_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.tge_ttext_text(temp, txt)); + + public static IntPtr tgt_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgt_float_tfloat(d, temp)); + + public static IntPtr tgt_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgt_int_tint(i, temp)); + + public static IntPtr tgt_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tgt_temporal_temporal(temp1, temp2)); + + public static IntPtr tgt_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgt_text_ttext(txt, temp)); + + public static IntPtr tgt_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.tgt_tfloat_float(temp, d)); + + public static IntPtr tgt_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.tgt_tint_int(temp, i)); + + public static IntPtr tgt_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.tgt_ttext_text(temp, txt)); + + public static IntPtr tle_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tle_float_tfloat(d, temp)); + + public static IntPtr tle_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tle_int_tint(i, temp)); + + public static IntPtr tle_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tle_temporal_temporal(temp1, temp2)); + + public static IntPtr tle_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tle_text_ttext(txt, temp)); + + public static IntPtr tle_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.tle_tfloat_float(temp, d)); + + public static IntPtr tle_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.tle_tint_int(temp, i)); + + public static IntPtr tle_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.tle_ttext_text(temp, txt)); + + public static IntPtr tlt_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tlt_float_tfloat(d, temp)); + + public static IntPtr tlt_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tlt_int_tint(i, temp)); + + public static IntPtr tlt_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tlt_temporal_temporal(temp1, temp2)); + + public static IntPtr tlt_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tlt_text_ttext(txt, temp)); + + public static IntPtr tlt_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.tlt_tfloat_float(temp, d)); + + public static IntPtr tlt_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.tlt_tint_int(temp, i)); + + public static IntPtr tlt_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.tlt_ttext_text(temp, txt)); + + public static IntPtr tne_bool_tbool(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tne_bool_tbool(b, temp)); + + public static IntPtr tne_float_tfloat(double d, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tne_float_tfloat(d, temp)); + + public static IntPtr tne_int_tint(int i, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tne_int_tint(i, temp)); + + public static IntPtr tne_tbool_bool(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.tne_tbool_bool(temp, b)); + + public static IntPtr tne_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tne_temporal_temporal(temp1, temp2)); + + public static IntPtr tne_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tne_text_ttext(txt, temp)); + + public static IntPtr tne_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.tne_tfloat_float(temp, d)); + + public static IntPtr tne_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.tne_tint_int(temp, i)); + + public static IntPtr tne_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.tne_ttext_text(temp, txt)); + + public static IntPtr temporal_spans(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_spans(temp, count)); + + public static IntPtr temporal_split_each_n_spans(IntPtr temp, int elem_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_split_each_n_spans(temp, elem_count, count)); + + public static IntPtr temporal_split_n_spans(IntPtr temp, int span_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_split_n_spans(temp, span_count, count)); + + public static IntPtr tnumber_split_each_n_tboxes(IntPtr temp, int elem_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tnumber_split_each_n_tboxes(temp, elem_count, count)); + + public static IntPtr tnumber_split_n_tboxes(IntPtr temp, int box_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tnumber_split_n_tboxes(temp, box_count, count)); + + public static IntPtr tnumber_tboxes(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tnumber_tboxes(temp, count)); + + public static bool adjacent_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.adjacent_numspan_tnumber(s, temp)); + + public static bool adjacent_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.adjacent_tbox_tnumber(box, temp)); + + public static bool adjacent_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.adjacent_temporal_temporal(temp1, temp2)); + + public static bool adjacent_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.adjacent_temporal_tstzspan(temp, s)); + + public static bool adjacent_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.adjacent_tnumber_numspan(temp, s)); + + public static bool adjacent_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.adjacent_tnumber_tbox(temp, box)); + + public static bool adjacent_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.adjacent_tnumber_tnumber(temp1, temp2)); + + public static bool adjacent_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.adjacent_tstzspan_temporal(s, temp)); + + public static bool contained_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.contained_numspan_tnumber(s, temp)); + + public static bool contained_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.contained_tbox_tnumber(box, temp)); + + public static bool contained_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.contained_temporal_temporal(temp1, temp2)); + + public static bool contained_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_temporal_tstzspan(temp, s)); + + public static bool contained_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_tnumber_numspan(temp, s)); + + public static bool contained_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.contained_tnumber_tbox(temp, box)); + + public static bool contained_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.contained_tnumber_tnumber(temp1, temp2)); + + public static bool contained_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.contained_tstzspan_temporal(s, temp)); + + public static bool contains_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.contains_numspan_tnumber(s, temp)); + + public static bool contains_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.contains_tbox_tnumber(box, temp)); + + public static bool contains_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contains_temporal_tstzspan(temp, s)); + + public static bool contains_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.contains_temporal_temporal(temp1, temp2)); + + public static bool contains_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contains_tnumber_numspan(temp, s)); + + public static bool contains_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.contains_tnumber_tbox(temp, box)); + + public static bool contains_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.contains_tnumber_tnumber(temp1, temp2)); + + public static bool contains_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.contains_tstzspan_temporal(s, temp)); + + public static bool overlaps_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overlaps_numspan_tnumber(s, temp)); + + public static bool overlaps_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overlaps_tbox_tnumber(box, temp)); + + public static bool overlaps_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overlaps_temporal_temporal(temp1, temp2)); + + public static bool overlaps_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overlaps_temporal_tstzspan(temp, s)); + + public static bool overlaps_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overlaps_tnumber_numspan(temp, s)); + + public static bool overlaps_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overlaps_tnumber_tbox(temp, box)); + + public static bool overlaps_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overlaps_tnumber_tnumber(temp1, temp2)); + + public static bool overlaps_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overlaps_tstzspan_temporal(s, temp)); + + public static bool same_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.same_numspan_tnumber(s, temp)); + + public static bool same_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.same_tbox_tnumber(box, temp)); + + public static bool same_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.same_temporal_temporal(temp1, temp2)); + + public static bool same_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.same_temporal_tstzspan(temp, s)); + + public static bool same_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.same_tnumber_numspan(temp, s)); + + public static bool same_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.same_tnumber_tbox(temp, box)); + + public static bool same_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.same_tnumber_tnumber(temp1, temp2)); + + public static bool same_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.same_tstzspan_temporal(s, temp)); + + public static bool after_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.after_tbox_tnumber(box, temp)); + + public static bool after_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.after_temporal_tstzspan(temp, s)); + + public static bool after_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.after_temporal_temporal(temp1, temp2)); + + public static bool after_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.after_tnumber_tbox(temp, box)); + + public static bool after_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.after_tnumber_tnumber(temp1, temp2)); + + public static bool after_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.after_tstzspan_temporal(s, temp)); + + public static bool before_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.before_tbox_tnumber(box, temp)); + + public static bool before_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.before_temporal_tstzspan(temp, s)); + + public static bool before_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.before_temporal_temporal(temp1, temp2)); + + public static bool before_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.before_tnumber_tbox(temp, box)); + + public static bool before_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.before_tnumber_tnumber(temp1, temp2)); + + public static bool before_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.before_tstzspan_temporal(s, temp)); + + public static bool left_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.left_tbox_tnumber(box, temp)); + + public static bool left_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.left_numspan_tnumber(s, temp)); + + public static bool left_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_tnumber_numspan(temp, s)); + + public static bool left_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.left_tnumber_tbox(temp, box)); + + public static bool left_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.left_tnumber_tnumber(temp1, temp2)); + + public static bool overafter_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overafter_tbox_tnumber(box, temp)); + + public static bool overafter_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overafter_temporal_tstzspan(temp, s)); + + public static bool overafter_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overafter_temporal_temporal(temp1, temp2)); + + public static bool overafter_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overafter_tnumber_tbox(temp, box)); + + public static bool overafter_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overafter_tnumber_tnumber(temp1, temp2)); + + public static bool overafter_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overafter_tstzspan_temporal(s, temp)); + + public static bool overbefore_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overbefore_tbox_tnumber(box, temp)); + + public static bool overbefore_temporal_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overbefore_temporal_tstzspan(temp, s)); + + public static bool overbefore_temporal_temporal(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overbefore_temporal_temporal(temp1, temp2)); + + public static bool overbefore_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overbefore_tnumber_tbox(temp, box)); + + public static bool overbefore_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overbefore_tnumber_tnumber(temp1, temp2)); + + public static bool overbefore_tstzspan_temporal(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overbefore_tstzspan_temporal(s, temp)); + + public static bool overleft_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overleft_numspan_tnumber(s, temp)); + + public static bool overleft_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overleft_tbox_tnumber(box, temp)); + + public static bool overleft_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_tnumber_numspan(temp, s)); + + public static bool overleft_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overleft_tnumber_tbox(temp, box)); + + public static bool overleft_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overleft_tnumber_tnumber(temp1, temp2)); + + public static bool overright_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overright_numspan_tnumber(s, temp)); + + public static bool overright_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overright_tbox_tnumber(box, temp)); + + public static bool overright_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_tnumber_numspan(temp, s)); + + public static bool overright_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overright_tnumber_tbox(temp, box)); + + public static bool overright_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overright_tnumber_tnumber(temp1, temp2)); + + public static bool right_numspan_tnumber(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.right_numspan_tnumber(s, temp)); + + public static bool right_tbox_tnumber(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.right_tbox_tnumber(box, temp)); + + public static bool right_tnumber_numspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_tnumber_numspan(temp, s)); + + public static bool right_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.right_tnumber_tbox(temp, box)); + + public static bool right_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.right_tnumber_tnumber(temp1, temp2)); + + public static IntPtr tand_bool_tbool(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tand_bool_tbool(b, temp)); + + public static IntPtr tand_tbool_bool(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.tand_tbool_bool(temp, b)); + + public static IntPtr tand_tbool_tbool(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tand_tbool_tbool(temp1, temp2)); + + public static IntPtr tbool_when_true(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tbool_when_true(temp)); + + public static IntPtr tnot_tbool(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnot_tbool(temp)); + + public static IntPtr tor_bool_tbool(bool b, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tor_bool_tbool(b, temp)); + + public static IntPtr tor_tbool_bool(IntPtr temp, bool b) + => SafeExecution(() => MEOSExternalFunctions.tor_tbool_bool(temp, b)); + + public static IntPtr tor_tbool_tbool(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tor_tbool_tbool(temp1, temp2)); + + public static IntPtr add_float_tfloat(double d, IntPtr tnumber) + => SafeExecution(() => MEOSExternalFunctions.add_float_tfloat(d, tnumber)); + + public static IntPtr add_int_tint(int i, IntPtr tnumber) + => SafeExecution(() => MEOSExternalFunctions.add_int_tint(i, tnumber)); + + public static IntPtr add_tfloat_float(IntPtr tnumber, double d) + => SafeExecution(() => MEOSExternalFunctions.add_tfloat_float(tnumber, d)); + + public static IntPtr add_tint_int(IntPtr tnumber, int i) + => SafeExecution(() => MEOSExternalFunctions.add_tint_int(tnumber, i)); + + public static IntPtr add_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2) + => SafeExecution(() => MEOSExternalFunctions.add_tnumber_tnumber(tnumber1, tnumber2)); + + public static IntPtr div_float_tfloat(double d, IntPtr tnumber) + => SafeExecution(() => MEOSExternalFunctions.div_float_tfloat(d, tnumber)); + + public static IntPtr div_int_tint(int i, IntPtr tnumber) + => SafeExecution(() => MEOSExternalFunctions.div_int_tint(i, tnumber)); + + public static IntPtr div_tfloat_float(IntPtr tnumber, double d) + => SafeExecution(() => MEOSExternalFunctions.div_tfloat_float(tnumber, d)); + + public static IntPtr div_tint_int(IntPtr tnumber, int i) + => SafeExecution(() => MEOSExternalFunctions.div_tint_int(tnumber, i)); + + public static IntPtr div_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2) + => SafeExecution(() => MEOSExternalFunctions.div_tnumber_tnumber(tnumber1, tnumber2)); + + public static IntPtr mult_float_tfloat(double d, IntPtr tnumber) + => SafeExecution(() => MEOSExternalFunctions.mult_float_tfloat(d, tnumber)); + + public static IntPtr mult_int_tint(int i, IntPtr tnumber) + => SafeExecution(() => MEOSExternalFunctions.mult_int_tint(i, tnumber)); + + public static IntPtr mult_tfloat_float(IntPtr tnumber, double d) + => SafeExecution(() => MEOSExternalFunctions.mult_tfloat_float(tnumber, d)); + + public static IntPtr mult_tint_int(IntPtr tnumber, int i) + => SafeExecution(() => MEOSExternalFunctions.mult_tint_int(tnumber, i)); + + public static IntPtr mult_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2) + => SafeExecution(() => MEOSExternalFunctions.mult_tnumber_tnumber(tnumber1, tnumber2)); + + public static IntPtr sub_float_tfloat(double d, IntPtr tnumber) + => SafeExecution(() => MEOSExternalFunctions.sub_float_tfloat(d, tnumber)); + + public static IntPtr sub_int_tint(int i, IntPtr tnumber) + => SafeExecution(() => MEOSExternalFunctions.sub_int_tint(i, tnumber)); + + public static IntPtr sub_tfloat_float(IntPtr tnumber, double d) + => SafeExecution(() => MEOSExternalFunctions.sub_tfloat_float(tnumber, d)); + + public static IntPtr sub_tint_int(IntPtr tnumber, int i) + => SafeExecution(() => MEOSExternalFunctions.sub_tint_int(tnumber, i)); + + public static IntPtr sub_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2) + => SafeExecution(() => MEOSExternalFunctions.sub_tnumber_tnumber(tnumber1, tnumber2)); + + public static IntPtr temporal_derivative(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_derivative(temp)); + + public static IntPtr tfloat_exp(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_exp(temp)); + + public static IntPtr tfloat_ln(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_ln(temp)); + + public static IntPtr tfloat_log10(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_log10(temp)); + + public static IntPtr tnumber_abs(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_abs(temp)); + + public static IntPtr tnumber_trend(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_trend(temp)); + + public static double float_angular_difference(double degrees1, double degrees2) + => SafeExecution(() => MEOSExternalFunctions.float_angular_difference(degrees1, degrees2)); + + public static IntPtr tnumber_angular_difference(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_angular_difference(temp)); + + public static IntPtr tnumber_delta_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_delta_value(temp)); + + public static IntPtr textcat_text_ttext(IntPtr txt, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.textcat_text_ttext(txt, temp)); + + public static IntPtr textcat_ttext_text(IntPtr temp, IntPtr txt) + => SafeExecution(() => MEOSExternalFunctions.textcat_ttext_text(temp, txt)); + + public static IntPtr textcat_ttext_ttext(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.textcat_ttext_ttext(temp1, temp2)); + + public static IntPtr ttext_initcap(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_initcap(temp)); + + public static IntPtr ttext_upper(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_upper(temp)); + + public static IntPtr ttext_lower(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_lower(temp)); + + public static IntPtr tdistance_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tfloat_float(temp, d)); + + public static IntPtr tdistance_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tint_int(temp, i)); + + public static IntPtr tdistance_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tnumber_tnumber(temp1, temp2)); + + public static double nad_tboxfloat_tboxfloat(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.nad_tboxfloat_tboxfloat(box1, box2)); + + public static int nad_tboxint_tboxint(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.nad_tboxint_tboxint(box1, box2)); + + public static double nad_tfloat_float(IntPtr temp, double d) + => SafeExecution(() => MEOSExternalFunctions.nad_tfloat_float(temp, d)); + + public static double nad_tfloat_tfloat(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_tfloat_tfloat(temp1, temp2)); + + public static double nad_tfloat_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_tfloat_tbox(temp, box)); + + public static int nad_tint_int(IntPtr temp, int i) + => SafeExecution(() => MEOSExternalFunctions.nad_tint_int(temp, i)); + + public static int nad_tint_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_tint_tbox(temp, box)); + + public static int nad_tint_tint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_tint_tint(temp1, temp2)); + + public static IntPtr tbool_tand_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tbool_tand_transfn(state, temp)); + + public static IntPtr tbool_tor_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tbool_tor_transfn(state, temp)); + + public static IntPtr temporal_extent_transfn(IntPtr s, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_extent_transfn(s, temp)); + + public static IntPtr temporal_tagg_finalfn(IntPtr state) + => SafeExecution(() => MEOSExternalFunctions.temporal_tagg_finalfn(state)); + + public static IntPtr temporal_tcount_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_tcount_transfn(state, temp)); + + public static IntPtr tfloat_tmax_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_tmax_transfn(state, temp)); + + public static IntPtr tfloat_tmin_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_tmin_transfn(state, temp)); + + public static IntPtr tfloat_tsum_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tfloat_tsum_transfn(state, temp)); + + public static IntPtr tfloat_wmax_transfn(IntPtr state, IntPtr temp, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tfloat_wmax_transfn(state, temp, interv)); + + public static IntPtr tfloat_wmin_transfn(IntPtr state, IntPtr temp, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tfloat_wmin_transfn(state, temp, interv)); + + public static IntPtr tfloat_wsum_transfn(IntPtr state, IntPtr temp, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tfloat_wsum_transfn(state, temp, interv)); + + public static IntPtr timestamptz_tcount_transfn(IntPtr state, long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_tcount_transfn(state, t)); + + public static IntPtr tint_tmax_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_tmax_transfn(state, temp)); + + public static IntPtr tint_tmin_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_tmin_transfn(state, temp)); + + public static IntPtr tint_tsum_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tint_tsum_transfn(state, temp)); + + public static IntPtr tint_wmax_transfn(IntPtr state, IntPtr temp, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tint_wmax_transfn(state, temp, interv)); + + public static IntPtr tint_wmin_transfn(IntPtr state, IntPtr temp, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tint_wmin_transfn(state, temp, interv)); + + public static IntPtr tint_wsum_transfn(IntPtr state, IntPtr temp, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tint_wsum_transfn(state, temp, interv)); + + public static IntPtr tnumber_extent_transfn(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_extent_transfn(box, temp)); + + public static IntPtr tnumber_tavg_finalfn(IntPtr state) + => SafeExecution(() => MEOSExternalFunctions.tnumber_tavg_finalfn(state)); + + public static IntPtr tnumber_tavg_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnumber_tavg_transfn(state, temp)); + + public static IntPtr tnumber_wavg_transfn(IntPtr state, IntPtr temp, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tnumber_wavg_transfn(state, temp, interv)); + + public static IntPtr tstzset_tcount_transfn(IntPtr state, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzset_tcount_transfn(state, s)); + + public static IntPtr tstzspan_tcount_transfn(IntPtr state, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_tcount_transfn(state, s)); + + public static IntPtr tstzspanset_tcount_transfn(IntPtr state, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_tcount_transfn(state, ss)); + + public static IntPtr ttext_tmax_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_tmax_transfn(state, temp)); + + public static IntPtr ttext_tmin_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ttext_tmin_transfn(state, temp)); + + public static IntPtr temporal_simplify_dp(IntPtr temp, double eps_dist, bool synchronized) + => SafeExecution(() => MEOSExternalFunctions.temporal_simplify_dp(temp, eps_dist, synchronized)); + + public static IntPtr temporal_simplify_max_dist(IntPtr temp, double eps_dist, bool synchronized) + => SafeExecution(() => MEOSExternalFunctions.temporal_simplify_max_dist(temp, eps_dist, synchronized)); + + public static IntPtr temporal_simplify_min_dist(IntPtr temp, double dist) + => SafeExecution(() => MEOSExternalFunctions.temporal_simplify_min_dist(temp, dist)); + + public static IntPtr temporal_simplify_min_tdelta(IntPtr temp, IntPtr mint) + => SafeExecution(() => MEOSExternalFunctions.temporal_simplify_min_tdelta(temp, mint)); + + public static IntPtr temporal_tprecision(IntPtr temp, IntPtr duration, long origin) + => SafeExecution(() => MEOSExternalFunctions.temporal_tprecision(temp, duration, origin)); + + public static IntPtr temporal_tsample(IntPtr temp, IntPtr duration, long origin, int interp) + => SafeExecution(() => MEOSExternalFunctions.temporal_tsample(temp, duration, origin, interp)); + + public static double temporal_dyntimewarp_distance(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_dyntimewarp_distance(temp1, temp2)); + + public static IntPtr temporal_dyntimewarp_path(IntPtr temp1, IntPtr temp2, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_dyntimewarp_path(temp1, temp2, count)); + + public static double temporal_frechet_distance(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_frechet_distance(temp1, temp2)); + + public static IntPtr temporal_frechet_path(IntPtr temp1, IntPtr temp2, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_frechet_path(temp1, temp2, count)); + + public static double temporal_hausdorff_distance(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.temporal_hausdorff_distance(temp1, temp2)); + + public static IntPtr temporal_time_bins(IntPtr temp, IntPtr duration, long origin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_time_bins(temp, duration, origin, count)); + + public static (IntPtr[], long[]) temporal_time_split(IntPtr temp, IntPtr duration, long torigin) + { + IntPtr _out_time_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _count_count = Marshal.AllocHGlobal(sizeof(int)); + try + { + IntPtr _resultPtr = SafeExecution(() => MEOSExternalFunctions.temporal_time_split(temp, duration, torigin, _out_time_bins, _count_count)); + int _n = Marshal.ReadInt32(_count_count); + IntPtr[] _resultArr = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _resultArr[_i] = Marshal.ReadIntPtr(_resultPtr, _i * IntPtr.Size); } + IntPtr __out_time_bins_arr = Marshal.ReadIntPtr(_out_time_bins); + long[] __out_time_bins_out = new long[_n]; + Marshal.Copy(__out_time_bins_arr, __out_time_bins_out, 0, _n); + return (_resultArr, __out_time_bins_out); + } + finally + { + Marshal.FreeHGlobal(_out_time_bins); + Marshal.FreeHGlobal(_count_count); + } + } + + public static IntPtr tfloat_time_boxes(IntPtr temp, IntPtr duration, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tfloat_time_boxes(temp, duration, torigin, count)); + + public static IntPtr tfloat_value_bins(IntPtr temp, double vsize, double vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tfloat_value_bins(temp, vsize, vorigin, count)); + + public static IntPtr tfloat_value_boxes(IntPtr temp, double vsize, double vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tfloat_value_boxes(temp, vsize, vorigin, count)); + + public static (IntPtr[], double[]) tfloat_value_split(IntPtr temp, double size, double origin) + { + IntPtr _out_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _count_count = Marshal.AllocHGlobal(sizeof(int)); + try + { + IntPtr _resultPtr = SafeExecution(() => MEOSExternalFunctions.tfloat_value_split(temp, size, origin, _out_bins, _count_count)); + int _n = Marshal.ReadInt32(_count_count); + IntPtr[] _resultArr = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _resultArr[_i] = Marshal.ReadIntPtr(_resultPtr, _i * IntPtr.Size); } + IntPtr __out_bins_arr = Marshal.ReadIntPtr(_out_bins); + double[] __out_bins_out = new double[_n]; + Marshal.Copy(__out_bins_arr, __out_bins_out, 0, _n); + return (_resultArr, __out_bins_out); + } + finally + { + Marshal.FreeHGlobal(_out_bins); + Marshal.FreeHGlobal(_count_count); + } + } + + public static IntPtr tfloat_value_time_boxes(IntPtr temp, double vsize, IntPtr duration, double vorigin, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tfloat_value_time_boxes(temp, vsize, duration, vorigin, torigin, count)); + + public static (IntPtr[], double[], long[]) tfloat_value_time_split(IntPtr temp, double vsize, IntPtr duration, double vorigin, long torigin) + { + IntPtr _out_value_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _out_time_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _count_count = Marshal.AllocHGlobal(sizeof(int)); + try + { + IntPtr _resultPtr = SafeExecution(() => MEOSExternalFunctions.tfloat_value_time_split(temp, vsize, duration, vorigin, torigin, _out_value_bins, _out_time_bins, _count_count)); + int _n = Marshal.ReadInt32(_count_count); + IntPtr[] _resultArr = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _resultArr[_i] = Marshal.ReadIntPtr(_resultPtr, _i * IntPtr.Size); } + IntPtr __out_value_bins_arr = Marshal.ReadIntPtr(_out_value_bins); + double[] __out_value_bins_out = new double[_n]; + Marshal.Copy(__out_value_bins_arr, __out_value_bins_out, 0, _n); + IntPtr __out_time_bins_arr = Marshal.ReadIntPtr(_out_time_bins); + long[] __out_time_bins_out = new long[_n]; + Marshal.Copy(__out_time_bins_arr, __out_time_bins_out, 0, _n); + return (_resultArr, __out_value_bins_out, __out_time_bins_out); + } + finally + { + Marshal.FreeHGlobal(_out_value_bins); + Marshal.FreeHGlobal(_out_time_bins); + Marshal.FreeHGlobal(_count_count); + } + } + + public static IntPtr tfloatbox_time_tiles(IntPtr box, IntPtr duration, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tfloatbox_time_tiles(box, duration, torigin, count)); + + public static IntPtr tfloatbox_value_tiles(IntPtr box, double vsize, double vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tfloatbox_value_tiles(box, vsize, vorigin, count)); + + public static IntPtr tfloatbox_value_time_tiles(IntPtr box, double vsize, IntPtr duration, double vorigin, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tfloatbox_value_time_tiles(box, vsize, duration, vorigin, torigin, count)); + + public static IntPtr tint_time_boxes(IntPtr temp, IntPtr duration, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tint_time_boxes(temp, duration, torigin, count)); + + public static IntPtr tint_value_bins(IntPtr temp, int vsize, int vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tint_value_bins(temp, vsize, vorigin, count)); + + public static IntPtr tint_value_boxes(IntPtr temp, int vsize, int vorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tint_value_boxes(temp, vsize, vorigin, count)); + + public static (IntPtr[], int[]) tint_value_split(IntPtr temp, int vsize, int vorigin) + { + IntPtr _out_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _count_count = Marshal.AllocHGlobal(sizeof(int)); + try + { + IntPtr _resultPtr = SafeExecution(() => MEOSExternalFunctions.tint_value_split(temp, vsize, vorigin, _out_bins, _count_count)); + int _n = Marshal.ReadInt32(_count_count); + IntPtr[] _resultArr = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _resultArr[_i] = Marshal.ReadIntPtr(_resultPtr, _i * IntPtr.Size); } + IntPtr __out_bins_arr = Marshal.ReadIntPtr(_out_bins); + int[] __out_bins_out = new int[_n]; + Marshal.Copy(__out_bins_arr, __out_bins_out, 0, _n); + return (_resultArr, __out_bins_out); + } + finally + { + Marshal.FreeHGlobal(_out_bins); + Marshal.FreeHGlobal(_count_count); + } + } + + public static IntPtr tint_value_time_boxes(IntPtr temp, int vsize, IntPtr duration, int vorigin, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tint_value_time_boxes(temp, vsize, duration, vorigin, torigin, count)); + + public static (IntPtr[], int[], long[]) tint_value_time_split(IntPtr temp, int size, IntPtr duration, int vorigin, long torigin) + { + IntPtr _out_value_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _out_time_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _count_count = Marshal.AllocHGlobal(sizeof(int)); + try + { + IntPtr _resultPtr = SafeExecution(() => MEOSExternalFunctions.tint_value_time_split(temp, size, duration, vorigin, torigin, _out_value_bins, _out_time_bins, _count_count)); + int _n = Marshal.ReadInt32(_count_count); + IntPtr[] _resultArr = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _resultArr[_i] = Marshal.ReadIntPtr(_resultPtr, _i * IntPtr.Size); } + IntPtr __out_value_bins_arr = Marshal.ReadIntPtr(_out_value_bins); + int[] __out_value_bins_out = new int[_n]; + Marshal.Copy(__out_value_bins_arr, __out_value_bins_out, 0, _n); + IntPtr __out_time_bins_arr = Marshal.ReadIntPtr(_out_time_bins); + long[] __out_time_bins_out = new long[_n]; + Marshal.Copy(__out_time_bins_arr, __out_time_bins_out, 0, _n); + return (_resultArr, __out_value_bins_out, __out_time_bins_out); + } + finally + { + Marshal.FreeHGlobal(_out_value_bins); + Marshal.FreeHGlobal(_out_time_bins); + Marshal.FreeHGlobal(_count_count); + } + } + + public static IntPtr tintbox_time_tiles(IntPtr box, IntPtr duration, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tintbox_time_tiles(box, duration, torigin, count)); + + public static IntPtr tintbox_value_tiles(IntPtr box, int xsize, int xorigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tintbox_value_tiles(box, xsize, xorigin, count)); + + public static IntPtr tintbox_value_time_tiles(IntPtr box, int xsize, IntPtr duration, int xorigin, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tintbox_value_time_tiles(box, xsize, duration, xorigin, torigin, count)); + + public static bool temptype_subtype(int subtype) + => SafeExecution(() => MEOSExternalFunctions.temptype_subtype(subtype)); + + public static bool temptype_subtype_all(int subtype) + => SafeExecution(() => MEOSExternalFunctions.temptype_subtype_all(subtype)); + + public static string tempsubtype_name(int subtype) + => SafeExecution(() => MEOSExternalFunctions.tempsubtype_name(subtype)); + + public static bool tempsubtype_from_string(string str, IntPtr subtype) + => SafeExecution(() => MEOSExternalFunctions.tempsubtype_from_string(str, subtype)); + + public static string meosoper_name(IntPtr oper) + => SafeExecution(() => MEOSExternalFunctions.meosoper_name(oper)); + + public static IntPtr meosoper_from_string(string name) + => SafeExecution(() => MEOSExternalFunctions.meosoper_from_string(name)); + + public static string interptype_name(int interp) + => SafeExecution(() => MEOSExternalFunctions.interptype_name(interp)); + + public static int interptype_from_string(string interp_str) + => SafeExecution(() => MEOSExternalFunctions.interptype_from_string(interp_str)); + + public static string meostype_name(int type) + => SafeExecution(() => MEOSExternalFunctions.meostype_name(type)); + + public static int temptype_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.temptype_basetype(type)); + + public static int settype_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.settype_basetype(type)); + + public static int spantype_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.spantype_basetype(type)); + + public static int spantype_spansettype(int type) + => SafeExecution(() => MEOSExternalFunctions.spantype_spansettype(type)); + + public static int spansettype_spantype(int type) + => SafeExecution(() => MEOSExternalFunctions.spansettype_spantype(type)); + + public static int basetype_spantype(int type) + => SafeExecution(() => MEOSExternalFunctions.basetype_spantype(type)); + + public static int basetype_settype(int type) + => SafeExecution(() => MEOSExternalFunctions.basetype_settype(type)); + + public static bool tnumber_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.tnumber_basetype(type)); + + public static bool geo_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.geo_basetype(type)); + + public static bool meos_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.meos_basetype(type)); + + public static bool alphanum_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.alphanum_basetype(type)); + + public static bool alphanum_temptype(int type) + => SafeExecution(() => MEOSExternalFunctions.alphanum_temptype(type)); + + public static bool time_type(int type) + => SafeExecution(() => MEOSExternalFunctions.time_type(type)); + + public static bool set_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.set_basetype(type)); + + public static bool set_type(int type) + => SafeExecution(() => MEOSExternalFunctions.set_type(type)); + + public static bool numset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.numset_type(type)); + + public static bool ensure_numset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_numset_type(type)); + + public static bool timeset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.timeset_type(type)); + + public static bool set_spantype(int type) + => SafeExecution(() => MEOSExternalFunctions.set_spantype(type)); + + public static bool ensure_set_spantype(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_set_spantype(type)); + + public static bool alphanumset_type(int settype) + => SafeExecution(() => MEOSExternalFunctions.alphanumset_type(settype)); + + public static bool geoset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.geoset_type(type)); + + public static bool ensure_geoset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_geoset_type(type)); + + public static bool spatialset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.spatialset_type(type)); + + public static bool ensure_spatialset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_spatialset_type(type)); + + public static bool span_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.span_basetype(type)); + + public static bool span_canon_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.span_canon_basetype(type)); + + public static bool span_type(int type) + => SafeExecution(() => MEOSExternalFunctions.span_type(type)); + + public static bool type_span_bbox(int type) + => SafeExecution(() => MEOSExternalFunctions.type_span_bbox(type)); + + public static bool span_tbox_type(int type) + => SafeExecution(() => MEOSExternalFunctions.span_tbox_type(type)); + + public static bool ensure_span_tbox_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_span_tbox_type(type)); + + public static bool numspan_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.numspan_basetype(type)); + + public static bool numspan_type(int type) + => SafeExecution(() => MEOSExternalFunctions.numspan_type(type)); + + public static bool ensure_numspan_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_numspan_type(type)); + + public static bool timespan_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.timespan_basetype(type)); + + public static bool timespan_type(int type) + => SafeExecution(() => MEOSExternalFunctions.timespan_type(type)); + + public static bool spanset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.spanset_type(type)); + + public static bool timespanset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.timespanset_type(type)); + + public static bool ensure_timespanset_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_timespanset_type(type)); + + public static bool temporal_type(int type) + => SafeExecution(() => MEOSExternalFunctions.temporal_type(type)); + + public static bool temporal_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.temporal_basetype(type)); + + public static bool temptype_continuous(int type) + => SafeExecution(() => MEOSExternalFunctions.temptype_continuous(type)); + + public static bool basetype_byvalue(int type) + => SafeExecution(() => MEOSExternalFunctions.basetype_byvalue(type)); + + public static bool basetype_varlength(int type) + => SafeExecution(() => MEOSExternalFunctions.basetype_varlength(type)); + + public static short basetype_length(int type) + => SafeExecution(() => MEOSExternalFunctions.basetype_length(type)); + + public static bool talphanum_type(int type) + => SafeExecution(() => MEOSExternalFunctions.talphanum_type(type)); + + public static bool talpha_type(int type) + => SafeExecution(() => MEOSExternalFunctions.talpha_type(type)); + + public static bool tnumber_type(int type) + => SafeExecution(() => MEOSExternalFunctions.tnumber_type(type)); + + public static bool ensure_tnumber_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tnumber_type(type)); + + public static bool ensure_tnumber_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tnumber_basetype(type)); + + public static bool tnumber_spantype(int type) + => SafeExecution(() => MEOSExternalFunctions.tnumber_spantype(type)); + + public static bool spatial_basetype(int type) + => SafeExecution(() => MEOSExternalFunctions.spatial_basetype(type)); + + public static bool tspatial_type(int type) + => SafeExecution(() => MEOSExternalFunctions.tspatial_type(type)); + + public static bool ensure_tspatial_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tspatial_type(type)); + + public static bool tpoint_type(int type) + => SafeExecution(() => MEOSExternalFunctions.tpoint_type(type)); + + public static bool ensure_tpoint_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tpoint_type(type)); + + public static bool tgeo_type(int type) + => SafeExecution(() => MEOSExternalFunctions.tgeo_type(type)); + + public static bool ensure_tgeo_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tgeo_type(type)); + + public static bool tgeo_type_all(int type) + => SafeExecution(() => MEOSExternalFunctions.tgeo_type_all(type)); + + public static bool ensure_tgeo_type_all(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tgeo_type_all(type)); + + public static bool tgeometry_type(int type) + => SafeExecution(() => MEOSExternalFunctions.tgeometry_type(type)); + + public static bool ensure_tgeometry_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tgeometry_type(type)); + + public static bool tgeodetic_type(int type) + => SafeExecution(() => MEOSExternalFunctions.tgeodetic_type(type)); + + public static bool ensure_tgeodetic_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tgeodetic_type(type)); + + public static bool ensure_tnumber_tpoint_type(int type) + => SafeExecution(() => MEOSExternalFunctions.ensure_tnumber_tpoint_type(type)); + + public static int geo_get_srid(IntPtr g) + => SafeExecution(() => MEOSExternalFunctions.geo_get_srid(g)); + + public static IntPtr geo_as_ewkb(IntPtr gs, string endian, IntPtr size) + => SafeExecution(() => MEOSExternalFunctions.geo_as_ewkb(gs, endian, size)); + + public static string geo_as_ewkt(IntPtr gs, int precision) + => SafeExecution(() => MEOSExternalFunctions.geo_as_ewkt(gs, precision)); + + public static string geo_as_geojson(IntPtr gs, int option, int precision, string srs) + => SafeExecution(() => MEOSExternalFunctions.geo_as_geojson(gs, option, precision, srs)); + + public static string geo_as_hexewkb(IntPtr gs, string endian) + => SafeExecution(() => MEOSExternalFunctions.geo_as_hexewkb(gs, endian)); + + public static string geo_as_text(IntPtr gs, int precision) + => SafeExecution(() => MEOSExternalFunctions.geo_as_text(gs, precision)); + + public static IntPtr geo_from_ewkb(IntPtr wkb, ulong wkb_size, int srid) + => SafeExecution(() => MEOSExternalFunctions.geo_from_ewkb(wkb, wkb_size, srid)); + + public static IntPtr geo_from_geojson(string geojson) + => SafeExecution(() => MEOSExternalFunctions.geo_from_geojson(geojson)); + + public static IntPtr geo_from_text(string wkt, int srid) + => SafeExecution(() => MEOSExternalFunctions.geo_from_text(wkt, srid)); + + public static string geo_out(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_out(gs)); + + public static IntPtr geog_from_binary(string wkb_bytea) + => SafeExecution(() => MEOSExternalFunctions.geog_from_binary(wkb_bytea)); + + public static IntPtr geog_from_hexewkb(string wkt) + => SafeExecution(() => MEOSExternalFunctions.geog_from_hexewkb(wkt)); + + public static IntPtr geog_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.geog_in(str, typmod)); + + public static IntPtr geom_from_hexewkb(string wkt) + => SafeExecution(() => MEOSExternalFunctions.geom_from_hexewkb(wkt)); + + public static IntPtr geom_in(string str, int typmod) + => SafeExecution(() => MEOSExternalFunctions.geom_in(str, typmod)); + + public static IntPtr box3d_make(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int srid) + => SafeExecution(() => MEOSExternalFunctions.box3d_make(xmin, xmax, ymin, ymax, zmin, zmax, srid)); + + public static string box3d_out(IntPtr box, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.box3d_out(box, maxdd)); + + public static IntPtr gbox_make(bool hasz, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) + => SafeExecution(() => MEOSExternalFunctions.gbox_make(hasz, xmin, xmax, ymin, ymax, zmin, zmax)); + + public static string gbox_out(IntPtr box, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.gbox_out(box, maxdd)); + + public static IntPtr geo_copy(IntPtr g) + => SafeExecution(() => MEOSExternalFunctions.geo_copy(g)); + + public static IntPtr geogpoint_make2d(int srid, double x, double y) + => SafeExecution(() => MEOSExternalFunctions.geogpoint_make2d(srid, x, y)); + + public static IntPtr geogpoint_make3dz(int srid, double x, double y, double z) + => SafeExecution(() => MEOSExternalFunctions.geogpoint_make3dz(srid, x, y, z)); + + public static IntPtr geompoint_make2d(int srid, double x, double y) + => SafeExecution(() => MEOSExternalFunctions.geompoint_make2d(srid, x, y)); + + public static IntPtr geompoint_make3dz(int srid, double x, double y, double z) + => SafeExecution(() => MEOSExternalFunctions.geompoint_make3dz(srid, x, y, z)); + + public static IntPtr geom_to_geog(IntPtr geom) + => SafeExecution(() => MEOSExternalFunctions.geom_to_geog(geom)); + + public static IntPtr geog_to_geom(IntPtr geog) + => SafeExecution(() => MEOSExternalFunctions.geog_to_geom(geog)); + + public static bool geo_is_empty(IntPtr g) + => SafeExecution(() => MEOSExternalFunctions.geo_is_empty(g)); + + public static bool geo_is_unitary(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_is_unitary(gs)); + + public static string geo_typename(int type) + => SafeExecution(() => MEOSExternalFunctions.geo_typename(type)); + + public static double geog_area(IntPtr g, bool use_spheroid) + => SafeExecution(() => MEOSExternalFunctions.geog_area(g, use_spheroid)); + + public static IntPtr geog_centroid(IntPtr g, bool use_spheroid) + => SafeExecution(() => MEOSExternalFunctions.geog_centroid(g, use_spheroid)); + + public static double geog_length(IntPtr g, bool use_spheroid) + => SafeExecution(() => MEOSExternalFunctions.geog_length(g, use_spheroid)); + + public static double geog_perimeter(IntPtr g, bool use_spheroid) + => SafeExecution(() => MEOSExternalFunctions.geog_perimeter(g, use_spheroid)); + + public static bool geom_azimuth(IntPtr gs1, IntPtr gs2, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.geom_azimuth(gs1, gs2, result)); + + public static double geom_length(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geom_length(gs)); + + public static double geom_perimeter(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geom_perimeter(gs)); + + public static int line_numpoints(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.line_numpoints(gs)); + + public static IntPtr line_point_n(IntPtr geom, int n) + => SafeExecution(() => MEOSExternalFunctions.line_point_n(geom, n)); + + public static IntPtr geo_reverse(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_reverse(gs)); + + public static IntPtr geo_round(IntPtr gs, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.geo_round(gs, maxdd)); + + public static IntPtr geo_set_srid(IntPtr gs, int srid) + => SafeExecution(() => MEOSExternalFunctions.geo_set_srid(gs, srid)); + + public static int geo_srid(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_srid(gs)); + + public static IntPtr geo_transform(IntPtr geom, int srid_to) + => SafeExecution(() => MEOSExternalFunctions.geo_transform(geom, srid_to)); + + public static IntPtr geo_transform_pipeline(IntPtr gs, string pipeline, int srid_to, bool is_forward) + => SafeExecution(() => MEOSExternalFunctions.geo_transform_pipeline(gs, pipeline, srid_to, is_forward)); + + public static IntPtr geo_collect_garray(IntPtr gsarr, int count) + => SafeExecution(() => MEOSExternalFunctions.geo_collect_garray(gsarr, count)); + + public static IntPtr geo_makeline_garray(IntPtr gsarr, int count) + => SafeExecution(() => MEOSExternalFunctions.geo_makeline_garray(gsarr, count)); + + public static int geo_num_points(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_num_points(gs)); + + public static int geo_num_geos(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_num_geos(gs)); + + public static IntPtr geo_geo_n(IntPtr geom, int n) + => SafeExecution(() => MEOSExternalFunctions.geo_geo_n(geom, n)); + + public static IntPtr geo_pointarr(IntPtr gs, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.geo_pointarr(gs, count)); + + public static IntPtr geo_points(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_points(gs)); + + public static IntPtr geom_array_union(IntPtr gsarr, int count) + => SafeExecution(() => MEOSExternalFunctions.geom_array_union(gsarr, count)); + + public static IntPtr geom_boundary(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geom_boundary(gs)); + + public static IntPtr geom_buffer(IntPtr gs, double size, string @params) + => SafeExecution(() => MEOSExternalFunctions.geom_buffer(gs, size, @params)); + + public static IntPtr geom_centroid(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geom_centroid(gs)); + + public static IntPtr geom_convex_hull(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geom_convex_hull(gs)); + + public static IntPtr geom_difference2d(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_difference2d(gs1, gs2)); + + public static IntPtr geom_intersection2d(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_intersection2d(gs1, gs2)); + + public static IntPtr geom_intersection2d_coll(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_intersection2d_coll(gs1, gs2)); + + public static IntPtr geom_min_bounding_radius(IntPtr geom, IntPtr radius) + => SafeExecution(() => MEOSExternalFunctions.geom_min_bounding_radius(geom, radius)); + + public static IntPtr geom_shortestline2d(IntPtr gs1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.geom_shortestline2d(gs1, s2)); + + public static IntPtr geom_shortestline3d(IntPtr gs1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.geom_shortestline3d(gs1, s2)); + + public static IntPtr geom_unary_union(IntPtr gs, double prec) + => SafeExecution(() => MEOSExternalFunctions.geom_unary_union(gs, prec)); + + public static IntPtr line_interpolate_point(IntPtr gs, double distance_fraction, bool repeat) + => SafeExecution(() => MEOSExternalFunctions.line_interpolate_point(gs, distance_fraction, repeat)); + + public static double line_locate_point(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.line_locate_point(gs1, gs2)); + + public static IntPtr line_substring(IntPtr gs, double from, double to) + => SafeExecution(() => MEOSExternalFunctions.line_substring(gs, from, to)); + + public static bool geog_dwithin(IntPtr g1, IntPtr g2, double tolerance, bool use_spheroid) + => SafeExecution(() => MEOSExternalFunctions.geog_dwithin(g1, g2, tolerance, use_spheroid)); + + public static bool geog_intersects(IntPtr gs1, IntPtr gs2, bool use_spheroid) + => SafeExecution(() => MEOSExternalFunctions.geog_intersects(gs1, gs2, use_spheroid)); + + public static bool geom_contains(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_contains(gs1, gs2)); + + public static bool geom_covers(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_covers(gs1, gs2)); + + public static bool geom_disjoint2d(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_disjoint2d(gs1, gs2)); + + public static bool geom_dwithin2d(IntPtr gs1, IntPtr gs2, double tolerance) + => SafeExecution(() => MEOSExternalFunctions.geom_dwithin2d(gs1, gs2, tolerance)); + + public static bool geom_dwithin3d(IntPtr gs1, IntPtr gs2, double tolerance) + => SafeExecution(() => MEOSExternalFunctions.geom_dwithin3d(gs1, gs2, tolerance)); + + public static bool geom_intersects2d(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_intersects2d(gs1, gs2)); + + public static bool geom_intersects3d(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_intersects3d(gs1, gs2)); + + public static bool geom_relate_pattern(IntPtr gs1, IntPtr gs2, string patt) + => SafeExecution(() => MEOSExternalFunctions.geom_relate_pattern(gs1, gs2, patt)); + + public static bool geom_touches(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_touches(gs1, gs2)); + + public static IntPtr geo_stboxes(IntPtr gs, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.geo_stboxes(gs, count)); + + public static IntPtr geo_split_each_n_stboxes(IntPtr gs, int elem_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.geo_split_each_n_stboxes(gs, elem_count, count)); + + public static IntPtr geo_split_n_stboxes(IntPtr gs, int box_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.geo_split_n_stboxes(gs, box_count, count)); + + public static double geog_distance(IntPtr g1, IntPtr g2) + => SafeExecution(() => MEOSExternalFunctions.geog_distance(g1, g2)); + + public static double geom_distance2d(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_distance2d(gs1, gs2)); + + public static double geom_distance3d(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geom_distance3d(gs1, gs2)); + + public static int geo_equals(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geo_equals(gs1, gs2)); + + public static bool geo_same(IntPtr gs1, IntPtr gs2) + => SafeExecution(() => MEOSExternalFunctions.geo_same(gs1, gs2)); + + public static IntPtr geogset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.geogset_in(str)); + + public static IntPtr geomset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.geomset_in(str)); + + public static string spatialset_as_text(IntPtr set, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.spatialset_as_text(set, maxdd)); + + public static string spatialset_as_ewkt(IntPtr set, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.spatialset_as_ewkt(set, maxdd)); + + public static IntPtr geoset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.geoset_make(values, count)); + + public static IntPtr geo_to_set(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_to_set(gs)); + + public static IntPtr geoset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.geoset_end_value(s)); + + public static IntPtr geoset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.geoset_start_value(s)); + + public static bool geoset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.geoset_value_n(s, n, result)); + + public static IntPtr[] geoset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.geoset_values(s)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static bool contained_geo_set(IntPtr gs, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_geo_set(gs, s)); + + public static bool contains_set_geo(IntPtr s, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.contains_set_geo(s, gs)); + + public static IntPtr geo_union_transfn(IntPtr state, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_union_transfn(state, gs)); + + public static IntPtr intersection_geo_set(IntPtr gs, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_geo_set(gs, s)); + + public static IntPtr intersection_set_geo(IntPtr s, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_geo(s, gs)); + + public static IntPtr minus_geo_set(IntPtr gs, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_geo_set(gs, s)); + + public static IntPtr minus_set_geo(IntPtr s, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.minus_set_geo(s, gs)); + + public static IntPtr union_geo_set(IntPtr gs, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_geo_set(gs, s)); + + public static IntPtr union_set_geo(IntPtr s, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.union_set_geo(s, gs)); + + public static IntPtr spatialset_set_srid(IntPtr s, int srid) + => SafeExecution(() => MEOSExternalFunctions.spatialset_set_srid(s, srid)); + + public static int spatialset_srid(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.spatialset_srid(s)); + + public static IntPtr spatialset_transform(IntPtr s, int srid) + => SafeExecution(() => MEOSExternalFunctions.spatialset_transform(s, srid)); + + public static IntPtr spatialset_transform_pipeline(IntPtr s, string pipelinestr, int srid, bool is_forward) + => SafeExecution(() => MEOSExternalFunctions.spatialset_transform_pipeline(s, pipelinestr, srid, is_forward)); + + public static string stbox_as_hexwkb(IntPtr box, IntPtr variant, IntPtr size) + => SafeExecution(() => MEOSExternalFunctions.stbox_as_hexwkb(box, variant, size)); + + public static IntPtr stbox_as_wkb(IntPtr box, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.stbox_as_wkb(box, variant, size_out)); + + public static IntPtr stbox_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.stbox_from_hexwkb(hexwkb)); + + public static IntPtr stbox_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.stbox_from_wkb(wkb, size)); + + public static IntPtr stbox_in(string str) + => SafeExecution(() => MEOSExternalFunctions.stbox_in(str)); + + public static string stbox_out(IntPtr box, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.stbox_out(box, maxdd)); + + public static IntPtr geo_timestamptz_to_stbox(IntPtr gs, long t) + => SafeExecution(() => MEOSExternalFunctions.geo_timestamptz_to_stbox(gs, t)); + + public static IntPtr geo_tstzspan_to_stbox(IntPtr gs, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.geo_tstzspan_to_stbox(gs, s)); + + public static IntPtr stbox_copy(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_copy(box)); + + public static IntPtr stbox_make(bool hasx, bool hasz, bool geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.stbox_make(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, s)); + + public static IntPtr geo_to_stbox(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geo_to_stbox(gs)); + + public static IntPtr spatialset_to_stbox(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.spatialset_to_stbox(s)); + + public static IntPtr stbox_to_box3d(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_to_box3d(box)); + + public static IntPtr stbox_to_gbox(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_to_gbox(box)); + + public static IntPtr stbox_to_geo(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_to_geo(box)); + + public static IntPtr stbox_to_tstzspan(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_to_tstzspan(box)); + + public static IntPtr timestamptz_to_stbox(long t) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_to_stbox(t)); + + public static IntPtr tstzset_to_stbox(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzset_to_stbox(s)); + + public static IntPtr tstzspan_to_stbox(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_to_stbox(s)); + + public static IntPtr tstzspanset_to_stbox(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_to_stbox(ss)); + + public static double stbox_area(IntPtr box, bool spheroid) + => SafeExecution(() => MEOSExternalFunctions.stbox_area(box, spheroid)); + + public static uint stbox_hash(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_hash(box)); + + public static ulong stbox_hash_extended(IntPtr box, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.stbox_hash_extended(box, seed)); + + public static bool stbox_hast(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_hast(box)); + + public static bool stbox_hasx(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_hasx(box)); + + public static bool stbox_hasz(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_hasz(box)); + + public static bool stbox_isgeodetic(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_isgeodetic(box)); + + public static double stbox_perimeter(IntPtr box, bool spheroid) + => SafeExecution(() => MEOSExternalFunctions.stbox_perimeter(box, spheroid)); + + public static bool stbox_tmax(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_tmax(box, result)); + + public static bool stbox_tmax_inc(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_tmax_inc(box, result)); + + public static bool stbox_tmin(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_tmin(box, result)); + + public static bool stbox_tmin_inc(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_tmin_inc(box, result)); + + public static double stbox_volume(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_volume(box)); + + public static bool stbox_xmax(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_xmax(box, result)); + + public static bool stbox_xmin(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_xmin(box, result)); + + public static bool stbox_ymax(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_ymax(box, result)); + + public static bool stbox_ymin(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_ymin(box, result)); + + public static bool stbox_zmax(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_zmax(box, result)); + + public static bool stbox_zmin(IntPtr box, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.stbox_zmin(box, result)); + + public static IntPtr stbox_expand_space(IntPtr box, double d) + => SafeExecution(() => MEOSExternalFunctions.stbox_expand_space(box, d)); + + public static IntPtr stbox_expand_time(IntPtr box, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.stbox_expand_time(box, interv)); + + public static IntPtr stbox_get_space(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_get_space(box)); + + public static IntPtr stbox_quad_split(IntPtr box, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.stbox_quad_split(box, count)); + + public static IntPtr stbox_round(IntPtr box, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.stbox_round(box, maxdd)); + + public static IntPtr stbox_shift_scale_time(IntPtr box, IntPtr shift, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.stbox_shift_scale_time(box, shift, duration)); + + public static IntPtr stboxarr_round(IntPtr boxarr, int count, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.stboxarr_round(boxarr, count, maxdd)); + + public static IntPtr stbox_set_srid(IntPtr box, int srid) + => SafeExecution(() => MEOSExternalFunctions.stbox_set_srid(box, srid)); + + public static int stbox_srid(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_srid(box)); + + public static IntPtr stbox_transform(IntPtr box, int srid) + => SafeExecution(() => MEOSExternalFunctions.stbox_transform(box, srid)); + + public static IntPtr stbox_transform_pipeline(IntPtr box, string pipelinestr, int srid, bool is_forward) + => SafeExecution(() => MEOSExternalFunctions.stbox_transform_pipeline(box, pipelinestr, srid, is_forward)); + + public static bool adjacent_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.adjacent_stbox_stbox(box1, box2)); + + public static bool contained_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.contained_stbox_stbox(box1, box2)); + + public static bool contains_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.contains_stbox_stbox(box1, box2)); + + public static bool overlaps_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overlaps_stbox_stbox(box1, box2)); + + public static bool same_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.same_stbox_stbox(box1, box2)); + + public static bool above_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.above_stbox_stbox(box1, box2)); + + public static bool after_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.after_stbox_stbox(box1, box2)); + + public static bool back_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.back_stbox_stbox(box1, box2)); + + public static bool before_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.before_stbox_stbox(box1, box2)); + + public static bool below_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.below_stbox_stbox(box1, box2)); + + public static bool front_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.front_stbox_stbox(box1, box2)); + + public static bool left_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.left_stbox_stbox(box1, box2)); + + public static bool overabove_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overabove_stbox_stbox(box1, box2)); + + public static bool overafter_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overafter_stbox_stbox(box1, box2)); + + public static bool overback_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overback_stbox_stbox(box1, box2)); + + public static bool overbefore_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overbefore_stbox_stbox(box1, box2)); + + public static bool overbelow_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overbelow_stbox_stbox(box1, box2)); + + public static bool overfront_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overfront_stbox_stbox(box1, box2)); + + public static bool overleft_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overleft_stbox_stbox(box1, box2)); + + public static bool overright_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.overright_stbox_stbox(box1, box2)); + + public static bool right_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.right_stbox_stbox(box1, box2)); + + public static IntPtr union_stbox_stbox(IntPtr box1, IntPtr box2, bool strict) + => SafeExecution(() => MEOSExternalFunctions.union_stbox_stbox(box1, box2, strict)); + + public static IntPtr intersection_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.intersection_stbox_stbox(box1, box2)); + + public static int stbox_cmp(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.stbox_cmp(box1, box2)); + + public static bool stbox_eq(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.stbox_eq(box1, box2)); + + public static bool stbox_ge(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.stbox_ge(box1, box2)); + + public static bool stbox_gt(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.stbox_gt(box1, box2)); + + public static bool stbox_le(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.stbox_le(box1, box2)); + + public static bool stbox_lt(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.stbox_lt(box1, box2)); + + public static bool stbox_ne(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.stbox_ne(box1, box2)); + + public static IntPtr tgeogpoint_from_mfjson(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeogpoint_from_mfjson(str)); + + public static IntPtr tgeogpoint_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeogpoint_in(str)); + + public static IntPtr tgeography_from_mfjson(string mfjson) + => SafeExecution(() => MEOSExternalFunctions.tgeography_from_mfjson(mfjson)); + + public static IntPtr tgeography_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeography_in(str)); + + public static IntPtr tgeometry_from_mfjson(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeometry_from_mfjson(str)); + + public static IntPtr tgeometry_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeometry_in(str)); + + public static IntPtr tgeompoint_from_mfjson(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeompoint_from_mfjson(str)); + + public static IntPtr tgeompoint_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeompoint_in(str)); + + public static string tspatial_as_ewkt(IntPtr temp, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tspatial_as_ewkt(temp, maxdd)); + + public static string tspatial_as_text(IntPtr temp, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tspatial_as_text(temp, maxdd)); + + public static string tspatial_out(IntPtr temp, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tspatial_out(temp, maxdd)); + + public static IntPtr tgeo_from_base_temp(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeo_from_base_temp(gs, temp)); + + public static IntPtr tgeoinst_make(IntPtr gs, long t) + => SafeExecution(() => MEOSExternalFunctions.tgeoinst_make(gs, t)); + + public static IntPtr tgeoseq_from_base_tstzset(IntPtr gs, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tgeoseq_from_base_tstzset(gs, s)); + + public static IntPtr tgeoseq_from_base_tstzspan(IntPtr gs, IntPtr s, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeoseq_from_base_tstzspan(gs, s, interp)); + + public static IntPtr tgeoseqset_from_base_tstzspanset(IntPtr gs, IntPtr ss, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeoseqset_from_base_tstzspanset(gs, ss, interp)); + + public static IntPtr tpoint_from_base_temp(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_from_base_temp(gs, temp)); + + public static IntPtr tpointinst_make(IntPtr gs, long t) + => SafeExecution(() => MEOSExternalFunctions.tpointinst_make(gs, t)); + + public static IntPtr tpointseq_from_base_tstzset(IntPtr gs, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_from_base_tstzset(gs, s)); + + public static IntPtr tpointseq_from_base_tstzspan(IntPtr gs, IntPtr s, int interp) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_from_base_tstzspan(gs, s, interp)); + + public static IntPtr tpointseq_make_coords(IntPtr xcoords, IntPtr ycoords, IntPtr zcoords, IntPtr times, int count, int srid, bool geodetic, bool lower_inc, bool upper_inc, int interp, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_make_coords(xcoords, ycoords, zcoords, times, count, srid, geodetic, lower_inc, upper_inc, interp, normalize)); + + public static IntPtr tpointseqset_from_base_tstzspanset(IntPtr gs, IntPtr ss, int interp) + => SafeExecution(() => MEOSExternalFunctions.tpointseqset_from_base_tstzspanset(gs, ss, interp)); + + public static IntPtr box3d_to_stbox(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.box3d_to_stbox(box)); + + public static IntPtr gbox_to_stbox(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.gbox_to_stbox(box)); + + public static IntPtr geomeas_to_tpoint(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geomeas_to_tpoint(gs)); + + public static IntPtr tgeogpoint_to_tgeography(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeogpoint_to_tgeography(temp)); + + public static IntPtr tgeography_to_tgeogpoint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeography_to_tgeogpoint(temp)); + + public static IntPtr tgeography_to_tgeometry(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeography_to_tgeometry(temp)); + + public static IntPtr tgeometry_to_tgeography(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeometry_to_tgeography(temp)); + + public static IntPtr tgeometry_to_tgeompoint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeometry_to_tgeompoint(temp)); + + public static IntPtr tgeompoint_to_tgeometry(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeompoint_to_tgeometry(temp)); + + public static (IntPtr[], long[]) tpoint_as_mvtgeom(IntPtr temp, IntPtr bounds, int extent, int buffer, bool clip_geom) + { + IntPtr _out_gsarr = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _out_timesarr = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _count_count = Marshal.AllocHGlobal(sizeof(int)); + try + { + SafeExecution(() => MEOSExternalFunctions.tpoint_as_mvtgeom(temp, bounds, extent, buffer, clip_geom, _out_gsarr, _out_timesarr, _count_count)); + int _n = Marshal.ReadInt32(_count_count); + IntPtr __out_gsarr_arr = Marshal.ReadIntPtr(_out_gsarr); + IntPtr[] __out_gsarr_out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { __out_gsarr_out[_i] = Marshal.ReadIntPtr(__out_gsarr_arr, _i * IntPtr.Size); } + IntPtr __out_timesarr_arr = Marshal.ReadIntPtr(_out_timesarr); + long[] __out_timesarr_out = new long[_n]; + Marshal.Copy(__out_timesarr_arr, __out_timesarr_out, 0, _n); + return (__out_gsarr_out, __out_timesarr_out); + } + finally + { + Marshal.FreeHGlobal(_out_gsarr); + Marshal.FreeHGlobal(_out_timesarr); + Marshal.FreeHGlobal(_count_count); + } + } + + public static bool tpoint_tfloat_to_geomeas(IntPtr tpoint, IntPtr measure, bool segmentize, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tpoint_tfloat_to_geomeas(tpoint, measure, segmentize, result)); + + public static IntPtr tspatial_to_stbox(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tspatial_to_stbox(temp)); + + public static bool bearing_point_point(IntPtr gs1, IntPtr gs2, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.bearing_point_point(gs1, gs2, result)); + + public static IntPtr bearing_tpoint_point(IntPtr temp, IntPtr gs, bool invert) + => SafeExecution(() => MEOSExternalFunctions.bearing_tpoint_point(temp, gs, invert)); + + public static IntPtr bearing_tpoint_tpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.bearing_tpoint_tpoint(temp1, temp2)); + + public static IntPtr tgeo_centroid(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeo_centroid(temp)); + + public static IntPtr tgeo_convex_hull(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeo_convex_hull(temp)); + + public static IntPtr tgeo_end_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeo_end_value(temp)); + + public static IntPtr tgeo_start_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeo_start_value(temp)); + + public static IntPtr tgeo_traversed_area(IntPtr temp, bool unary_union) + => SafeExecution(() => MEOSExternalFunctions.tgeo_traversed_area(temp, unary_union)); + + public static bool tgeo_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr value) + => SafeExecution(() => MEOSExternalFunctions.tgeo_value_at_timestamptz(temp, t, strict, value)); + + public static bool tgeo_value_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tgeo_value_n(temp, n, result)); + + public static IntPtr tgeo_values(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeo_values(temp, count)); + + public static IntPtr tpoint_angular_difference(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_angular_difference(temp)); + + public static IntPtr tpoint_azimuth(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_azimuth(temp)); + + public static IntPtr tpoint_cumulative_length(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_cumulative_length(temp)); + + public static bool tpoint_direction(IntPtr temp, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tpoint_direction(temp, result)); + + public static IntPtr tpoint_get_x(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_get_x(temp)); + + public static IntPtr tpoint_get_y(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_get_y(temp)); + + public static IntPtr tpoint_get_z(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_get_z(temp)); + + public static bool tpoint_is_simple(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_is_simple(temp)); + + public static double tpoint_length(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_length(temp)); + + public static IntPtr tpoint_speed(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_speed(temp)); + + public static IntPtr tpoint_trajectory(IntPtr temp, bool unary_union) + => SafeExecution(() => MEOSExternalFunctions.tpoint_trajectory(temp, unary_union)); + + public static IntPtr tpoint_twcentroid(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_twcentroid(temp)); + + public static IntPtr tgeo_affine(IntPtr temp, IntPtr a) + => SafeExecution(() => MEOSExternalFunctions.tgeo_affine(temp, a)); + + public static IntPtr tgeo_scale(IntPtr temp, IntPtr scale, IntPtr sorigin) + => SafeExecution(() => MEOSExternalFunctions.tgeo_scale(temp, scale, sorigin)); + + public static IntPtr tpoint_make_simple(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tpoint_make_simple(temp, count)); + + public static int tspatial_srid(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tspatial_srid(temp)); + + public static IntPtr tspatial_set_srid(IntPtr temp, int srid) + => SafeExecution(() => MEOSExternalFunctions.tspatial_set_srid(temp, srid)); + + public static IntPtr tspatial_transform(IntPtr temp, int srid) + => SafeExecution(() => MEOSExternalFunctions.tspatial_transform(temp, srid)); + + public static IntPtr tspatial_transform_pipeline(IntPtr temp, string pipelinestr, int srid, bool is_forward) + => SafeExecution(() => MEOSExternalFunctions.tspatial_transform_pipeline(temp, pipelinestr, srid, is_forward)); + + public static IntPtr tgeo_at_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tgeo_at_geom(temp, gs)); + + public static IntPtr tgeo_at_stbox(IntPtr temp, IntPtr box, bool border_inc) + => SafeExecution(() => MEOSExternalFunctions.tgeo_at_stbox(temp, box, border_inc)); + + public static IntPtr tgeo_at_value(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tgeo_at_value(temp, gs)); + + public static IntPtr tgeo_minus_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tgeo_minus_geom(temp, gs)); + + public static IntPtr tgeo_minus_stbox(IntPtr temp, IntPtr box, bool border_inc) + => SafeExecution(() => MEOSExternalFunctions.tgeo_minus_stbox(temp, box, border_inc)); + + public static IntPtr tgeo_minus_value(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tgeo_minus_value(temp, gs)); + + public static IntPtr tpoint_at_geom(IntPtr temp, IntPtr gs, IntPtr zspan) + => SafeExecution(() => MEOSExternalFunctions.tpoint_at_geom(temp, gs, zspan)); + + public static IntPtr tpoint_at_value(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tpoint_at_value(temp, gs)); + + public static IntPtr tpoint_minus_geom(IntPtr temp, IntPtr gs, IntPtr zspan) + => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_geom(temp, gs, zspan)); + + public static IntPtr tpoint_minus_value(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tpoint_minus_value(temp, gs)); + + public static int always_eq_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_geo_tgeo(gs, temp)); + + public static int always_eq_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tgeo_geo(temp, gs)); + + public static int always_eq_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tgeo_tgeo(temp1, temp2)); + + public static int always_ne_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_geo_tgeo(gs, temp)); + + public static int always_ne_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tgeo_geo(temp, gs)); + + public static int always_ne_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tgeo_tgeo(temp1, temp2)); + + public static int ever_eq_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_geo_tgeo(gs, temp)); + + public static int ever_eq_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tgeo_geo(temp, gs)); + + public static int ever_eq_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tgeo_tgeo(temp1, temp2)); + + public static int ever_ne_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_geo_tgeo(gs, temp)); + + public static int ever_ne_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tgeo_geo(temp, gs)); + + public static int ever_ne_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tgeo_tgeo(temp1, temp2)); + + public static IntPtr teq_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.teq_geo_tgeo(gs, temp)); + + public static IntPtr teq_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.teq_tgeo_geo(temp, gs)); + + public static IntPtr tne_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tne_geo_tgeo(gs, temp)); + + public static IntPtr tne_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tne_tgeo_geo(temp, gs)); + + public static IntPtr tgeo_stboxes(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeo_stboxes(temp, count)); + + public static IntPtr tgeo_space_boxes(IntPtr temp, double xsize, double ysize, double zsize, IntPtr sorigin, bool bitmatrix, bool border_inc, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeo_space_boxes(temp, xsize, ysize, zsize, sorigin, bitmatrix, border_inc, count)); + + public static IntPtr tgeo_space_time_boxes(IntPtr temp, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, bool bitmatrix, bool border_inc, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeo_space_time_boxes(temp, xsize, ysize, zsize, duration, sorigin, torigin, bitmatrix, border_inc, count)); + + public static IntPtr tgeo_split_each_n_stboxes(IntPtr temp, int elem_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeo_split_each_n_stboxes(temp, elem_count, count)); + + public static IntPtr tgeo_split_n_stboxes(IntPtr temp, int box_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeo_split_n_stboxes(temp, box_count, count)); + + public static bool adjacent_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.adjacent_stbox_tspatial(box, temp)); + + public static bool adjacent_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.adjacent_tspatial_stbox(temp, box)); + + public static bool adjacent_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.adjacent_tspatial_tspatial(temp1, temp2)); + + public static bool contained_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.contained_stbox_tspatial(box, temp)); + + public static bool contained_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.contained_tspatial_stbox(temp, box)); + + public static bool contained_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.contained_tspatial_tspatial(temp1, temp2)); + + public static bool contains_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.contains_stbox_tspatial(box, temp)); + + public static bool contains_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.contains_tspatial_stbox(temp, box)); + + public static bool contains_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.contains_tspatial_tspatial(temp1, temp2)); + + public static bool overlaps_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overlaps_stbox_tspatial(box, temp)); + + public static bool overlaps_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overlaps_tspatial_stbox(temp, box)); + + public static bool overlaps_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overlaps_tspatial_tspatial(temp1, temp2)); + + public static bool same_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.same_stbox_tspatial(box, temp)); + + public static bool same_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.same_tspatial_stbox(temp, box)); + + public static bool same_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.same_tspatial_tspatial(temp1, temp2)); + + public static bool above_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.above_stbox_tspatial(box, temp)); + + public static bool above_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.above_tspatial_stbox(temp, box)); + + public static bool above_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.above_tspatial_tspatial(temp1, temp2)); + + public static bool after_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.after_stbox_tspatial(box, temp)); + + public static bool after_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.after_tspatial_stbox(temp, box)); + + public static bool after_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.after_tspatial_tspatial(temp1, temp2)); + + public static bool back_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.back_stbox_tspatial(box, temp)); + + public static bool back_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.back_tspatial_stbox(temp, box)); + + public static bool back_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.back_tspatial_tspatial(temp1, temp2)); + + public static bool before_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.before_stbox_tspatial(box, temp)); + + public static bool before_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.before_tspatial_stbox(temp, box)); + + public static bool before_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.before_tspatial_tspatial(temp1, temp2)); + + public static bool below_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.below_stbox_tspatial(box, temp)); + + public static bool below_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.below_tspatial_stbox(temp, box)); + + public static bool below_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.below_tspatial_tspatial(temp1, temp2)); + + public static bool front_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.front_stbox_tspatial(box, temp)); + + public static bool front_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.front_tspatial_stbox(temp, box)); + + public static bool front_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.front_tspatial_tspatial(temp1, temp2)); + + public static bool left_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.left_stbox_tspatial(box, temp)); + + public static bool left_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.left_tspatial_stbox(temp, box)); + + public static bool left_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.left_tspatial_tspatial(temp1, temp2)); + + public static bool overabove_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overabove_stbox_tspatial(box, temp)); + + public static bool overabove_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overabove_tspatial_stbox(temp, box)); + + public static bool overabove_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overabove_tspatial_tspatial(temp1, temp2)); + + public static bool overafter_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overafter_stbox_tspatial(box, temp)); + + public static bool overafter_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overafter_tspatial_stbox(temp, box)); + + public static bool overafter_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overafter_tspatial_tspatial(temp1, temp2)); + + public static bool overback_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overback_stbox_tspatial(box, temp)); + + public static bool overback_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overback_tspatial_stbox(temp, box)); + + public static bool overback_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overback_tspatial_tspatial(temp1, temp2)); + + public static bool overbefore_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overbefore_stbox_tspatial(box, temp)); + + public static bool overbefore_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overbefore_tspatial_stbox(temp, box)); + + public static bool overbefore_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overbefore_tspatial_tspatial(temp1, temp2)); + + public static bool overbelow_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overbelow_stbox_tspatial(box, temp)); + + public static bool overbelow_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overbelow_tspatial_stbox(temp, box)); + + public static bool overbelow_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overbelow_tspatial_tspatial(temp1, temp2)); + + public static bool overfront_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overfront_stbox_tspatial(box, temp)); + + public static bool overfront_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overfront_tspatial_stbox(temp, box)); + + public static bool overfront_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overfront_tspatial_tspatial(temp1, temp2)); + + public static bool overleft_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overleft_stbox_tspatial(box, temp)); + + public static bool overleft_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overleft_tspatial_stbox(temp, box)); + + public static bool overleft_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overleft_tspatial_tspatial(temp1, temp2)); + + public static bool overright_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.overright_stbox_tspatial(box, temp)); + + public static bool overright_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.overright_tspatial_stbox(temp, box)); + + public static bool overright_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.overright_tspatial_tspatial(temp1, temp2)); + + public static bool right_stbox_tspatial(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.right_stbox_tspatial(box, temp)); + + public static bool right_tspatial_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.right_tspatial_stbox(temp, box)); + + public static bool right_tspatial_tspatial(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.right_tspatial_tspatial(temp1, temp2)); + + public static int acontains_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.acontains_geo_tgeo(gs, temp)); + + public static int acontains_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.acontains_tgeo_geo(temp, gs)); + + public static int acontains_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.acontains_tgeo_tgeo(temp1, temp2)); + + public static int adisjoint_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.adisjoint_tgeo_geo(temp, gs)); + + public static int adisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.adisjoint_tgeo_tgeo(temp1, temp2)); + + public static int adwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist) + => SafeExecution(() => MEOSExternalFunctions.adwithin_tgeo_geo(temp, gs, dist)); + + public static int adwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist) + => SafeExecution(() => MEOSExternalFunctions.adwithin_tgeo_tgeo(temp1, temp2, dist)); + + public static int aintersects_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.aintersects_tgeo_geo(temp, gs)); + + public static int aintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.aintersects_tgeo_tgeo(temp1, temp2)); + + public static int atouches_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.atouches_tgeo_geo(temp, gs)); + + public static int atouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.atouches_tgeo_tgeo(temp1, temp2)); + + public static int atouches_tpoint_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.atouches_tpoint_geo(temp, gs)); + + public static int econtains_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.econtains_geo_tgeo(gs, temp)); + + public static int econtains_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.econtains_tgeo_geo(temp, gs)); + + public static int econtains_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.econtains_tgeo_tgeo(temp1, temp2)); + + public static int ecovers_geo_tgeo(IntPtr gs, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ecovers_geo_tgeo(gs, temp)); + + public static int ecovers_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.ecovers_tgeo_geo(temp, gs)); + + public static int ecovers_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ecovers_tgeo_tgeo(temp1, temp2)); + + public static int edisjoint_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.edisjoint_tgeo_geo(temp, gs)); + + public static int edisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.edisjoint_tgeo_tgeo(temp1, temp2)); + + public static int edwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist) + => SafeExecution(() => MEOSExternalFunctions.edwithin_tgeo_geo(temp, gs, dist)); + + public static int edwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist) + => SafeExecution(() => MEOSExternalFunctions.edwithin_tgeo_tgeo(temp1, temp2, dist)); + + public static int eintersects_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.eintersects_tgeo_geo(temp, gs)); + + public static int eintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.eintersects_tgeo_tgeo(temp1, temp2)); + + public static int etouches_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.etouches_tgeo_geo(temp, gs)); + + public static int etouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.etouches_tgeo_tgeo(temp1, temp2)); + + public static int etouches_tpoint_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.etouches_tpoint_geo(temp, gs)); + + public static IntPtr tcontains_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tcontains_geo_tgeo(gs, temp, restr, atvalue)); + + public static IntPtr tcontains_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tcontains_tgeo_geo(temp, gs, restr, atvalue)); + + public static IntPtr tcontains_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tcontains_tgeo_tgeo(temp1, temp2, restr, atvalue)); + + public static IntPtr tcovers_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tcovers_geo_tgeo(gs, temp, restr, atvalue)); + + public static IntPtr tcovers_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tcovers_tgeo_geo(temp, gs, restr, atvalue)); + + public static IntPtr tcovers_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tcovers_tgeo_tgeo(temp1, temp2, restr, atvalue)); + + public static IntPtr tdisjoint_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_geo_tgeo(gs, temp, restr, atvalue)); + + public static IntPtr tdisjoint_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tgeo_geo(temp, gs, restr, atvalue)); + + public static IntPtr tdisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tdisjoint_tgeo_tgeo(temp1, temp2, restr, atvalue)); + + public static IntPtr tdwithin_geo_tgeo(IntPtr gs, IntPtr temp, double dist, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_geo_tgeo(gs, temp, dist, restr, atvalue)); + + public static IntPtr tdwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_tgeo_geo(temp, gs, dist, restr, atvalue)); + + public static IntPtr tdwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tdwithin_tgeo_tgeo(temp1, temp2, dist, restr, atvalue)); + + public static IntPtr tintersects_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tintersects_geo_tgeo(gs, temp, restr, atvalue)); + + public static IntPtr tintersects_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tintersects_tgeo_geo(temp, gs, restr, atvalue)); + + public static IntPtr tintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.tintersects_tgeo_tgeo(temp1, temp2, restr, atvalue)); + + public static IntPtr ttouches_geo_tgeo(IntPtr gs, IntPtr temp, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.ttouches_geo_tgeo(gs, temp, restr, atvalue)); + + public static IntPtr ttouches_tgeo_geo(IntPtr temp, IntPtr gs, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.ttouches_tgeo_geo(temp, gs, restr, atvalue)); + + public static IntPtr ttouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2, bool restr, bool atvalue) + => SafeExecution(() => MEOSExternalFunctions.ttouches_tgeo_tgeo(temp1, temp2, restr, atvalue)); + + public static IntPtr tdistance_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tgeo_geo(temp, gs)); + + public static IntPtr tdistance_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tgeo_tgeo(temp1, temp2)); + + public static double nad_stbox_geo(IntPtr box, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nad_stbox_geo(box, gs)); + + public static double nad_stbox_stbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.nad_stbox_stbox(box1, box2)); + + public static double nad_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nad_tgeo_geo(temp, gs)); + + public static double nad_tgeo_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_tgeo_stbox(temp, box)); + + public static double nad_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_tgeo_tgeo(temp1, temp2)); + + public static IntPtr nai_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nai_tgeo_geo(temp, gs)); + + public static IntPtr nai_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nai_tgeo_tgeo(temp1, temp2)); + + public static IntPtr shortestline_tgeo_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tgeo_geo(temp, gs)); + + public static IntPtr shortestline_tgeo_tgeo(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tgeo_tgeo(temp1, temp2)); + + public static IntPtr tpoint_tcentroid_finalfn(IntPtr state) + => SafeExecution(() => MEOSExternalFunctions.tpoint_tcentroid_finalfn(state)); + + public static IntPtr tpoint_tcentroid_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tpoint_tcentroid_transfn(state, temp)); + + public static IntPtr tspatial_extent_transfn(IntPtr box, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tspatial_extent_transfn(box, temp)); + + public static IntPtr stbox_get_space_tile(IntPtr point, double xsize, double ysize, double zsize, IntPtr sorigin) + => SafeExecution(() => MEOSExternalFunctions.stbox_get_space_tile(point, xsize, ysize, zsize, sorigin)); + + public static IntPtr stbox_get_space_time_tile(IntPtr point, long t, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin) + => SafeExecution(() => MEOSExternalFunctions.stbox_get_space_time_tile(point, t, xsize, ysize, zsize, duration, sorigin, torigin)); + + public static IntPtr stbox_get_time_tile(long t, IntPtr duration, long torigin) + => SafeExecution(() => MEOSExternalFunctions.stbox_get_time_tile(t, duration, torigin)); + + public static IntPtr stbox_space_tiles(IntPtr bounds, double xsize, double ysize, double zsize, IntPtr sorigin, bool border_inc, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.stbox_space_tiles(bounds, xsize, ysize, zsize, sorigin, border_inc, count)); + + public static IntPtr stbox_space_time_tiles(IntPtr bounds, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, bool border_inc, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.stbox_space_time_tiles(bounds, xsize, ysize, zsize, duration, sorigin, torigin, border_inc, count)); + + public static IntPtr stbox_time_tiles(IntPtr bounds, IntPtr duration, long torigin, bool border_inc, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.stbox_time_tiles(bounds, duration, torigin, border_inc, count)); + + public static (IntPtr[], IntPtr[]) tgeo_space_split(IntPtr temp, double xsize, double ysize, double zsize, IntPtr sorigin, bool bitmatrix, bool border_inc) + { + IntPtr _out_space_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _count_count = Marshal.AllocHGlobal(sizeof(int)); + try + { + IntPtr _resultPtr = SafeExecution(() => MEOSExternalFunctions.tgeo_space_split(temp, xsize, ysize, zsize, sorigin, bitmatrix, border_inc, _out_space_bins, _count_count)); + int _n = Marshal.ReadInt32(_count_count); + IntPtr[] _resultArr = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _resultArr[_i] = Marshal.ReadIntPtr(_resultPtr, _i * IntPtr.Size); } + IntPtr __out_space_bins_arr = Marshal.ReadIntPtr(_out_space_bins); + IntPtr[] __out_space_bins_out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { __out_space_bins_out[_i] = Marshal.ReadIntPtr(__out_space_bins_arr, _i * IntPtr.Size); } + return (_resultArr, __out_space_bins_out); + } + finally + { + Marshal.FreeHGlobal(_out_space_bins); + Marshal.FreeHGlobal(_count_count); + } + } + + public static (IntPtr[], IntPtr[], long[]) tgeo_space_time_split(IntPtr temp, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, bool bitmatrix, bool border_inc) + { + IntPtr _out_space_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _out_time_bins = Marshal.AllocHGlobal(IntPtr.Size); + IntPtr _count_count = Marshal.AllocHGlobal(sizeof(int)); + try + { + IntPtr _resultPtr = SafeExecution(() => MEOSExternalFunctions.tgeo_space_time_split(temp, xsize, ysize, zsize, duration, sorigin, torigin, bitmatrix, border_inc, _out_space_bins, _out_time_bins, _count_count)); + int _n = Marshal.ReadInt32(_count_count); + IntPtr[] _resultArr = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _resultArr[_i] = Marshal.ReadIntPtr(_resultPtr, _i * IntPtr.Size); } + IntPtr __out_space_bins_arr = Marshal.ReadIntPtr(_out_space_bins); + IntPtr[] __out_space_bins_out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { __out_space_bins_out[_i] = Marshal.ReadIntPtr(__out_space_bins_arr, _i * IntPtr.Size); } + IntPtr __out_time_bins_arr = Marshal.ReadIntPtr(_out_time_bins); + long[] __out_time_bins_out = new long[_n]; + Marshal.Copy(__out_time_bins_arr, __out_time_bins_out, 0, _n); + return (_resultArr, __out_space_bins_out, __out_time_bins_out); + } + finally + { + Marshal.FreeHGlobal(_out_space_bins); + Marshal.FreeHGlobal(_out_time_bins); + Marshal.FreeHGlobal(_count_count); + } + } + + public static IntPtr geo_cluster_kmeans(IntPtr geoms, uint ngeoms, uint k) + => SafeExecution(() => MEOSExternalFunctions.geo_cluster_kmeans(geoms, ngeoms, k)); + + public static IntPtr geo_cluster_dbscan(IntPtr geoms, uint ngeoms, double tolerance, int minpoints, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.geo_cluster_dbscan(geoms, ngeoms, tolerance, minpoints, count)); + + public static IntPtr geo_cluster_intersecting(IntPtr geoms, uint ngeoms, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.geo_cluster_intersecting(geoms, ngeoms, count)); + + public static IntPtr geo_cluster_within(IntPtr geoms, uint ngeoms, double tolerance, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.geo_cluster_within(geoms, ngeoms, tolerance, count)); + + public static IntPtr gsl_get_generation_rng() + => SafeExecution(() => MEOSExternalFunctions.gsl_get_generation_rng()); + + public static IntPtr gsl_get_aggregation_rng() + => SafeExecution(() => MEOSExternalFunctions.gsl_get_aggregation_rng()); + + public static ulong datum_ceil(ulong d) + => SafeExecution(() => MEOSExternalFunctions.datum_ceil(d)); + + public static ulong datum_degrees(ulong d, ulong normalize) + => SafeExecution(() => MEOSExternalFunctions.datum_degrees(d, normalize)); + + public static ulong datum_float_round(ulong value, ulong size) + => SafeExecution(() => MEOSExternalFunctions.datum_float_round(value, size)); + + public static ulong datum_floor(ulong d) + => SafeExecution(() => MEOSExternalFunctions.datum_floor(d)); + + public static uint datum_hash(ulong d, int basetype) + => SafeExecution(() => MEOSExternalFunctions.datum_hash(d, basetype)); + + public static ulong datum_hash_extended(ulong d, int basetype, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.datum_hash_extended(d, basetype, seed)); + + public static ulong datum_radians(ulong d) + => SafeExecution(() => MEOSExternalFunctions.datum_radians(d)); + + public static void floatspan_round_set(IntPtr s, int maxdd, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.floatspan_round_set(s, maxdd, result)); + + public static IntPtr set_in(string str, int basetype) + => SafeExecution(() => MEOSExternalFunctions.set_in(str, basetype)); + + public static string set_out(IntPtr s, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.set_out(s, maxdd)); + + public static IntPtr span_in(string str, int spantype) + => SafeExecution(() => MEOSExternalFunctions.span_in(str, spantype)); + + public static string span_out(IntPtr s, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.span_out(s, maxdd)); + + public static IntPtr spanset_in(string str, int spantype) + => SafeExecution(() => MEOSExternalFunctions.spanset_in(str, spantype)); + + public static string spanset_out(IntPtr ss, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.spanset_out(ss, maxdd)); + + public static IntPtr set_make(IntPtr values, int count, int basetype, bool order) + => SafeExecution(() => MEOSExternalFunctions.set_make(values, count, basetype, order)); + + public static IntPtr set_make_exp(IntPtr values, int count, int maxcount, int basetype, bool order) + => SafeExecution(() => MEOSExternalFunctions.set_make_exp(values, count, maxcount, basetype, order)); + + public static IntPtr set_make_free(IntPtr values, int count, int basetype, bool order) + => SafeExecution(() => MEOSExternalFunctions.set_make_free(values, count, basetype, order)); + + public static IntPtr span_make(ulong lower, ulong upper, bool lower_inc, bool upper_inc, int basetype) + => SafeExecution(() => MEOSExternalFunctions.span_make(lower, upper, lower_inc, upper_inc, basetype)); + + public static void span_set(ulong lower, ulong upper, bool lower_inc, bool upper_inc, int basetype, int spantype, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.span_set(lower, upper, lower_inc, upper_inc, basetype, spantype, s)); + + public static IntPtr spanset_make_exp(IntPtr spans, int count, int maxcount, bool normalize, bool order) + => SafeExecution(() => MEOSExternalFunctions.spanset_make_exp(spans, count, maxcount, normalize, order)); + + public static IntPtr spanset_make_free(IntPtr spans, int count, bool normalize, bool order) + => SafeExecution(() => MEOSExternalFunctions.spanset_make_free(spans, count, normalize, order)); + + public static IntPtr set_span(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_span(s)); + + public static IntPtr set_spanset(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_spanset(s)); + + public static void value_set_span(ulong value, int basetype, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.value_set_span(value, basetype, s)); + + public static IntPtr value_set(ulong d, int basetype) + => SafeExecution(() => MEOSExternalFunctions.value_set(d, basetype)); + + public static IntPtr value_span(ulong d, int basetype) + => SafeExecution(() => MEOSExternalFunctions.value_span(d, basetype)); + + public static IntPtr value_spanset(ulong d, int basetype) + => SafeExecution(() => MEOSExternalFunctions.value_spanset(d, basetype)); + + public static ulong numspan_width(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.numspan_width(s)); + + public static ulong numspanset_width(IntPtr ss, bool boundspan) + => SafeExecution(() => MEOSExternalFunctions.numspanset_width(ss, boundspan)); + + public static ulong set_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_end_value(s)); + + public static int set_mem_size(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_mem_size(s)); + + public static void set_set_subspan(IntPtr s, int minidx, int maxidx, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.set_set_subspan(s, minidx, maxidx, result)); + + public static void set_set_span(IntPtr s, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.set_set_span(s, result)); + + public static ulong set_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_start_value(s)); + + public static bool set_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.set_value_n(s, n, result)); + + public static IntPtr set_vals(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_vals(s)); + + public static IntPtr set_values(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_values(s)); + + public static ulong spanset_lower(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_lower(ss)); + + public static int spanset_mem_size(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_mem_size(ss)); + + public static IntPtr[] spanset_sps(IntPtr ss) + { + int _n = (int)MEOSExposedFunctions.spanset_num_spans(ss); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.spanset_sps(ss)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static ulong spanset_upper(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_upper(ss)); + + public static void datespan_set_tstzspan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.datespan_set_tstzspan(s1, s2)); + + public static void floatspan_set_intspan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.floatspan_set_intspan(s1, s2)); + + public static void intspan_set_floatspan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.intspan_set_floatspan(s1, s2)); + + public static IntPtr numset_shift_scale(IntPtr s, ulong shift, ulong width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.numset_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr numspan_expand(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.numspan_expand(s, value)); + + public static IntPtr numspan_shift_scale(IntPtr s, ulong shift, ulong width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.numspan_shift_scale(s, shift, width, hasshift, haswidth)); + + public static IntPtr numspanset_shift_scale(IntPtr ss, ulong shift, ulong width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.numspanset_shift_scale(ss, shift, width, hasshift, haswidth)); + + public static IntPtr set_compact(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.set_compact(s)); + + public static void span_expand(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.span_expand(s1, s2)); + + public static IntPtr spanset_compact(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.spanset_compact(ss)); + + public static IntPtr tbox_expand_value(IntPtr box, ulong value, int basetyp) + => SafeExecution(() => MEOSExternalFunctions.tbox_expand_value(box, value, basetyp)); + + public static IntPtr textcat_textset_text_common(IntPtr s, IntPtr txt, bool invert) + => SafeExecution(() => MEOSExternalFunctions.textcat_textset_text_common(s, txt, invert)); + + public static void tstzspan_set_datespan(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_set_datespan(s1, s2)); + + public static bool adjacent_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.adjacent_span_value(s, value)); + + public static bool adjacent_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.adjacent_spanset_value(ss, value)); + + public static bool adjacent_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.adjacent_value_spanset(value, ss)); + + public static bool contained_value_set(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_value_set(value, s)); + + public static bool contained_value_span(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_value_span(value, s)); + + public static bool contained_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.contained_value_spanset(value, ss)); + + public static bool contains_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.contains_set_value(s, value)); + + public static bool contains_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.contains_span_value(s, value)); + + public static bool contains_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.contains_spanset_value(ss, value)); + + public static bool ovadj_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.ovadj_span_span(s1, s2)); + + public static bool left_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.left_set_value(s, value)); + + public static bool left_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.left_span_value(s, value)); + + public static bool left_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.left_spanset_value(ss, value)); + + public static bool left_value_set(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_value_set(value, s)); + + public static bool left_value_span(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.left_value_span(value, s)); + + public static bool left_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.left_value_spanset(value, ss)); + + public static bool lfnadj_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.lfnadj_span_span(s1, s2)); + + public static bool overleft_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.overleft_set_value(s, value)); + + public static bool overleft_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.overleft_span_value(s, value)); + + public static bool overleft_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.overleft_spanset_value(ss, value)); + + public static bool overleft_value_set(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_value_set(value, s)); + + public static bool overleft_value_span(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overleft_value_span(value, s)); + + public static bool overleft_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overleft_value_spanset(value, ss)); + + public static bool overright_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.overright_set_value(s, value)); + + public static bool overright_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.overright_span_value(s, value)); + + public static bool overright_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.overright_spanset_value(ss, value)); + + public static bool overright_value_set(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_value_set(value, s)); + + public static bool overright_value_span(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.overright_value_span(value, s)); + + public static bool overright_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.overright_value_spanset(value, ss)); + + public static bool right_value_set(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_value_set(value, s)); + + public static bool right_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.right_set_value(s, value)); + + public static bool right_value_span(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.right_value_span(value, s)); + + public static bool right_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.right_value_spanset(value, ss)); + + public static bool right_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.right_span_value(s, value)); + + public static bool right_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.right_spanset_value(ss, value)); + + public static bool bbox_type(int bboxtype) + => SafeExecution(() => MEOSExternalFunctions.bbox_type(bboxtype)); + + public static ulong bbox_get_size(int bboxtype) + => SafeExecution(() => MEOSExternalFunctions.bbox_get_size(bboxtype)); + + public static int bbox_max_dims(int bboxtype) + => SafeExecution(() => MEOSExternalFunctions.bbox_max_dims(bboxtype)); + + public static bool temporal_bbox_eq(IntPtr box1, IntPtr box2, int temptype) + => SafeExecution(() => MEOSExternalFunctions.temporal_bbox_eq(box1, box2, temptype)); + + public static int temporal_bbox_cmp(IntPtr box1, IntPtr box2, int temptype) + => SafeExecution(() => MEOSExternalFunctions.temporal_bbox_cmp(box1, box2, temptype)); + + public static void bbox_union_span_span(IntPtr s1, IntPtr s2, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.bbox_union_span_span(s1, s2, result)); + + public static bool inter_span_span(IntPtr s1, IntPtr s2, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.inter_span_span(s1, s2, result)); + + public static IntPtr intersection_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_value(s, value)); + + public static IntPtr intersection_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.intersection_span_value(s, value)); + + public static IntPtr intersection_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.intersection_spanset_value(ss, value)); + + public static IntPtr intersection_value_set(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_value_set(value, s)); + + public static IntPtr intersection_value_span(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_value_span(value, s)); + + public static IntPtr intersection_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.intersection_value_spanset(value, ss)); + + public static int mi_span_span(IntPtr s1, IntPtr s2, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.mi_span_span(s1, s2, result)); + + public static IntPtr minus_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.minus_set_value(s, value)); + + public static IntPtr minus_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.minus_span_value(s, value)); + + public static IntPtr minus_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.minus_spanset_value(ss, value)); + + public static IntPtr minus_value_set(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_value_set(value, s)); + + public static IntPtr minus_value_span(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_value_span(value, s)); + + public static IntPtr minus_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.minus_value_spanset(value, ss)); + + public static IntPtr super_union_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.super_union_span_span(s1, s2)); + + public static IntPtr union_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.union_set_value(s, value)); + + public static IntPtr union_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.union_span_value(s, value)); + + public static IntPtr union_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.union_spanset_value(ss, value)); + + public static IntPtr union_value_set(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_value_set(value, s)); + + public static IntPtr union_value_span(ulong value, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_value_span(value, s)); + + public static IntPtr union_value_spanset(ulong value, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.union_value_spanset(value, ss)); + + public static ulong distance_set_set(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_set_set(s1, s2)); + + public static ulong distance_set_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.distance_set_value(s, value)); + + public static ulong distance_span_span(IntPtr s1, IntPtr s2) + => SafeExecution(() => MEOSExternalFunctions.distance_span_span(s1, s2)); + + public static ulong distance_span_value(IntPtr s, ulong value) + => SafeExecution(() => MEOSExternalFunctions.distance_span_value(s, value)); + + public static ulong distance_spanset_span(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.distance_spanset_span(ss, s)); + + public static ulong distance_spanset_spanset(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.distance_spanset_spanset(ss1, ss2)); + + public static ulong distance_spanset_value(IntPtr ss, ulong value) + => SafeExecution(() => MEOSExternalFunctions.distance_spanset_value(ss, value)); + + public static ulong distance_value_value(ulong l, ulong r, int basetype) + => SafeExecution(() => MEOSExternalFunctions.distance_value_value(l, r, basetype)); + + public static IntPtr spanbase_extent_transfn(IntPtr state, ulong value, int basetype) + => SafeExecution(() => MEOSExternalFunctions.spanbase_extent_transfn(state, value, basetype)); + + public static IntPtr value_union_transfn(IntPtr state, ulong value, int basetype) + => SafeExecution(() => MEOSExternalFunctions.value_union_transfn(state, value, basetype)); + + public static IntPtr number_tstzspan_to_tbox(ulong d, int basetype, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.number_tstzspan_to_tbox(d, basetype, s)); + + public static IntPtr number_timestamptz_to_tbox(ulong d, int basetype, long t) + => SafeExecution(() => MEOSExternalFunctions.number_timestamptz_to_tbox(d, basetype, t)); + + public static void tbox_set(IntPtr s, IntPtr p, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tbox_set(s, p, box)); + + public static void float_set_tbox(double d, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.float_set_tbox(d, box)); + + public static void int_set_tbox(int i, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.int_set_tbox(i, box)); + + public static void number_set_tbox(ulong d, int basetype, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.number_set_tbox(d, basetype, box)); + + public static IntPtr number_tbox(ulong value, int basetype) + => SafeExecution(() => MEOSExternalFunctions.number_tbox(value, basetype)); + + public static void numset_set_tbox(IntPtr s, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.numset_set_tbox(s, box)); + + public static void numspan_set_tbox(IntPtr span, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.numspan_set_tbox(span, box)); + + public static void timestamptz_set_tbox(long t, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.timestamptz_set_tbox(t, box)); + + public static void tstzset_set_tbox(IntPtr s, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tstzset_set_tbox(s, box)); + + public static void tstzspan_set_tbox(IntPtr s, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_set_tbox(s, box)); + + public static IntPtr tbox_shift_scale_value(IntPtr box, ulong shift, ulong width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.tbox_shift_scale_value(box, shift, width, hasshift, haswidth)); + + public static void tbox_expand(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.tbox_expand(box1, box2)); + + public static bool inter_tbox_tbox(IntPtr box1, IntPtr box2, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.inter_tbox_tbox(box1, box2, result)); + + public static IntPtr tboolinst_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.tboolinst_from_mfjson(mfjson)); + + public static IntPtr tboolinst_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tboolinst_in(str)); + + public static IntPtr tboolseq_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.tboolseq_from_mfjson(mfjson)); + + public static IntPtr tboolseq_in(string str, int interp) + => SafeExecution(() => MEOSExternalFunctions.tboolseq_in(str, interp)); + + public static IntPtr tboolseqset_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.tboolseqset_from_mfjson(mfjson)); + + public static IntPtr tboolseqset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tboolseqset_in(str)); + + public static IntPtr temporal_in(string str, int temptype) + => SafeExecution(() => MEOSExternalFunctions.temporal_in(str, temptype)); + + public static string temporal_out(IntPtr temp, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.temporal_out(temp, maxdd)); + + public static IntPtr temparr_out(IntPtr temparr, int count, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.temparr_out(temparr, count, maxdd)); + + public static IntPtr tfloatinst_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.tfloatinst_from_mfjson(mfjson)); + + public static IntPtr tfloatinst_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tfloatinst_in(str)); + + public static IntPtr tfloatseq_from_mfjson(IntPtr mfjson, int interp) + => SafeExecution(() => MEOSExternalFunctions.tfloatseq_from_mfjson(mfjson, interp)); + + public static IntPtr tfloatseq_in(string str, int interp) + => SafeExecution(() => MEOSExternalFunctions.tfloatseq_in(str, interp)); + + public static IntPtr tfloatseqset_from_mfjson(IntPtr mfjson, int interp) + => SafeExecution(() => MEOSExternalFunctions.tfloatseqset_from_mfjson(mfjson, interp)); + + public static IntPtr tfloatseqset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tfloatseqset_in(str)); + + public static IntPtr tinstant_from_mfjson(IntPtr mfjson, bool spatial, int srid, int temptype) + => SafeExecution(() => MEOSExternalFunctions.tinstant_from_mfjson(mfjson, spatial, srid, temptype)); + + public static IntPtr tinstant_in(string str, int temptype) + => SafeExecution(() => MEOSExternalFunctions.tinstant_in(str, temptype)); + + public static string tinstant_out(IntPtr inst, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tinstant_out(inst, maxdd)); + + public static IntPtr tintinst_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.tintinst_from_mfjson(mfjson)); + + public static IntPtr tintinst_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tintinst_in(str)); + + public static IntPtr tintseq_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.tintseq_from_mfjson(mfjson)); + + public static IntPtr tintseq_in(string str, int interp) + => SafeExecution(() => MEOSExternalFunctions.tintseq_in(str, interp)); + + public static IntPtr tintseqset_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.tintseqset_from_mfjson(mfjson)); + + public static IntPtr tintseqset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tintseqset_in(str)); + + public static IntPtr tsequence_from_mfjson(IntPtr mfjson, bool spatial, int srid, int temptype, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequence_from_mfjson(mfjson, spatial, srid, temptype, interp)); + + public static IntPtr tsequence_in(string str, int temptype, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequence_in(str, temptype, interp)); + + public static string tsequence_out(IntPtr seq, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tsequence_out(seq, maxdd)); + + public static IntPtr tsequenceset_from_mfjson(IntPtr mfjson, bool spatial, int srid, int temptype, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_from_mfjson(mfjson, spatial, srid, temptype, interp)); + + public static IntPtr tsequenceset_in(string str, int temptype, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_in(str, temptype, interp)); + + public static string tsequenceset_out(IntPtr ss, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_out(ss, maxdd)); + + public static IntPtr ttextinst_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.ttextinst_from_mfjson(mfjson)); + + public static IntPtr ttextinst_in(string str) + => SafeExecution(() => MEOSExternalFunctions.ttextinst_in(str)); + + public static IntPtr ttextseq_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.ttextseq_from_mfjson(mfjson)); + + public static IntPtr ttextseq_in(string str, int interp) + => SafeExecution(() => MEOSExternalFunctions.ttextseq_in(str, interp)); + + public static IntPtr ttextseqset_from_mfjson(IntPtr mfjson) + => SafeExecution(() => MEOSExternalFunctions.ttextseqset_from_mfjson(mfjson)); + + public static IntPtr ttextseqset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.ttextseqset_in(str)); + + public static IntPtr temporal_from_mfjson(string mfjson, int temptype) + => SafeExecution(() => MEOSExternalFunctions.temporal_from_mfjson(mfjson, temptype)); + + public static IntPtr temporal_from_base_temp(ulong value, int temptype, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_from_base_temp(value, temptype, temp)); + + public static IntPtr tinstant_copy(IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tinstant_copy(inst)); + + public static IntPtr tinstant_make(ulong value, int temptype, long t) + => SafeExecution(() => MEOSExternalFunctions.tinstant_make(value, temptype, t)); + + public static IntPtr tinstant_make_free(ulong value, int temptype, long t) + => SafeExecution(() => MEOSExternalFunctions.tinstant_make_free(value, temptype, t)); + + public static IntPtr tsequence_copy(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_copy(seq)); + + public static IntPtr tsequence_from_base_temp(ulong value, int temptype, IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_from_base_temp(value, temptype, seq)); + + public static IntPtr tsequence_from_base_tstzset(ulong value, int temptype, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tsequence_from_base_tstzset(value, temptype, s)); + + public static IntPtr tsequence_from_base_tstzspan(ulong value, int temptype, IntPtr s, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequence_from_base_tstzspan(value, temptype, s, interp)); + + public static IntPtr tsequence_make_exp(IntPtr instants, int count, int maxcount, bool lower_inc, bool upper_inc, int interp, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.tsequence_make_exp(instants, count, maxcount, lower_inc, upper_inc, interp, normalize)); + + public static IntPtr tsequence_make_free(IntPtr instants, int count, bool lower_inc, bool upper_inc, int interp, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.tsequence_make_free(instants, count, lower_inc, upper_inc, interp, normalize)); + + public static IntPtr tsequenceset_copy(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_copy(ss)); + + public static IntPtr tseqsetarr_to_tseqset(IntPtr seqsets, int count, int totalseqs) + => SafeExecution(() => MEOSExternalFunctions.tseqsetarr_to_tseqset(seqsets, count, totalseqs)); + + public static IntPtr tsequenceset_from_base_temp(ulong value, int temptype, IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_from_base_temp(value, temptype, ss)); + + public static IntPtr tsequenceset_from_base_tstzspanset(ulong value, int temptype, IntPtr ss, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_from_base_tstzspanset(value, temptype, ss, interp)); + + public static IntPtr tsequenceset_make_exp(IntPtr sequences, int count, int maxcount, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_make_exp(sequences, count, maxcount, normalize)); + + public static IntPtr tsequenceset_make_free(IntPtr sequences, int count, bool normalize) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_make_free(sequences, count, normalize)); + + public static void temporal_set_tstzspan(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.temporal_set_tstzspan(temp, s)); + + public static void tinstant_set_tstzspan(IntPtr inst, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tinstant_set_tstzspan(inst, s)); + + public static void tnumber_set_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tnumber_set_tbox(temp, box)); + + public static void tnumberinst_set_tbox(IntPtr inst, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tnumberinst_set_tbox(inst, box)); + + public static void tnumberseq_set_tbox(IntPtr seq, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_set_tbox(seq, box)); + + public static void tnumberseqset_set_tbox(IntPtr ss, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_set_tbox(ss, box)); + + public static void tsequence_set_tstzspan(IntPtr seq, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tsequence_set_tstzspan(seq, s)); + + public static void tsequenceset_set_tstzspan(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_set_tstzspan(ss, s)); + + public static IntPtr temporal_end_inst(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_end_inst(temp)); + + public static ulong temporal_end_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_end_value(temp)); + + public static IntPtr temporal_inst_n(IntPtr temp, int n) + => SafeExecution(() => MEOSExternalFunctions.temporal_inst_n(temp, n)); + + public static IntPtr temporal_insts_p(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_insts_p(temp, count)); + + public static IntPtr temporal_max_inst_p(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_max_inst_p(temp)); + + public static ulong temporal_max_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_max_value(temp)); + + public static ulong temporal_mem_size(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_mem_size(temp)); + + public static IntPtr temporal_min_inst_p(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_min_inst_p(temp)); + + public static ulong temporal_min_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_min_value(temp)); + + public static IntPtr temporal_sequences_p(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_sequences_p(temp, count)); + + public static void temporal_set_bbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.temporal_set_bbox(temp, box)); + + public static IntPtr temporal_start_inst(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_start_inst(temp)); + + public static ulong temporal_start_value(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_start_value(temp)); + + public static IntPtr temporal_values_p(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_values_p(temp, count)); + + public static bool temporal_value_n(IntPtr temp, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.temporal_value_n(temp, n, result)); + + public static IntPtr temporal_values(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.temporal_values(temp, count)); + + public static uint tinstant_hash(IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tinstant_hash(inst)); + + public static IntPtr tinstant_insts(IntPtr inst, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tinstant_insts(inst, count)); + + public static void tinstant_set_bbox(IntPtr inst, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tinstant_set_bbox(inst, box)); + + public static IntPtr tinstant_time(IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tinstant_time(inst)); + + public static IntPtr tinstant_timestamps(IntPtr inst, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tinstant_timestamps(inst, count)); + + public static ulong tinstant_value_p(IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tinstant_value_p(inst)); + + public static ulong tinstant_value(IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tinstant_value(inst)); + + public static bool tinstant_value_at_timestamptz(IntPtr inst, long t, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tinstant_value_at_timestamptz(inst, t, result)); + + public static IntPtr tinstant_values_p(IntPtr inst, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tinstant_values_p(inst, count)); + + public static void tnumber_set_span(IntPtr temp, IntPtr span) + => SafeExecution(() => MEOSExternalFunctions.tnumber_set_span(temp, span)); + + public static IntPtr tnumberinst_valuespans(IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tnumberinst_valuespans(inst)); + + public static double tnumberseq_avg_val(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_avg_val(seq)); + + public static IntPtr tnumberseq_valuespans(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_valuespans(seq)); + + public static double tnumberseqset_avg_val(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_avg_val(ss)); + + public static IntPtr tnumberseqset_valuespans(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_valuespans(ss)); + + public static IntPtr tsequence_duration(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_duration(seq)); + + public static long tsequence_end_timestamptz(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_end_timestamptz(seq)); + + public static uint tsequence_hash(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_hash(seq)); + + public static IntPtr[] tsequence_insts_p(IntPtr seq) + { + int _n = (int)MEOSExposedFunctions.temporal_num_instants(seq); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.tsequence_insts_p(seq)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static IntPtr tsequence_max_inst_p(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_max_inst_p(seq)); + + public static ulong tsequence_max_val(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_max_val(seq)); + + public static IntPtr tsequence_min_inst_p(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_min_inst_p(seq)); + + public static ulong tsequence_min_val(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_min_val(seq)); + + public static IntPtr tsequence_segments(IntPtr seq, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tsequence_segments(seq, count)); + + public static IntPtr tsequence_seqs(IntPtr seq, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tsequence_seqs(seq, count)); + + public static long tsequence_start_timestamptz(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_start_timestamptz(seq)); + + public static IntPtr tsequence_time(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_time(seq)); + + public static IntPtr tsequence_timestamps(IntPtr seq, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tsequence_timestamps(seq, count)); + + public static bool tsequence_value_at_timestamptz(IntPtr seq, long t, bool strict, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tsequence_value_at_timestamptz(seq, t, strict, result)); + + public static IntPtr tsequence_values_p(IntPtr seq, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tsequence_values_p(seq, count)); + + public static IntPtr tsequenceset_duration(IntPtr ss, bool boundspan) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_duration(ss, boundspan)); + + public static long tsequenceset_end_timestamptz(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_end_timestamptz(ss)); + + public static uint tsequenceset_hash(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_hash(ss)); + + public static IntPtr tsequenceset_inst_n(IntPtr ss, int n) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_inst_n(ss, n)); + + public static IntPtr[] tsequenceset_insts_p(IntPtr ss) + { + int _n = (int)MEOSExposedFunctions.tsequenceset_num_instants(ss); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.tsequenceset_insts_p(ss)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static IntPtr tsequenceset_max_inst_p(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_max_inst_p(ss)); + + public static ulong tsequenceset_max_val(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_max_val(ss)); + + public static IntPtr tsequenceset_min_inst_p(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_min_inst_p(ss)); + + public static ulong tsequenceset_min_val(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_min_val(ss)); + + public static int tsequenceset_num_instants(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_num_instants(ss)); + + public static int tsequenceset_num_timestamps(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_num_timestamps(ss)); + + public static IntPtr tsequenceset_segments(IntPtr ss, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_segments(ss, count)); + + public static IntPtr[] tsequenceset_sequences_p(IntPtr ss) + { + int _n = (int)MEOSExposedFunctions.temporal_num_sequences(ss); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.tsequenceset_sequences_p(ss)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static long tsequenceset_start_timestamptz(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_start_timestamptz(ss)); + + public static IntPtr tsequenceset_time(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_time(ss)); + + public static bool tsequenceset_timestamptz_n(IntPtr ss, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_timestamptz_n(ss, n, result)); + + public static IntPtr tsequenceset_timestamps(IntPtr ss, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_timestamps(ss, count)); + + public static bool tsequenceset_value_at_timestamptz(IntPtr ss, long t, bool strict, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_value_at_timestamptz(ss, t, strict, result)); + + public static bool tsequenceset_value_n(IntPtr ss, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_value_n(ss, n, result)); + + public static IntPtr tsequenceset_values_p(IntPtr ss, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_values_p(ss, count)); + + public static void temporal_restart(IntPtr temp, int count) + => SafeExecution(() => MEOSExternalFunctions.temporal_restart(temp, count)); + + public static IntPtr temporal_tsequence(IntPtr temp, int interp) + => SafeExecution(() => MEOSExternalFunctions.temporal_tsequence(temp, interp)); + + public static IntPtr temporal_tsequenceset(IntPtr temp, int interp) + => SafeExecution(() => MEOSExternalFunctions.temporal_tsequenceset(temp, interp)); + + public static IntPtr tinstant_shift_time(IntPtr inst, IntPtr interv) + => SafeExecution(() => MEOSExternalFunctions.tinstant_shift_time(inst, interv)); + + public static IntPtr tinstant_to_tsequence(IntPtr inst, int interp) + => SafeExecution(() => MEOSExternalFunctions.tinstant_to_tsequence(inst, interp)); + + public static IntPtr tinstant_to_tsequence_free(IntPtr inst, int interp) + => SafeExecution(() => MEOSExternalFunctions.tinstant_to_tsequence_free(inst, interp)); + + public static IntPtr tinstant_to_tsequenceset(IntPtr inst, int interp) + => SafeExecution(() => MEOSExternalFunctions.tinstant_to_tsequenceset(inst, interp)); + + public static IntPtr tnumber_shift_scale_value(IntPtr temp, ulong shift, ulong width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.tnumber_shift_scale_value(temp, shift, width, hasshift, haswidth)); + + public static IntPtr tnumberinst_shift_value(IntPtr inst, ulong shift) + => SafeExecution(() => MEOSExternalFunctions.tnumberinst_shift_value(inst, shift)); + + public static IntPtr tnumberseq_shift_scale_value(IntPtr seq, ulong shift, ulong width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_shift_scale_value(seq, shift, width, hasshift, haswidth)); + + public static IntPtr tnumberseqset_shift_scale_value(IntPtr ss, ulong start, ulong width, bool hasshift, bool haswidth) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_shift_scale_value(ss, start, width, hasshift, haswidth)); + + public static void tsequence_restart(IntPtr seq, int count) + => SafeExecution(() => MEOSExternalFunctions.tsequence_restart(seq, count)); + + public static IntPtr tsequence_set_interp(IntPtr seq, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequence_set_interp(seq, interp)); + + public static IntPtr tsequence_shift_scale_time(IntPtr seq, IntPtr shift, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.tsequence_shift_scale_time(seq, shift, duration)); + + public static IntPtr tsequence_subseq(IntPtr seq, int from, int to, bool lower_inc, bool upper_inc) + => SafeExecution(() => MEOSExternalFunctions.tsequence_subseq(seq, from, to, lower_inc, upper_inc)); + + public static IntPtr tsequence_to_tinstant(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_to_tinstant(seq)); + + public static IntPtr tsequence_to_tsequenceset(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_to_tsequenceset(seq)); + + public static IntPtr tsequence_to_tsequenceset_free(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_to_tsequenceset_free(seq)); + + public static IntPtr tsequence_to_tsequenceset_interp(IntPtr seq, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequence_to_tsequenceset_interp(seq, interp)); + + public static void tsequenceset_restart(IntPtr ss, int count) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_restart(ss, count)); + + public static IntPtr tsequenceset_set_interp(IntPtr ss, int interp) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_set_interp(ss, interp)); + + public static IntPtr tsequenceset_shift_scale_time(IntPtr ss, IntPtr start, IntPtr duration) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_shift_scale_time(ss, start, duration)); + + public static IntPtr tsequenceset_to_discrete(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_to_discrete(ss)); + + public static IntPtr tsequenceset_to_linear(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_to_linear(ss)); + + public static IntPtr tsequenceset_to_step(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_to_step(ss)); + + public static IntPtr tsequenceset_to_tinstant(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_to_tinstant(ss)); + + public static IntPtr tsequenceset_to_tsequence(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_to_tsequence(ss)); + + public static IntPtr tinstant_merge(IntPtr inst1, IntPtr inst2) + => SafeExecution(() => MEOSExternalFunctions.tinstant_merge(inst1, inst2)); + + public static IntPtr tinstant_merge_array(IntPtr instants, int count) + => SafeExecution(() => MEOSExternalFunctions.tinstant_merge_array(instants, count)); + + public static IntPtr tsequence_append_tinstant(IntPtr seq, IntPtr inst, double maxdist, IntPtr maxt, bool expand) + => SafeExecution(() => MEOSExternalFunctions.tsequence_append_tinstant(seq, inst, maxdist, maxt, expand)); + + public static IntPtr tsequence_append_tsequence(IntPtr seq1, IntPtr seq2, bool expand) + => SafeExecution(() => MEOSExternalFunctions.tsequence_append_tsequence(seq1, seq2, expand)); + + public static IntPtr tsequence_delete_timestamptz(IntPtr seq, long t, bool connect) + => SafeExecution(() => MEOSExternalFunctions.tsequence_delete_timestamptz(seq, t, connect)); + + public static IntPtr tsequence_delete_tstzset(IntPtr seq, IntPtr s, bool connect) + => SafeExecution(() => MEOSExternalFunctions.tsequence_delete_tstzset(seq, s, connect)); + + public static IntPtr tsequence_delete_tstzspan(IntPtr seq, IntPtr s, bool connect) + => SafeExecution(() => MEOSExternalFunctions.tsequence_delete_tstzspan(seq, s, connect)); + + public static IntPtr tsequence_delete_tstzspanset(IntPtr seq, IntPtr ss, bool connect) + => SafeExecution(() => MEOSExternalFunctions.tsequence_delete_tstzspanset(seq, ss, connect)); + + public static IntPtr tsequence_insert(IntPtr seq1, IntPtr seq2, bool connect) + => SafeExecution(() => MEOSExternalFunctions.tsequence_insert(seq1, seq2, connect)); + + public static IntPtr tsequence_merge(IntPtr seq1, IntPtr seq2) + => SafeExecution(() => MEOSExternalFunctions.tsequence_merge(seq1, seq2)); + + public static IntPtr tsequence_merge_array(IntPtr sequences, int count) + => SafeExecution(() => MEOSExternalFunctions.tsequence_merge_array(sequences, count)); + + public static IntPtr tsequenceset_append_tinstant(IntPtr ss, IntPtr inst, double maxdist, IntPtr maxt, bool expand) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_append_tinstant(ss, inst, maxdist, maxt, expand)); + + public static IntPtr tsequenceset_append_tsequence(IntPtr ss, IntPtr seq, bool expand) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_append_tsequence(ss, seq, expand)); + + public static IntPtr tsequenceset_delete_timestamptz(IntPtr ss, long t) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_delete_timestamptz(ss, t)); + + public static IntPtr tsequenceset_delete_tstzset(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_delete_tstzset(ss, s)); + + public static IntPtr tsequenceset_delete_tstzspan(IntPtr ss, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_delete_tstzspan(ss, s)); + + public static IntPtr tsequenceset_delete_tstzspanset(IntPtr ss, IntPtr ps) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_delete_tstzspanset(ss, ps)); + + public static IntPtr tsequenceset_insert(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_insert(ss1, ss2)); + + public static IntPtr tsequenceset_merge(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_merge(ss1, ss2)); + + public static IntPtr tsequenceset_merge_array(IntPtr seqsets, int count) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_merge_array(seqsets, count)); + + public static void tsequence_expand_bbox(IntPtr seq, IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tsequence_expand_bbox(seq, inst)); + + public static void tsequence_set_bbox(IntPtr seq, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tsequence_set_bbox(seq, box)); + + public static void tsequenceset_expand_bbox(IntPtr ss, IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_expand_bbox(ss, seq)); + + public static void tsequenceset_set_bbox(IntPtr ss, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_set_bbox(ss, box)); + + public static IntPtr tcontseq_after_timestamptz(IntPtr seq, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.tcontseq_after_timestamptz(seq, t, strict)); + + public static IntPtr tcontseq_before_timestamptz(IntPtr seq, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.tcontseq_before_timestamptz(seq, t, strict)); + + public static IntPtr tcontseq_restrict_minmax(IntPtr seq, bool min, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tcontseq_restrict_minmax(seq, min, atfunc)); + + public static IntPtr tdiscseq_after_timestamptz(IntPtr seq, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.tdiscseq_after_timestamptz(seq, t, strict)); + + public static IntPtr tdiscseq_before_timestamptz(IntPtr seq, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.tdiscseq_before_timestamptz(seq, t, strict)); + + public static IntPtr tdiscseq_restrict_minmax(IntPtr seq, bool min, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tdiscseq_restrict_minmax(seq, min, atfunc)); + + public static bool temporal_bbox_restrict_set(IntPtr temp, IntPtr set) + => SafeExecution(() => MEOSExternalFunctions.temporal_bbox_restrict_set(temp, set)); + + public static IntPtr temporal_restrict_minmax(IntPtr temp, bool min, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.temporal_restrict_minmax(temp, min, atfunc)); + + public static IntPtr temporal_restrict_timestamptz(IntPtr temp, long t, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.temporal_restrict_timestamptz(temp, t, atfunc)); + + public static IntPtr temporal_restrict_tstzset(IntPtr temp, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.temporal_restrict_tstzset(temp, s, atfunc)); + + public static IntPtr temporal_restrict_tstzspan(IntPtr temp, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.temporal_restrict_tstzspan(temp, s, atfunc)); + + public static IntPtr temporal_restrict_tstzspanset(IntPtr temp, IntPtr ss, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.temporal_restrict_tstzspanset(temp, ss, atfunc)); + + public static IntPtr temporal_restrict_value(IntPtr temp, ulong value, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.temporal_restrict_value(temp, value, atfunc)); + + public static IntPtr temporal_restrict_values(IntPtr temp, IntPtr set, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.temporal_restrict_values(temp, set, atfunc)); + + public static bool temporal_value_at_timestamptz(IntPtr temp, long t, bool strict, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.temporal_value_at_timestamptz(temp, t, strict, result)); + + public static IntPtr tinstant_after_timestamptz(IntPtr inst, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.tinstant_after_timestamptz(inst, t, strict)); + + public static IntPtr tinstant_before_timestamptz(IntPtr inst, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.tinstant_before_timestamptz(inst, t, strict)); + + public static IntPtr tinstant_restrict_tstzspan(IntPtr inst, IntPtr period, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tinstant_restrict_tstzspan(inst, period, atfunc)); + + public static IntPtr tinstant_restrict_tstzspanset(IntPtr inst, IntPtr ss, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tinstant_restrict_tstzspanset(inst, ss, atfunc)); + + public static IntPtr tinstant_restrict_timestamptz(IntPtr inst, long t, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tinstant_restrict_timestamptz(inst, t, atfunc)); + + public static IntPtr tinstant_restrict_tstzset(IntPtr inst, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tinstant_restrict_tstzset(inst, s, atfunc)); + + public static IntPtr tinstant_restrict_value(IntPtr inst, ulong value, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tinstant_restrict_value(inst, value, atfunc)); + + public static IntPtr tinstant_restrict_values(IntPtr inst, IntPtr set, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tinstant_restrict_values(inst, set, atfunc)); + + public static IntPtr tnumber_restrict_span(IntPtr temp, IntPtr span, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tnumber_restrict_span(temp, span, atfunc)); + + public static IntPtr tnumber_restrict_spanset(IntPtr temp, IntPtr ss, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tnumber_restrict_spanset(temp, ss, atfunc)); + + public static IntPtr tnumberinst_restrict_span(IntPtr inst, IntPtr span, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tnumberinst_restrict_span(inst, span, atfunc)); + + public static IntPtr tnumberinst_restrict_spanset(IntPtr inst, IntPtr ss, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tnumberinst_restrict_spanset(inst, ss, atfunc)); + + public static IntPtr tnumberseqset_restrict_span(IntPtr ss, IntPtr span, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_restrict_span(ss, span, atfunc)); + + public static IntPtr tnumberseqset_restrict_spanset(IntPtr ss, IntPtr spanset, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_restrict_spanset(ss, spanset, atfunc)); + + public static IntPtr tsequence_at_timestamptz(IntPtr seq, long t) + => SafeExecution(() => MEOSExternalFunctions.tsequence_at_timestamptz(seq, t)); + + public static IntPtr tsequence_restrict_tstzspan(IntPtr seq, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequence_restrict_tstzspan(seq, s, atfunc)); + + public static IntPtr tsequence_restrict_tstzspanset(IntPtr seq, IntPtr ss, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequence_restrict_tstzspanset(seq, ss, atfunc)); + + public static IntPtr tsequenceset_after_timestamptz(IntPtr ss, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_after_timestamptz(ss, t, strict)); + + public static IntPtr tsequenceset_before_timestamptz(IntPtr ss, long t, bool strict) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_before_timestamptz(ss, t, strict)); + + public static IntPtr tsequenceset_restrict_minmax(IntPtr ss, bool min, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_restrict_minmax(ss, min, atfunc)); + + public static IntPtr tsequenceset_restrict_tstzspan(IntPtr ss, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_restrict_tstzspan(ss, s, atfunc)); + + public static IntPtr tsequenceset_restrict_tstzspanset(IntPtr ss, IntPtr ps, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_restrict_tstzspanset(ss, ps, atfunc)); + + public static IntPtr tsequenceset_restrict_timestamptz(IntPtr ss, long t, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_restrict_timestamptz(ss, t, atfunc)); + + public static IntPtr tsequenceset_restrict_tstzset(IntPtr ss, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_restrict_tstzset(ss, s, atfunc)); + + public static IntPtr tsequenceset_restrict_value(IntPtr ss, ulong value, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_restrict_value(ss, value, atfunc)); + + public static IntPtr tsequenceset_restrict_values(IntPtr ss, IntPtr s, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_restrict_values(ss, s, atfunc)); + + public static int tinstant_cmp(IntPtr inst1, IntPtr inst2) + => SafeExecution(() => MEOSExternalFunctions.tinstant_cmp(inst1, inst2)); + + public static bool tinstant_eq(IntPtr inst1, IntPtr inst2) + => SafeExecution(() => MEOSExternalFunctions.tinstant_eq(inst1, inst2)); + + public static int tsequence_cmp(IntPtr seq1, IntPtr seq2) + => SafeExecution(() => MEOSExternalFunctions.tsequence_cmp(seq1, seq2)); + + public static bool tsequence_eq(IntPtr seq1, IntPtr seq2) + => SafeExecution(() => MEOSExternalFunctions.tsequence_eq(seq1, seq2)); + + public static int tsequenceset_cmp(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_cmp(ss1, ss2)); + + public static bool tsequenceset_eq(IntPtr ss1, IntPtr ss2) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_eq(ss1, ss2)); + + public static int always_eq_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_base_temporal(value, temp)); + + public static int always_eq_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.always_eq_temporal_base(temp, value)); + + public static int always_ne_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_base_temporal(value, temp)); + + public static int always_ne_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.always_ne_temporal_base(temp, value)); + + public static int always_ge_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ge_base_temporal(value, temp)); + + public static int always_ge_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.always_ge_temporal_base(temp, value)); + + public static int always_gt_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_gt_base_temporal(value, temp)); + + public static int always_gt_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.always_gt_temporal_base(temp, value)); + + public static int always_le_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_le_base_temporal(value, temp)); + + public static int always_le_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.always_le_temporal_base(temp, value)); + + public static int always_lt_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_lt_base_temporal(value, temp)); + + public static int always_lt_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.always_lt_temporal_base(temp, value)); + + public static int ever_eq_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_base_temporal(value, temp)); + + public static int ever_eq_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_temporal_base(temp, value)); + + public static int ever_ne_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_base_temporal(value, temp)); + + public static int ever_ne_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_temporal_base(temp, value)); + + public static int ever_ge_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_base_temporal(value, temp)); + + public static int ever_ge_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.ever_ge_temporal_base(temp, value)); + + public static int ever_gt_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_base_temporal(value, temp)); + + public static int ever_gt_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.ever_gt_temporal_base(temp, value)); + + public static int ever_le_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_le_base_temporal(value, temp)); + + public static int ever_le_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.ever_le_temporal_base(temp, value)); + + public static int ever_lt_base_temporal(ulong value, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_base_temporal(value, temp)); + + public static int ever_lt_temporal_base(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.ever_lt_temporal_base(temp, value)); + + public static IntPtr tnumberinst_abs(IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tnumberinst_abs(inst)); + + public static IntPtr tnumberseq_abs(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_abs(seq)); + + public static IntPtr tnumberseq_angular_difference(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_angular_difference(seq)); + + public static IntPtr tnumberseq_delta_value(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_delta_value(seq)); + + public static IntPtr tnumberseqset_abs(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_abs(ss)); + + public static IntPtr tnumberseqset_angular_difference(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_angular_difference(ss)); + + public static IntPtr tnumberseqset_delta_value(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_delta_value(ss)); + + public static IntPtr tdistance_tnumber_number(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tnumber_number(temp, value)); + + public static double nad_tbox_tbox(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.nad_tbox_tbox(box1, box2)); + + public static double nad_tnumber_number(IntPtr temp, ulong value) + => SafeExecution(() => MEOSExternalFunctions.nad_tnumber_number(temp, value)); + + public static double nad_tnumber_tbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_tnumber_tbox(temp, box)); + + public static double nad_tnumber_tnumber(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_tnumber_tnumber(temp1, temp2)); + + public static double tnumberseq_integral(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_integral(seq)); + + public static double tnumberseq_twavg(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tnumberseq_twavg(seq)); + + public static double tnumberseqset_integral(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_integral(ss)); + + public static double tnumberseqset_twavg(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tnumberseqset_twavg(ss)); + + public static IntPtr temporal_compact(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.temporal_compact(temp)); + + public static IntPtr tsequence_compact(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tsequence_compact(seq)); + + public static IntPtr tsequenceset_compact(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tsequenceset_compact(ss)); + + public static IntPtr temporal_skiplist_make() + => SafeExecution(() => MEOSExternalFunctions.temporal_skiplist_make()); + + public static IntPtr skiplist_make(ulong key_size, ulong value_size, IntPtr comp_fn, IntPtr merge_fn) + => SafeExecution(() => MEOSExternalFunctions.skiplist_make(key_size, value_size, comp_fn, merge_fn)); + + public static int skiplist_search(IntPtr list, IntPtr key, IntPtr value) + => SafeExecution(() => MEOSExternalFunctions.skiplist_search(list, key, value)); + + public static void skiplist_free(IntPtr list) + => SafeExecution(() => MEOSExternalFunctions.skiplist_free(list)); + + public static void skiplist_splice(IntPtr list, IntPtr keys, IntPtr values, int count, IntPtr func, bool crossings, IntPtr sktype) + => SafeExecution(() => MEOSExternalFunctions.skiplist_splice(list, keys, values, count, func, crossings, sktype)); + + public static void temporal_skiplist_splice(IntPtr list, IntPtr values, int count, IntPtr func, bool crossings) + => SafeExecution(() => MEOSExternalFunctions.temporal_skiplist_splice(list, values, count, func, crossings)); + + public static IntPtr skiplist_values(IntPtr list) + => SafeExecution(() => MEOSExternalFunctions.skiplist_values(list)); + + public static IntPtr skiplist_keys_values(IntPtr list, IntPtr values) + => SafeExecution(() => MEOSExternalFunctions.skiplist_keys_values(list, values)); + + public static IntPtr temporal_app_tinst_transfn(IntPtr state, IntPtr inst, int interp, double maxdist, IntPtr maxt) + => SafeExecution(() => MEOSExternalFunctions.temporal_app_tinst_transfn(state, inst, interp, maxdist, maxt)); + + public static IntPtr temporal_app_tseq_transfn(IntPtr state, IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.temporal_app_tseq_transfn(state, seq)); + + public static IntPtr span_bins(IntPtr s, ulong size, ulong origin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.span_bins(s, size, origin, count)); + + public static IntPtr spanset_bins(IntPtr ss, ulong size, ulong origin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.spanset_bins(ss, size, origin, count)); + + public static IntPtr tnumber_value_bins(IntPtr temp, ulong size, ulong origin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tnumber_value_bins(temp, size, origin, count)); + + public static IntPtr tnumber_value_time_boxes(IntPtr temp, ulong vsize, IntPtr duration, ulong vorigin, long torigin, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tnumber_value_time_boxes(temp, vsize, duration, vorigin, torigin, count)); + + public static IntPtr tnumber_value_split(IntPtr temp, ulong vsize, ulong vorigin, IntPtr bins, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tnumber_value_split(temp, vsize, vorigin, bins, count)); + + public static IntPtr tbox_get_value_time_tile(ulong value, long t, ulong vsize, IntPtr duration, ulong vorigin, long torigin, int basetype, int spantype) + => SafeExecution(() => MEOSExternalFunctions.tbox_get_value_time_tile(value, t, vsize, duration, vorigin, torigin, basetype, spantype)); + + public static IntPtr tnumber_value_time_split(IntPtr temp, ulong size, IntPtr duration, ulong vorigin, long torigin, IntPtr value_bins, IntPtr time_bins, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tnumber_value_time_split(temp, size, duration, vorigin, torigin, value_bins, time_bins, count)); + + public static IntPtr proj_get_context() + => SafeExecution(() => MEOSExternalFunctions.proj_get_context()); + + public static ulong datum_geo_round(ulong value, ulong size) + => SafeExecution(() => MEOSExternalFunctions.datum_geo_round(value, size)); + + public static IntPtr point_round(IntPtr gs, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.point_round(gs, maxdd)); + + public static void stbox_set(bool hasx, bool hasz, bool geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, IntPtr s, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_set(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, s, box)); + + public static void gbox_set_stbox(IntPtr box, int srid, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.gbox_set_stbox(box, srid, result)); + + public static bool geo_set_stbox(IntPtr gs, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.geo_set_stbox(gs, box)); + + public static void geoarr_set_stbox(IntPtr values, int count, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.geoarr_set_stbox(values, count, box)); + + public static bool spatial_set_stbox(ulong d, int basetype, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.spatial_set_stbox(d, basetype, box)); + + public static void spatialset_set_stbox(IntPtr set, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.spatialset_set_stbox(set, box)); + + public static void stbox_set_box3d(IntPtr box, IntPtr box3d) + => SafeExecution(() => MEOSExternalFunctions.stbox_set_box3d(box, box3d)); + + public static void stbox_set_gbox(IntPtr box, IntPtr gbox) + => SafeExecution(() => MEOSExternalFunctions.stbox_set_gbox(box, gbox)); + + public static void tstzset_set_stbox(IntPtr s, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tstzset_set_stbox(s, box)); + + public static void tstzspan_set_stbox(IntPtr s, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tstzspan_set_stbox(s, box)); + + public static void tstzspanset_set_stbox(IntPtr s, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tstzspanset_set_stbox(s, box)); + + public static void stbox_expand(IntPtr box1, IntPtr box2) + => SafeExecution(() => MEOSExternalFunctions.stbox_expand(box1, box2)); + + public static bool inter_stbox_stbox(IntPtr box1, IntPtr box2, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.inter_stbox_stbox(box1, box2, result)); + + public static IntPtr stbox_geo(IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.stbox_geo(box)); + + public static IntPtr tgeogpointinst_from_mfjson(IntPtr mfjson, int srid) + => SafeExecution(() => MEOSExternalFunctions.tgeogpointinst_from_mfjson(mfjson, srid)); + + public static IntPtr tgeogpointinst_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeogpointinst_in(str)); + + public static IntPtr tgeogpointseq_from_mfjson(IntPtr mfjson, int srid, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeogpointseq_from_mfjson(mfjson, srid, interp)); + + public static IntPtr tgeogpointseq_in(string str, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeogpointseq_in(str, interp)); + + public static IntPtr tgeogpointseqset_from_mfjson(IntPtr mfjson, int srid, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeogpointseqset_from_mfjson(mfjson, srid, interp)); + + public static IntPtr tgeogpointseqset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeogpointseqset_in(str)); + + public static IntPtr tgeompointinst_from_mfjson(IntPtr mfjson, int srid) + => SafeExecution(() => MEOSExternalFunctions.tgeompointinst_from_mfjson(mfjson, srid)); + + public static IntPtr tgeompointinst_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeompointinst_in(str)); + + public static IntPtr tgeompointseq_from_mfjson(IntPtr mfjson, int srid, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeompointseq_from_mfjson(mfjson, srid, interp)); + + public static IntPtr tgeompointseq_in(string str, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeompointseq_in(str, interp)); + + public static IntPtr tgeompointseqset_from_mfjson(IntPtr mfjson, int srid, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeompointseqset_from_mfjson(mfjson, srid, interp)); + + public static IntPtr tgeompointseqset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeompointseqset_in(str)); + + public static IntPtr tgeographyinst_from_mfjson(IntPtr mfjson, int srid) + => SafeExecution(() => MEOSExternalFunctions.tgeographyinst_from_mfjson(mfjson, srid)); + + public static IntPtr tgeographyinst_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeographyinst_in(str)); + + public static IntPtr tgeographyseq_from_mfjson(IntPtr mfjson, int srid, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeographyseq_from_mfjson(mfjson, srid, interp)); + + public static IntPtr tgeographyseq_in(string str, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeographyseq_in(str, interp)); + + public static IntPtr tgeographyseqset_from_mfjson(IntPtr mfjson, int srid, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeographyseqset_from_mfjson(mfjson, srid, interp)); + + public static IntPtr tgeographyseqset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeographyseqset_in(str)); + + public static IntPtr tgeometryinst_from_mfjson(IntPtr mfjson, int srid) + => SafeExecution(() => MEOSExternalFunctions.tgeometryinst_from_mfjson(mfjson, srid)); + + public static IntPtr tgeometryinst_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeometryinst_in(str)); + + public static IntPtr tgeometryseq_from_mfjson(IntPtr mfjson, int srid, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeometryseq_from_mfjson(mfjson, srid, interp)); + + public static IntPtr tgeometryseq_in(string str, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeometryseq_in(str, interp)); + + public static IntPtr tgeometryseqset_from_mfjson(IntPtr mfjson, int srid, int interp) + => SafeExecution(() => MEOSExternalFunctions.tgeometryseqset_from_mfjson(mfjson, srid, interp)); + + public static IntPtr tgeometryseqset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tgeometryseqset_in(str)); + + public static void tspatial_set_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tspatial_set_stbox(temp, box)); + + public static void tgeoinst_set_stbox(IntPtr inst, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tgeoinst_set_stbox(inst, box)); + + public static void tspatialseq_set_stbox(IntPtr seq, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tspatialseq_set_stbox(seq, box)); + + public static void tspatialseqset_set_stbox(IntPtr ss, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.tspatialseqset_set_stbox(ss, box)); + + public static IntPtr tgeo_restrict_geom(IntPtr temp, IntPtr gs, IntPtr zspan, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeo_restrict_geom(temp, gs, zspan, atfunc)); + + public static IntPtr tgeo_restrict_stbox(IntPtr temp, IntPtr box, bool border_inc, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeo_restrict_stbox(temp, box, border_inc, atfunc)); + + public static IntPtr tgeoinst_restrict_geom(IntPtr inst, IntPtr gs, IntPtr zspan, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoinst_restrict_geom(inst, gs, zspan, atfunc)); + + public static IntPtr tgeoinst_restrict_stbox(IntPtr inst, IntPtr box, bool border_inc, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoinst_restrict_stbox(inst, box, border_inc, atfunc)); + + public static IntPtr tgeoseq_restrict_geom(IntPtr seq, IntPtr gs, IntPtr zspan, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoseq_restrict_geom(seq, gs, zspan, atfunc)); + + public static IntPtr tgeoseq_restrict_stbox(IntPtr seq, IntPtr box, bool border_inc, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoseq_restrict_stbox(seq, box, border_inc, atfunc)); + + public static IntPtr tgeoseqset_restrict_geom(IntPtr ss, IntPtr gs, IntPtr zspan, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoseqset_restrict_geom(ss, gs, zspan, atfunc)); + + public static IntPtr tgeoseqset_restrict_stbox(IntPtr ss, IntPtr box, bool border_inc, bool atfunc) + => SafeExecution(() => MEOSExternalFunctions.tgeoseqset_restrict_stbox(ss, box, border_inc, atfunc)); + + public static int spatial_srid(ulong d, int basetype) + => SafeExecution(() => MEOSExternalFunctions.spatial_srid(d, basetype)); + + public static bool spatial_set_srid(ulong d, int basetype, int srid) + => SafeExecution(() => MEOSExternalFunctions.spatial_set_srid(d, basetype, srid)); + + public static int tspatialinst_srid(IntPtr inst) + => SafeExecution(() => MEOSExternalFunctions.tspatialinst_srid(inst)); + + public static IntPtr tpointseq_azimuth(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_azimuth(seq)); + + public static IntPtr tpointseq_cumulative_length(IntPtr seq, double prevlength) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_cumulative_length(seq, prevlength)); + + public static bool tpointseq_is_simple(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_is_simple(seq)); + + public static double tpointseq_length(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_length(seq)); + + public static IntPtr tpointseq_linear_trajectory(IntPtr seq, bool unary_union) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_linear_trajectory(seq, unary_union)); + + public static IntPtr tgeoseq_stboxes(IntPtr seq, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeoseq_stboxes(seq, count)); + + public static IntPtr tgeoseq_split_n_stboxes(IntPtr seq, int max_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeoseq_split_n_stboxes(seq, max_count, count)); + + public static IntPtr tpointseqset_azimuth(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tpointseqset_azimuth(ss)); + + public static IntPtr tpointseqset_cumulative_length(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tpointseqset_cumulative_length(ss)); + + public static bool tpointseqset_is_simple(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tpointseqset_is_simple(ss)); + + public static double tpointseqset_length(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tpointseqset_length(ss)); + + public static IntPtr tgeoseqset_stboxes(IntPtr ss, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeoseqset_stboxes(ss, count)); + + public static IntPtr tgeoseqset_split_n_stboxes(IntPtr ss, int max_count, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tgeoseqset_split_n_stboxes(ss, max_count, count)); + + public static IntPtr tpoint_get_coord(IntPtr temp, int coord) + => SafeExecution(() => MEOSExternalFunctions.tpoint_get_coord(temp, coord)); + + public static IntPtr tgeominst_tgeoginst(IntPtr inst, bool oper) + => SafeExecution(() => MEOSExternalFunctions.tgeominst_tgeoginst(inst, oper)); + + public static IntPtr tgeomseq_tgeogseq(IntPtr seq, bool oper) + => SafeExecution(() => MEOSExternalFunctions.tgeomseq_tgeogseq(seq, oper)); + + public static IntPtr tgeomseqset_tgeogseqset(IntPtr ss, bool oper) + => SafeExecution(() => MEOSExternalFunctions.tgeomseqset_tgeogseqset(ss, oper)); + + public static IntPtr tgeom_tgeog(IntPtr temp, bool oper) + => SafeExecution(() => MEOSExternalFunctions.tgeom_tgeog(temp, oper)); + + public static IntPtr tgeo_tpoint(IntPtr temp, bool oper) + => SafeExecution(() => MEOSExternalFunctions.tgeo_tpoint(temp, oper)); + + public static void tspatialinst_set_srid(IntPtr inst, int srid) + => SafeExecution(() => MEOSExternalFunctions.tspatialinst_set_srid(inst, srid)); + + public static IntPtr tpointseq_make_simple(IntPtr seq, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_make_simple(seq, count)); + + public static void tspatialseq_set_srid(IntPtr seq, int srid) + => SafeExecution(() => MEOSExternalFunctions.tspatialseq_set_srid(seq, srid)); + + public static IntPtr tpointseqset_make_simple(IntPtr ss, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tpointseqset_make_simple(ss, count)); + + public static void tspatialseqset_set_srid(IntPtr ss, int srid) + => SafeExecution(() => MEOSExternalFunctions.tspatialseqset_set_srid(ss, srid)); + + public static IntPtr tpointseq_twcentroid(IntPtr seq) + => SafeExecution(() => MEOSExternalFunctions.tpointseq_twcentroid(seq)); + + public static IntPtr tpointseqset_twcentroid(IntPtr ss) + => SafeExecution(() => MEOSExternalFunctions.tpointseqset_twcentroid(ss)); + + public static string npoint_as_ewkt(IntPtr np, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.npoint_as_ewkt(np, maxdd)); + + public static string npoint_as_hexwkb(IntPtr np, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.npoint_as_hexwkb(np, variant, size_out)); + + public static string npoint_as_text(IntPtr np, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.npoint_as_text(np, maxdd)); + + public static IntPtr npoint_as_wkb(IntPtr np, IntPtr variant, IntPtr size_out) + => SafeExecution(() => MEOSExternalFunctions.npoint_as_wkb(np, variant, size_out)); + + public static IntPtr npoint_from_hexwkb(string hexwkb) + => SafeExecution(() => MEOSExternalFunctions.npoint_from_hexwkb(hexwkb)); + + public static IntPtr npoint_from_wkb(IntPtr wkb, ulong size) + => SafeExecution(() => MEOSExternalFunctions.npoint_from_wkb(wkb, size)); + + public static IntPtr npoint_in(string str) + => SafeExecution(() => MEOSExternalFunctions.npoint_in(str)); + + public static string npoint_out(IntPtr np, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.npoint_out(np, maxdd)); + + public static IntPtr nsegment_in(string str) + => SafeExecution(() => MEOSExternalFunctions.nsegment_in(str)); + + public static string nsegment_out(IntPtr ns, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.nsegment_out(ns, maxdd)); + + public static IntPtr npoint_make(long rid, double pos) + => SafeExecution(() => MEOSExternalFunctions.npoint_make(rid, pos)); + + public static IntPtr nsegment_make(long rid, double pos1, double pos2) + => SafeExecution(() => MEOSExternalFunctions.nsegment_make(rid, pos1, pos2)); + + public static IntPtr geompoint_to_npoint(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geompoint_to_npoint(gs)); + + public static IntPtr geom_to_nsegment(IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.geom_to_nsegment(gs)); + + public static IntPtr npoint_to_geompoint(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_to_geompoint(np)); + + public static IntPtr npoint_to_nsegment(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_to_nsegment(np)); + + public static IntPtr npoint_to_stbox(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_to_stbox(np)); + + public static IntPtr nsegment_to_geom(IntPtr ns) + => SafeExecution(() => MEOSExternalFunctions.nsegment_to_geom(ns)); + + public static IntPtr nsegment_to_stbox(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.nsegment_to_stbox(np)); + + public static uint npoint_hash(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_hash(np)); + + public static ulong npoint_hash_extended(IntPtr np, ulong seed) + => SafeExecution(() => MEOSExternalFunctions.npoint_hash_extended(np, seed)); + + public static double npoint_position(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_position(np)); + + public static long npoint_route(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_route(np)); + + public static double nsegment_end_position(IntPtr ns) + => SafeExecution(() => MEOSExternalFunctions.nsegment_end_position(ns)); + + public static long nsegment_route(IntPtr ns) + => SafeExecution(() => MEOSExternalFunctions.nsegment_route(ns)); + + public static double nsegment_start_position(IntPtr ns) + => SafeExecution(() => MEOSExternalFunctions.nsegment_start_position(ns)); + + public static bool route_exists(long rid) + => SafeExecution(() => MEOSExternalFunctions.route_exists(rid)); + + public static IntPtr route_geom(long rid) + => SafeExecution(() => MEOSExternalFunctions.route_geom(rid)); + + public static double route_length(long rid) + => SafeExecution(() => MEOSExternalFunctions.route_length(rid)); + + public static IntPtr npoint_round(IntPtr np, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.npoint_round(np, maxdd)); + + public static IntPtr nsegment_round(IntPtr ns, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.nsegment_round(ns, maxdd)); + + public static int get_srid_ways() + => SafeExecution(() => MEOSExternalFunctions.get_srid_ways()); + + public static int npoint_srid(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_srid(np)); + + public static int nsegment_srid(IntPtr ns) + => SafeExecution(() => MEOSExternalFunctions.nsegment_srid(ns)); + + public static IntPtr npoint_timestamptz_to_stbox(IntPtr np, long t) + => SafeExecution(() => MEOSExternalFunctions.npoint_timestamptz_to_stbox(np, t)); + + public static IntPtr npoint_tstzspan_to_stbox(IntPtr np, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.npoint_tstzspan_to_stbox(np, s)); + + public static int npoint_cmp(IntPtr np1, IntPtr np2) + => SafeExecution(() => MEOSExternalFunctions.npoint_cmp(np1, np2)); + + public static bool npoint_eq(IntPtr np1, IntPtr np2) + => SafeExecution(() => MEOSExternalFunctions.npoint_eq(np1, np2)); + + public static bool npoint_ge(IntPtr np1, IntPtr np2) + => SafeExecution(() => MEOSExternalFunctions.npoint_ge(np1, np2)); + + public static bool npoint_gt(IntPtr np1, IntPtr np2) + => SafeExecution(() => MEOSExternalFunctions.npoint_gt(np1, np2)); + + public static bool npoint_le(IntPtr np1, IntPtr np2) + => SafeExecution(() => MEOSExternalFunctions.npoint_le(np1, np2)); + + public static bool npoint_lt(IntPtr np1, IntPtr np2) + => SafeExecution(() => MEOSExternalFunctions.npoint_lt(np1, np2)); + + public static bool npoint_ne(IntPtr np1, IntPtr np2) + => SafeExecution(() => MEOSExternalFunctions.npoint_ne(np1, np2)); + + public static bool npoint_same(IntPtr np1, IntPtr np2) + => SafeExecution(() => MEOSExternalFunctions.npoint_same(np1, np2)); + + public static int nsegment_cmp(IntPtr ns1, IntPtr ns2) + => SafeExecution(() => MEOSExternalFunctions.nsegment_cmp(ns1, ns2)); + + public static bool nsegment_eq(IntPtr ns1, IntPtr ns2) + => SafeExecution(() => MEOSExternalFunctions.nsegment_eq(ns1, ns2)); + + public static bool nsegment_ge(IntPtr ns1, IntPtr ns2) + => SafeExecution(() => MEOSExternalFunctions.nsegment_ge(ns1, ns2)); + + public static bool nsegment_gt(IntPtr ns1, IntPtr ns2) + => SafeExecution(() => MEOSExternalFunctions.nsegment_gt(ns1, ns2)); + + public static bool nsegment_le(IntPtr ns1, IntPtr ns2) + => SafeExecution(() => MEOSExternalFunctions.nsegment_le(ns1, ns2)); + + public static bool nsegment_lt(IntPtr ns1, IntPtr ns2) + => SafeExecution(() => MEOSExternalFunctions.nsegment_lt(ns1, ns2)); + + public static bool nsegment_ne(IntPtr ns1, IntPtr ns2) + => SafeExecution(() => MEOSExternalFunctions.nsegment_ne(ns1, ns2)); + + public static IntPtr npointset_in(string str) + => SafeExecution(() => MEOSExternalFunctions.npointset_in(str)); + + public static string npointset_out(IntPtr s, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.npointset_out(s, maxdd)); + + public static IntPtr npointset_make(IntPtr values, int count) + => SafeExecution(() => MEOSExternalFunctions.npointset_make(values, count)); + + public static IntPtr npoint_to_set(IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_to_set(np)); + + public static IntPtr npointset_end_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.npointset_end_value(s)); + + public static IntPtr npointset_routes(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.npointset_routes(s)); + + public static IntPtr npointset_start_value(IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.npointset_start_value(s)); + + public static bool npointset_value_n(IntPtr s, int n, IntPtr result) + => SafeExecution(() => MEOSExternalFunctions.npointset_value_n(s, n, result)); + + public static IntPtr[] npointset_values(IntPtr s) + { + int _n = (int)MEOSExposedFunctions.set_num_values(s); + IntPtr _p = SafeExecution(() => MEOSExternalFunctions.npointset_values(s)); + IntPtr[] _out = new IntPtr[_n]; + for (int _i = 0; _i < _n; _i++) + { _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); } + return _out; + } + + public static bool contained_npoint_set(IntPtr np, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.contained_npoint_set(np, s)); + + public static bool contains_set_npoint(IntPtr s, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.contains_set_npoint(s, np)); + + public static IntPtr intersection_npoint_set(IntPtr np, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.intersection_npoint_set(np, s)); + + public static IntPtr intersection_set_npoint(IntPtr s, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.intersection_set_npoint(s, np)); + + public static IntPtr minus_npoint_set(IntPtr np, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.minus_npoint_set(np, s)); + + public static IntPtr minus_set_npoint(IntPtr s, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.minus_set_npoint(s, np)); + + public static IntPtr npoint_union_transfn(IntPtr state, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.npoint_union_transfn(state, np)); + + public static IntPtr union_npoint_set(IntPtr np, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.union_npoint_set(np, s)); + + public static IntPtr union_set_npoint(IntPtr s, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.union_set_npoint(s, np)); + + public static IntPtr tnpoint_in(string str) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_in(str)); + + public static string tnpoint_out(IntPtr temp, int maxdd) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_out(temp, maxdd)); + + public static IntPtr tnpointinst_make(IntPtr np, long t) + => SafeExecution(() => MEOSExternalFunctions.tnpointinst_make(np, t)); + + public static IntPtr tgeompoint_to_tnpoint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tgeompoint_to_tnpoint(temp)); + + public static IntPtr tnpoint_to_tgeompoint(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_to_tgeompoint(temp)); + + public static IntPtr tnpoint_cumulative_length(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_cumulative_length(temp)); + + public static double tnpoint_length(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_length(temp)); + + public static IntPtr tnpoint_positions(IntPtr temp, IntPtr count) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_positions(temp, count)); + + public static long tnpoint_route(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_route(temp)); + + public static IntPtr tnpoint_routes(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_routes(temp)); + + public static IntPtr tnpoint_speed(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_speed(temp)); + + public static IntPtr tnpoint_trajectory(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_trajectory(temp)); + + public static IntPtr tnpoint_twcentroid(IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_twcentroid(temp)); + + public static IntPtr tnpoint_at_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_at_geom(temp, gs)); + + public static IntPtr tnpoint_at_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_at_npoint(temp, np)); + + public static IntPtr tnpoint_at_npointset(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_at_npointset(temp, s)); + + public static IntPtr tnpoint_at_stbox(IntPtr temp, IntPtr box, bool border_inc) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_at_stbox(temp, box, border_inc)); + + public static IntPtr tnpoint_minus_geom(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_minus_geom(temp, gs)); + + public static IntPtr tnpoint_minus_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_minus_npoint(temp, np)); + + public static IntPtr tnpoint_minus_npointset(IntPtr temp, IntPtr s) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_minus_npointset(temp, s)); + + public static IntPtr tnpoint_minus_stbox(IntPtr temp, IntPtr box, bool border_inc) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_minus_stbox(temp, box, border_inc)); + + public static IntPtr tdistance_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tnpoint_npoint(temp, np)); + + public static IntPtr tdistance_tnpoint_point(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tnpoint_point(temp, gs)); + + public static IntPtr tdistance_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.tdistance_tnpoint_tnpoint(temp1, temp2)); + + public static double nad_tnpoint_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nad_tnpoint_geo(temp, gs)); + + public static double nad_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.nad_tnpoint_npoint(temp, np)); + + public static double nad_tnpoint_stbox(IntPtr temp, IntPtr box) + => SafeExecution(() => MEOSExternalFunctions.nad_tnpoint_stbox(temp, box)); + + public static double nad_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nad_tnpoint_tnpoint(temp1, temp2)); + + public static IntPtr nai_tnpoint_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.nai_tnpoint_geo(temp, gs)); + + public static IntPtr nai_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.nai_tnpoint_npoint(temp, np)); + + public static IntPtr nai_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.nai_tnpoint_tnpoint(temp1, temp2)); + + public static IntPtr shortestline_tnpoint_geo(IntPtr temp, IntPtr gs) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tnpoint_geo(temp, gs)); + + public static IntPtr shortestline_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tnpoint_npoint(temp, np)); + + public static IntPtr shortestline_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.shortestline_tnpoint_tnpoint(temp1, temp2)); + + public static IntPtr tnpoint_tcentroid_transfn(IntPtr state, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.tnpoint_tcentroid_transfn(state, temp)); + + public static int always_eq_npoint_tnpoint(IntPtr np, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_eq_npoint_tnpoint(np, temp)); + + public static int always_eq_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tnpoint_npoint(temp, np)); + + public static int always_eq_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_eq_tnpoint_tnpoint(temp1, temp2)); + + public static int always_ne_npoint_tnpoint(IntPtr np, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.always_ne_npoint_tnpoint(np, temp)); + + public static int always_ne_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tnpoint_npoint(temp, np)); + + public static int always_ne_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.always_ne_tnpoint_tnpoint(temp1, temp2)); + + public static int ever_eq_npoint_tnpoint(IntPtr np, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_npoint_tnpoint(np, temp)); + + public static int ever_eq_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tnpoint_npoint(temp, np)); + + public static int ever_eq_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_eq_tnpoint_tnpoint(temp1, temp2)); + + public static int ever_ne_npoint_tnpoint(IntPtr np, IntPtr temp) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_npoint_tnpoint(np, temp)); + + public static int ever_ne_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tnpoint_npoint(temp, np)); + + public static int ever_ne_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2) + => SafeExecution(() => MEOSExternalFunctions.ever_ne_tnpoint_tnpoint(temp1, temp2)); + + public static IntPtr teq_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.teq_tnpoint_npoint(temp, np)); + + public static IntPtr tne_tnpoint_npoint(IntPtr temp, IntPtr np) + => SafeExecution(() => MEOSExternalFunctions.tne_tnpoint_npoint(temp, np)); + + } +} diff --git a/MEOS.NET/Internal/MEOSExternalFunctions.cs b/MEOS.NET/Internal/MEOSExternalFunctions.cs index 6db21be..72c2880 100644 --- a/MEOS.NET/Internal/MEOSExternalFunctions.cs +++ b/MEOS.NET/Internal/MEOSExternalFunctions.cs @@ -1,4355 +1,7849 @@ -using System.CodeDom.Compiler; -using System.Runtime.InteropServices; - -using MEOS.NET.Enums; - -namespace MEOS.NET.Internal -{ - internal partial class MEOSExposedFunctions - { - [GeneratedCode("MEOS.NET.Builder", "0.0.2")] - private partial class MEOSExternalFunctions - { - private const string DllPath = "/home/totojr/Externals/MobilityDB/build/libmeos.so"; - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void meos_error(int errlevel, int errcode, string format); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int meos_errno(); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int meos_errno_set(int err); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int meos_errno_restore(int err); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int meos_errno_reset(); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void meos_initialize_timezone(string name); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void meos_initialize_error_handler(ErrorHandlingMethod err_handler); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void meos_finalize_timezone(); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool meos_set_datestyle(string newval, IntPtr extra); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool meos_set_intervalstyle(string newval, int extra); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string meos_get_datestyle(); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string meos_get_intervalstyle(); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void meos_initialize(string tz_str, ErrorHandlingMethod err_handler); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial void meos_finalize(); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool bool_in(string in_str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string bool_out([MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr cstring2text(string cstring); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int pg_date_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string pg_date_out(int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_date_mi(int d1, int d2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int pg_date_mi_int(int d, int days); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int pg_date_pl_int(int d, int days); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long pg_date_timestamptz(int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int pg_interval_cmp(IntPtr interval1, IntPtr interval2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_interval_in(string str, int typmod); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_interval_make(int years, int months, int weeks, int days, int hours, int mins, double secs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_interval_mul(IntPtr span, double factor); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string pg_interval_out(IntPtr span); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_interval_to_char(IntPtr it, IntPtr fmt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_interval_pl(IntPtr span1, IntPtr span2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long pg_time_in(string str, int typmod); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string pg_time_out(long time); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long pg_timestamp_in(string str, int typmod); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_timestamp_mi(long dt1, long dt2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long pg_timestamp_mi_interval(long timestamp, IntPtr span); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string pg_timestamp_out(long dt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long pg_timestamp_pl_interval(long timestamp, IntPtr span); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_timestamp_to_char(long dt, IntPtr fmt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long pg_timestamptz_in(string str, int typmod); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int pg_timestamptz_date(long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string pg_timestamptz_out(long dt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pg_timestamptz_to_char(long dt, IntPtr fmt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int pg_to_date(IntPtr date_txt, IntPtr fmt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long pg_to_timestamptz(IntPtr date_txt, IntPtr fmt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string text2cstring(IntPtr textptr); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string text_out(IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geography_from_hexewkb(string wkt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geography_from_text(string wkt, int srid); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geometry_from_hexewkb(string wkt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geometry_from_text(string wkt, int srid); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr gserialized_as_ewkb(IntPtr gs, string type); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string gserialized_as_ewkt(IntPtr gs, int precision); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string gserialized_as_geojson(IntPtr gs, int option, int precision, string srs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string gserialized_as_hexewkb(IntPtr gs, string type); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string gserialized_as_text(IntPtr gs, int precision); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr gserialized_from_ewkb(IntPtr bytea_wkb, int srid); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr gserialized_from_geojson(string geojson); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string gserialized_out(IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pgis_geography_in(string input, int geom_typmod); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr pgis_geometry_in(string input, int geom_typmod); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool pgis_gserialized_same(IntPtr gs1, IntPtr gs2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string bigintset_out(IntPtr set); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintspan_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string bigintspan_out(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintspanset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string bigintspanset_out(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr dateset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string dateset_out(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespan_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string datespan_out(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespanset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string datespanset_out(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string floatset_out(IntPtr set, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspan_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string floatspan_out(IntPtr s, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspanset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string floatspanset_out(IntPtr ss, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geogset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geomset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string geoset_as_ewkt(IntPtr set, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string geoset_as_text(IntPtr set, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string geoset_out(IntPtr set, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string intset_out(IntPtr set); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intspan_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string intspan_out(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intspanset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string intspanset_out(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string set_as_hexwkb(IntPtr s, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_as_wkb(IntPtr s, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_from_hexwkb(string hexwkb); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_from_wkb(IntPtr wkb, ulong size); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string span_as_hexwkb(IntPtr s, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_as_wkb(IntPtr s, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_from_hexwkb(string hexwkb); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_from_wkb(IntPtr wkb, ulong size); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string spanset_as_hexwkb(IntPtr ss, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_as_wkb(IntPtr ss, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_from_hexwkb(string hexwkb); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_from_wkb(IntPtr wkb, ulong size); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string textset_out(IntPtr set); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tstzset_out(IntPtr set); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tstzspan_out(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tstzspanset_out(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintset_make(IntPtr values, int count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintspan_make(long lower, long upper, [MarshalAs(UnmanagedType.I1)] bool lower_inc, [MarshalAs(UnmanagedType.I1)] bool upper_inc); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr dateset_make(IntPtr values, int count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespan_make(int lower, int upper, [MarshalAs(UnmanagedType.I1)] bool lower_inc, [MarshalAs(UnmanagedType.I1)] bool upper_inc); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatset_make(IntPtr values, int count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspan_make(double lower, double upper, [MarshalAs(UnmanagedType.I1)] bool lower_inc, [MarshalAs(UnmanagedType.I1)] bool upper_inc); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geoset_make(IntPtr values, int count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intset_make(IntPtr values, int count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intspan_make(int lower, int upper, [MarshalAs(UnmanagedType.I1)] bool lower_inc, [MarshalAs(UnmanagedType.I1)] bool upper_inc); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_copy(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_copy(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_copy(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_make(IntPtr spans, int count, [MarshalAs(UnmanagedType.I1)] bool normalize); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textset_make(IntPtr values, int count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzset_make(IntPtr values, int count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_make(long lower, long upper, [MarshalAs(UnmanagedType.I1)] bool lower_inc, [MarshalAs(UnmanagedType.I1)] bool upper_inc); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigint_to_set(long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigint_to_span(int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigint_to_spanset(int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr date_to_set(int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr date_to_span(int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr date_to_spanset(int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr date_to_tstzspan(int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr float_to_set(double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr float_to_span(double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr float_to_spanset(double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geo_to_set(IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr int_to_set(int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr int_to_span(int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr int_to_spanset(int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_to_spanset(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_to_spanset(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr text_to_set(IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr timestamptz_to_set(long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr timestamptz_to_span(long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr timestamptz_to_spanset(long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long bigintset_end_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long bigintset_start_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool bigintset_value_n(IntPtr s, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintset_values(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long bigintspan_lower(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long bigintspan_upper(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long bigintspanset_lower(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long bigintspanset_upper(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int dateset_end_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int dateset_start_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool dateset_value_n(IntPtr s, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr dateset_values(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespan_duration(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespanset_duration(IntPtr ss, [MarshalAs(UnmanagedType.I1)] bool boundspan); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int datespanset_end_date(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int datespanset_num_dates(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int datespanset_start_date(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool datespanset_date_n(IntPtr ss, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespanset_dates(IntPtr ss, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double floatset_end_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double floatset_start_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool floatset_value_n(IntPtr s, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatset_values(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double floatspan_lower(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double floatspan_upper(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double floatspanset_lower(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double floatspanset_upper(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geoset_end_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int geoset_srid(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geoset_set_srid(IntPtr s, int srid); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geoset_start_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool geoset_value_n(IntPtr s, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geoset_values(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int intset_end_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int intset_start_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool intset_value_n(IntPtr s, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intset_values(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int intspan_lower(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int intspan_upper(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int intspanset_lower(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int intspanset_upper(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint set_hash(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong set_hash_extended(IntPtr s, ulong seed); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int set_num_values(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_to_span(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint span_hash(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong span_hash_extended(IntPtr s, ulong seed); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool span_lower_inc(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool span_upper_inc(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double span_width(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_end_span(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint spanset_hash(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial ulong spanset_hash_extended(IntPtr ss, ulong seed); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool spanset_lower_inc(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int spanset_num_spans(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_span(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_span_n(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_spans(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_start_span(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool spanset_upper_inc(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double spanset_width(IntPtr ss, [MarshalAs(UnmanagedType.I1)] bool boundspan); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spatialset_to_stbox(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textset_end_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textset_start_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool textset_value_n(IntPtr s, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textset_values(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tstzset_end_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tstzset_start_value(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tstzset_value_n(IntPtr s, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzset_values(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_duration(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tstzspan_lower(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tstzspan_upper(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_duration(IntPtr ss, [MarshalAs(UnmanagedType.I1)] bool boundspan); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tstzspanset_end_timestamptz(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tstzspanset_lower(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tstzspanset_num_timestamps(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tstzspanset_start_timestamptz(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tstzspanset_timestamptz_n(IntPtr ss, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_timestamps(IntPtr ss, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long tstzspanset_upper(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintset_shift_scale(IntPtr s, long shift, long width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintspan_shift_scale(IntPtr s, long shift, long width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigintspanset_shift_scale(IntPtr ss, long shift, long width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr dateset_shift_scale(IntPtr s, int shift, int width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr dateset_to_tstzset(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespan_shift_scale(IntPtr s, int shift, int width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespan_to_tstzspan(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespanset_shift_scale(IntPtr ss, int shift, int width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr datespanset_to_tstzspanset(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatset_round(IntPtr s, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatset_shift_scale(IntPtr s, double shift, double width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatset_to_intset(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspan_round(IntPtr s, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspan_shift_scale(IntPtr s, double shift, double width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspan_to_intspan(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspanset_to_intspanset(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspanset_round(IntPtr ss, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspanset_shift_scale(IntPtr ss, double shift, double width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geoset_round(IntPtr s, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intset_shift_scale(IntPtr s, int shift, int width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intset_to_floatset(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intspan_shift_scale(IntPtr s, int shift, int width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intspan_to_floatspan(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intspanset_to_floatspanset(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intspanset_shift_scale(IntPtr ss, int shift, int width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textset_lower(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textset_upper(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long timestamptz_tprecision(long t, IntPtr duration, long torigin); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzset_shift_scale(IntPtr s, IntPtr shift, IntPtr duration); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_shift_scale(IntPtr s, IntPtr shift, IntPtr duration); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_tprecision(IntPtr s, IntPtr duration, long torigin); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzset_to_dateset(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_to_datespan(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_to_datespanset(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_shift_scale(IntPtr ss, IntPtr shift, IntPtr duration); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_tprecision(IntPtr ss, IntPtr duration, long torigin); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_geo(IntPtr s, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_text(IntPtr s, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_span_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_spanset_date(IntPtr ss, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_bigint_set(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_bigint_span(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_bigint_spanset(long i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_date_set(int d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_date_span(int d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_date_spanset(int d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_float_set(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_float_span(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_float_spanset(double d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_geo_set(IntPtr gs, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_int_set(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_int_span(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_int_spanset(int i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_geo(IntPtr s, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_text(IntPtr s, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_span_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_span_spanset(IntPtr s, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_spanset_date(IntPtr ss, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_text_set(IntPtr txt, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_timestamptz_span(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_timestamptz_spanset(long t, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr minus_timestamptz_set(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr super_union_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_geo(IntPtr s, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_text(IntPtr s, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_span_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_spanset_date(IntPtr ss, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_span_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_spanset_date(IntPtr ss, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_bigint_set(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_bigint_span(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_bigint_spanset(long i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_date_set(int d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_date_span(int d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_date_spanset(int d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_float_set(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_float_span(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_float_spanset(double d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_geo_set(IntPtr gs, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_int_set(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_int_span(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_int_spanset(int i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_span_spanset(IntPtr s, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_text_set(IntPtr txt, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_timestamptz_set(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_timestamptz_span(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_timestamptz_spanset(long t, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_set_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_set_geo(IntPtr s, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_set_text(IntPtr s, IntPtr t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_span_spanset(IntPtr s, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_date_set(int d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_date_span(int d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_date_spanset(int d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_set_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_span_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_spanset_date(IntPtr ss, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_timestamptz_set(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_timestamptz_span(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_timestamptz_spanset(long t, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_date_set(int d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_date_span(int d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_date_spanset(int d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_set_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_span_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_spanset_date(IntPtr ss, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_timestamptz_set(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_timestamptz_span(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_timestamptz_spanset(long t, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_bigint_set(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_bigint_span(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_bigint_spanset(long i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_float_set(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_float_span(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_float_spanset(double d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_int_set(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_int_span(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_int_spanset(int i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_set_text(IntPtr s, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_span_spanset(IntPtr s, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_text_set(IntPtr txt, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_set_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_timestamptz_set(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_timestamptz_span(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_timestamptz_spanset(long t, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_set_date(IntPtr s, int d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_timestamptz_set(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_timestamptz_span(long t, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_timestamptz_spanset(long t, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_bigint_set(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_bigint_span(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_bigint_spanset(long i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_float_set(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_float_span(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_float_spanset(double d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_int_set(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_int_span(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_int_spanset(int i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_set_text(IntPtr s, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_span_spanset(IntPtr s, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_text_set(IntPtr txt, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_bigint_set(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_bigint_span(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_bigint_spanset(long i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_float_set(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_float_span(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_float_spanset(double d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_int_set(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_int_span(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_int_spanset(int i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_set_text(IntPtr s, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_span_spanset(IntPtr s, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_text_set(IntPtr txt, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_bigint_set(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_bigint_span(long i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_bigint_spanset(long i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_float_set(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_float_span(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_float_spanset(double d, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_int_set(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_int_span(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_int_spanset(int i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_set_text(IntPtr s, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_span_spanset(IntPtr s, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_text_set(IntPtr txt, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_set_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_set_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_set_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_set_set(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_set_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_span_bigint(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_span_float(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_span_int(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_span_span(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_span_timestamptz(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_spanset_bigint(IntPtr ss, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_spanset_float(IntPtr ss, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_spanset_int(IntPtr ss, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_spanset_timestamptz(IntPtr ss, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_spanset_span(IntPtr ss, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double distance_spanset_spanset(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int set_cmp(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool set_eq(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool set_ge(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool set_gt(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool set_le(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool set_lt(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool set_ne(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int span_cmp(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool span_eq(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool span_ge(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool span_gt(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool span_le(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool span_lt(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool span_ne(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int spanset_cmp(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool spanset_eq(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool spanset_ge(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool spanset_gt(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool spanset_le(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool spanset_lt(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool spanset_ne(IntPtr ss1, IntPtr ss2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigint_extent_transfn(IntPtr s, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bigint_union_transfn(IntPtr state, long i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr float_extent_transfn(IntPtr s, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr float_union_transfn(IntPtr state, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr int_extent_transfn(IntPtr s, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr int_union_transfn(IntPtr state, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_extent_transfn(IntPtr span, IntPtr set); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_union_finalfn(IntPtr state); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr set_union_transfn(IntPtr state, IntPtr set); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_extent_transfn(IntPtr s1, IntPtr s2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr span_union_transfn(IntPtr state, IntPtr span); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_extent_transfn(IntPtr s, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_union_finalfn(IntPtr state); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr spanset_union_transfn(IntPtr state, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr text_union_transfn(IntPtr state, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr timestamptz_extent_transfn(IntPtr s, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr timestamptz_tcount_transfn(IntPtr state, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr timestamptz_union_transfn(IntPtr state, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzset_tcount_transfn(IntPtr state, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_tcount_transfn(IntPtr state, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_tcount_transfn(IntPtr state, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tbox_out(IntPtr box, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_from_wkb(IntPtr wkb, ulong size); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_from_hexwkb(string hexwkb); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_from_wkb(IntPtr wkb, ulong size); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_from_hexwkb(string hexwkb); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_as_wkb(IntPtr box, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tbox_as_hexwkb(IntPtr box, byte variant, IntPtr size); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_as_wkb(IntPtr box, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string stbox_as_hexwkb(IntPtr box, byte variant, IntPtr size); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string stbox_out(IntPtr box, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr float_tstzspan_to_tbox(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr float_timestamptz_to_tbox(double d, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geo_tstzspan_to_stbox(IntPtr gs, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geo_timestamptz_to_stbox(IntPtr gs, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr int_tstzspan_to_tbox(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr int_timestamptz_to_tbox(int i, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numspan_tstzspan_to_tbox(IntPtr span, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numspan_timestamptz_to_tbox(IntPtr span, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_copy(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_make([MarshalAs(UnmanagedType.I1)] bool hasx, [MarshalAs(UnmanagedType.I1)] bool hasz, [MarshalAs(UnmanagedType.I1)] bool geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_copy(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_make(IntPtr s, IntPtr p); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr box3d_to_stbox(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr gbox_to_stbox(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr float_to_tbox(double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geo_to_stbox(IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr int_to_tbox(int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numset_to_tbox(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numspan_to_tbox(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr numspanset_to_tbox(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_to_stbox(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_to_tbox(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_to_stbox(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspanset_to_tbox(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_to_gbox(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_to_box3d(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_to_geo(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_to_tstzspan(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_to_intspan(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_to_floatspan(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_to_tstzspan(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr timestamptz_to_stbox(long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr timestamptz_to_tbox(long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzset_to_stbox(IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzset_to_tbox(IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_to_tbox(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_to_stbox(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_hast(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_hasx(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_hasz(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_isgeodetic(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int stbox_srid(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_tmax(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_tmax_inc(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_tmin(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_tmin_inc(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_xmax(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_xmin(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_ymax(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_ymin(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_zmax(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_zmin(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_hast(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_hasx(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_tmax(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_tmax_inc(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_tmin(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_tmin_inc(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_xmax(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_xmax_inc(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_xmin(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_xmin_inc(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tboxfloat_xmax(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tboxfloat_xmin(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tboxint_xmax(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tboxint_xmin(IntPtr box, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_expand_space(IntPtr box, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_expand_time(IntPtr box, IntPtr interval); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_get_space(IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_round(IntPtr box, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_set_srid(IntPtr box, int srid); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_shift_scale_time(IntPtr box, IntPtr shift, IntPtr duration); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_expand_time(IntPtr box, IntPtr interval); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_expand_float(IntPtr box, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_expand_int(IntPtr box, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_round(IntPtr box, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_shift_scale_float(IntPtr box, double shift, double width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_shift_scale_int(IntPtr box, int shift, int width, [MarshalAs(UnmanagedType.I1)] bool hasshift, [MarshalAs(UnmanagedType.I1)] bool haswidth); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbox_shift_scale_time(IntPtr box, IntPtr shift, IntPtr duration); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_tbox_tbox(IntPtr box1, IntPtr box2, [MarshalAs(UnmanagedType.I1)] bool strict); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool inter_tbox_tbox(IntPtr box1, IntPtr box2, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr union_stbox_stbox(IntPtr box1, IntPtr box2, [MarshalAs(UnmanagedType.I1)] bool strict); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool inter_stbox_stbox(IntPtr box1, IntPtr box2, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intersection_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool below_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbelow_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool above_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overabove_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool front_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overfront_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool back_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overback_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_quad_split(IntPtr box, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_eq(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_ne(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tbox_cmp(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_lt(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_le(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_ge(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbox_gt(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_eq(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_ne(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int stbox_cmp(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_lt(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_le(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_ge(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool stbox_gt(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbool_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tbool_out(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string temporal_as_hexwkb(IntPtr temp, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string temporal_as_mfjson(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool with_bbox, int flags, int precision, string srs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_as_wkb(IntPtr temp, byte variant, IntPtr size_out); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_from_hexwkb(string hexwkb); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_from_mfjson(string mfjson); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_from_wkb(IntPtr wkb, ulong size); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tfloat_out(IntPtr temp, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeogpoint_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompoint_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tint_out(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tpoint_as_ewkt(IntPtr temp, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tpoint_as_text(IntPtr temp, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string tpoint_out(IntPtr temp, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_in(string str); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string ttext_out(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_cp(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbool_from_base_temp([MarshalAs(UnmanagedType.I1)] bool b, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolinst_make([MarshalAs(UnmanagedType.I1)] bool b, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolseq_from_base_tstzset([MarshalAs(UnmanagedType.I1)] bool b, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolseq_from_base_tstzspan([MarshalAs(UnmanagedType.I1)] bool b, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tboolseqset_from_base_tstzspanset([MarshalAs(UnmanagedType.I1)] bool b, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_copy(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_from_base_temp(double d, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatinst_make(double d, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatseq_from_base_tstzspan(double d, IntPtr s, InterpolationType interp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatseq_from_base_tstzset(double d, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatseqset_from_base_tstzspanset(double d, IntPtr ss, InterpolationType interp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_from_base_temp(int i, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintinst_make(int i, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintseq_from_base_tstzspan(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintseq_from_base_tstzset(int i, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintseqset_from_base_tstzspanset(int i, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_from_base_temp(IntPtr gs, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointinst_make(IntPtr gs, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseq_from_base_tstzspan(IntPtr gs, IntPtr s, InterpolationType interp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseq_from_base_tstzset(IntPtr gs, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointseqset_from_base_tstzspanset(IntPtr gs, IntPtr ss, InterpolationType interp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequence_make(IntPtr instants, int count, [MarshalAs(UnmanagedType.I1)] bool lower_inc, [MarshalAs(UnmanagedType.I1)] bool upper_inc, InterpolationType interp, [MarshalAs(UnmanagedType.I1)] bool normalize); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_make(IntPtr sequences, int count, [MarshalAs(UnmanagedType.I1)] bool normalize); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tsequenceset_make_gaps(IntPtr instants, int count, InterpolationType interp, IntPtr maxt, double maxdist); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_from_base_temp(IntPtr txt, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextinst_make(IntPtr txt, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextseq_from_base_tstzspan(IntPtr txt, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextseq_from_base_tstzset(IntPtr txt, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttextseqset_from_base_tstzspanset(IntPtr txt, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_to_tstzspan(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_to_tint(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_to_tfloat(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_to_span(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbool_end_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbool_start_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbool_values(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_duration(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool boundspan); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_end_instant(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_end_sequence(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long temporal_end_timestamptz(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial uint temporal_hash(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_instant_n(IntPtr temp, int n); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_instants(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string temporal_interp(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_max_instant(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_min_instant(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int temporal_num_instants(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int temporal_num_sequences(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int temporal_num_timestamps(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_segments(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_sequence_n(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_sequences(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_start_instant(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_start_sequence(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long temporal_start_timestamptz(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_stops(IntPtr temp, double maxdist, IntPtr minduration); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial string temporal_subtype(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_time(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool temporal_timestamptz_n(IntPtr temp, int n, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_timestamps(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tfloat_end_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tfloat_max_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tfloat_min_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tfloat_start_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_values(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tint_end_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tint_max_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tint_min_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tint_start_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_values(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_valuespans(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_end_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_start_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_values(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_end_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_max_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_min_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_start_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_values(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_scale_time(IntPtr temp, IntPtr duration); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_set_interp(IntPtr temp, InterpolationType interp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_shift_scale_time(IntPtr temp, IntPtr shift, IntPtr duration); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_shift_time(IntPtr temp, IntPtr shift); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_to_tinstant(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_to_tsequence(IntPtr temp, InterpolationType interp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_to_tsequenceset(IntPtr temp, InterpolationType interp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_scale_value(IntPtr temp, double width); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_shift_scale_value(IntPtr temp, double shift, double width); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_shift_value(IntPtr temp, double shift); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_scale_value(IntPtr temp, int width); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_shift_scale_value(IntPtr temp, int shift, int width); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_shift_value(IntPtr temp, int shift); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_append_tinstant(IntPtr temp, IntPtr inst, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.I1)] bool expand); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_append_tsequence(IntPtr temp, IntPtr seq, [MarshalAs(UnmanagedType.I1)] bool expand); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_delete_tstzspan(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.I1)] bool connect); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_delete_tstzspanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.I1)] bool connect); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_delete_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.I1)] bool connect); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_delete_tstzset(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.I1)] bool connect); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_insert(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.I1)] bool connect); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_merge(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_merge_array(IntPtr temparr, int count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_update(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.I1)] bool connect); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbool_at_value(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbool_minus_value(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbool_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.I1)] bool strict, IntPtr value); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_at_max(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_at_min(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_at_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_at_tstzspanset(IntPtr temp, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_at_timestamptz(IntPtr temp, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_at_tstzset(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_at_values(IntPtr temp, IntPtr set); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_minus_max(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_minus_min(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_minus_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_minus_tstzspanset(IntPtr temp, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_minus_timestamptz(IntPtr temp, long t); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_minus_tstzset(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_minus_values(IntPtr temp, IntPtr set); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_at_value(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_minus_value(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tfloat_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.I1)] bool strict, IntPtr value); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_at_value(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_minus_value(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tint_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.I1)] bool strict, IntPtr value); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_at_span(IntPtr temp, IntPtr span); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_at_spanset(IntPtr temp, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_at_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_minus_span(IntPtr temp, IntPtr span); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_minus_spanset(IntPtr temp, IntPtr ss); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_minus_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_at_geom_time(IntPtr temp, IntPtr gs, IntPtr zspan, IntPtr period); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_at_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.I1)] bool border_inc); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_at_value(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_minus_geom_time(IntPtr temp, IntPtr gs, IntPtr zspan, IntPtr period); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_minus_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.I1)] bool border_inc); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_minus_value(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tpoint_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.I1)] bool strict, IntPtr value); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_at_value(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_minus_value(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool ttext_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.I1)] bool strict, IntPtr value); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int temporal_cmp(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool temporal_eq(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool temporal_ge(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool temporal_gt(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool temporal_le(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool temporal_lt(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool temporal_ne(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbool_always_eq(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tbool_ever_eq(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tfloat_always_eq(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tfloat_always_le(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tfloat_always_lt(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tfloat_ever_eq(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tfloat_ever_le(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tfloat_ever_lt(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tint_always_eq(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tint_always_le(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tint_always_lt(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tint_ever_eq(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tint_ever_le(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tint_ever_lt(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tpoint_always_eq(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tpoint_ever_eq(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool ttext_always_eq(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool ttext_always_le(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool ttext_always_lt(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool ttext_ever_eq(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool ttext_ever_le(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool ttext_ever_lt(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_bool_tbool([MarshalAs(UnmanagedType.I1)] bool b, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_float_tfloat(double d, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_int_tint(int i, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_point_tpoint(IntPtr gs, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_text_ttext(IntPtr txt, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_tfloat_float(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_tpoint_point(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_tint_int(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr teq_ttext_text(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tge_float_tfloat(double d, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tge_int_tint(int i, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tge_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tge_text_ttext(IntPtr txt, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tge_tfloat_float(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tge_tint_int(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tge_ttext_text(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgt_float_tfloat(double d, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgt_int_tint(int i, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgt_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgt_text_ttext(IntPtr txt, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgt_tfloat_float(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgt_tint_int(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgt_ttext_text(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tle_float_tfloat(double d, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tle_int_tint(int i, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tle_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tle_text_ttext(IntPtr txt, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tle_tfloat_float(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tle_tint_int(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tle_ttext_text(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tlt_float_tfloat(double d, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tlt_int_tint(int i, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tlt_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tlt_text_ttext(IntPtr txt, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tlt_tfloat_float(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tlt_tint_int(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tlt_ttext_text(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_bool_tbool([MarshalAs(UnmanagedType.I1)] bool b, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_float_tfloat(double d, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_int_tint(int i, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_point_tpoint(IntPtr gs, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_text_ttext(IntPtr txt, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_tfloat_float(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_tpoint_point(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_tint_int(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tne_ttext_text(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool adjacent_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contained_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool contains_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overlaps_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool same_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool above_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool above_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool above_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool after_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool back_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool back_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool back_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool before_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool below_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool below_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool below_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool front_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool front_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool front_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool left_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overabove_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overabove_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overabove_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overafter_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overback_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overback_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overback_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_temporal_tstzspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_temporal_temporal(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbefore_tstzspan_temporal(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbelow_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbelow_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overbelow_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overfront_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overfront_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overfront_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overleft_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool overright_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_numspan_tnumber(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_stbox_tpoint(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_tbox_tnumber(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_tnumber_numspan(IntPtr temp, IntPtr s); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool right_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tand_bool_tbool([MarshalAs(UnmanagedType.I1)] bool b, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tand_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tand_tbool_tbool(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbool_when_true(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnot_tbool(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tor_bool_tbool([MarshalAs(UnmanagedType.I1)] bool b, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tor_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool b); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tor_tbool_tbool(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr add_float_tfloat(double d, IntPtr tnumber); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr add_int_tint(int i, IntPtr tnumber); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr add_tfloat_float(IntPtr tnumber, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr add_tint_int(IntPtr tnumber, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr add_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr div_float_tfloat(double d, IntPtr tnumber); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr div_int_tint(int i, IntPtr tnumber); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr div_tfloat_float(IntPtr tnumber, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr div_tint_int(IntPtr tnumber, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr div_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double float_degrees(double value, [MarshalAs(UnmanagedType.I1)] bool normalize); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr mult_float_tfloat(double d, IntPtr tnumber); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr mult_int_tint(int i, IntPtr tnumber); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr mult_tfloat_float(IntPtr tnumber, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr mult_tint_int(IntPtr tnumber, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr mult_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr sub_float_tfloat(double d, IntPtr tnumber); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr sub_int_tint(int i, IntPtr tnumber); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr sub_tfloat_float(IntPtr tnumber, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr sub_tint_int(IntPtr tnumber, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr sub_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_round(IntPtr temp, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatarr_round(IntPtr temp, int count, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_degrees(IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool normalize); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_derivative(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_radians(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_abs(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_angular_difference(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_delta_value(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textcat_text_ttext(IntPtr txt, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textcat_ttext_text(IntPtr temp, IntPtr txt); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr textcat_ttext_ttext(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_upper(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_lower(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr distance_tfloat_float(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr distance_tint_int(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr distance_tnumber_tnumber(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr distance_tpoint_point(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr distance_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_stbox_geo(IntPtr box, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_stbox_stbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tbox_tbox(IntPtr box1, IntPtr box2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tfloat_float(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tfloat_tfloat(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int nad_tint_int(IntPtr temp, int i); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int nad_tint_tint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tnumber_tbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tpoint_geo(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tpoint_stbox(IntPtr temp, IntPtr box); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double nad_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nai_tpoint_geo(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr nai_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool shortestline_tpoint_geo(IntPtr temp, IntPtr gs, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool shortestline_tpoint_tpoint(IntPtr temp1, IntPtr temp2, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool bearing_point_point(IntPtr gs1, IntPtr gs2, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bearing_tpoint_point(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.I1)] bool invert); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr bearing_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_angular_difference(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_azimuth(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_convex_hull(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_cumulative_length(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tpoint_direction(IntPtr temp, IntPtr result); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_get_x(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_get_y(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_get_z(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - [return: MarshalAs(UnmanagedType.I1)] - public static partial bool tpoint_is_simple(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tpoint_length(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_speed(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int tpoint_srid(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_stboxes(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_trajectory(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geo_expand_space(IntPtr gs, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr geomeas_to_tpoint(IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeogpoint_to_tgeompoint(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tgeompoint_to_tgeogpoint(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_expand_space(IntPtr temp, double d); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_make_simple(IntPtr temp, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_round(IntPtr temp, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpointarr_round(IntPtr temp, int count, int maxdd); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_set_srid(IntPtr temp, int srid); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int econtains_geo_tpoint(IntPtr gs, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int edisjoint_tpoint_geo(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int edisjoint_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int edwithin_tpoint_geo(IntPtr temp, IntPtr gs, double dist); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int edwithin_tpoint_tpoint(IntPtr temp1, IntPtr temp2, double dist); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int eintersects_tpoint_geo(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int eintersects_tpoint_tpoint(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int etouches_tpoint_geo(IntPtr temp, IntPtr gs); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tcontains_geo_tpoint(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.I1)] bool restr, [MarshalAs(UnmanagedType.I1)] bool atvalue); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdisjoint_tpoint_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.I1)] bool restr, [MarshalAs(UnmanagedType.I1)] bool atvalue); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdwithin_tpoint_geo(IntPtr temp, IntPtr gs, double dist, [MarshalAs(UnmanagedType.I1)] bool restr, [MarshalAs(UnmanagedType.I1)] bool atvalue); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tdwithin_tpoint_tpoint(IntPtr temp1, IntPtr temp2, double dist, [MarshalAs(UnmanagedType.I1)] bool restr, [MarshalAs(UnmanagedType.I1)] bool atvalue); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintersects_tpoint_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.I1)] bool restr, [MarshalAs(UnmanagedType.I1)] bool atvalue); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttouches_tpoint_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.I1)] bool restr, [MarshalAs(UnmanagedType.I1)] bool atvalue); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbool_tand_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tbool_tor_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_extent_transfn(IntPtr s, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_tagg_finalfn(IntPtr state); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_tcount_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_tmax_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_tmin_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_tsum_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_tmax_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_tmin_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_tsum_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_extent_transfn(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnumber_integral(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_tavg_finalfn(IntPtr state); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tnumber_tavg_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double tnumber_twavg(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_extent_transfn(IntPtr box, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_tcentroid_finalfn(IntPtr state); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_tcentroid_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_twcentroid(IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_tmax_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr ttext_tmin_transfn(IntPtr state, IntPtr temp); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_tprecision(IntPtr temp, IntPtr duration, long origin); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_tsample(IntPtr temp, IntPtr duration, long origin); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double temporal_dyntimewarp_distance(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_dyntimewarp_path(IntPtr temp1, IntPtr temp2, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double temporal_frechet_distance(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_frechet_path(IntPtr temp1, IntPtr temp2, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double temporal_hausdorff_distance(IntPtr temp1, IntPtr temp2); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial double float_bucket(double value, double size, double origin); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr floatspan_bucket_list(IntPtr bounds, double size, double origin, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial int int_bucket(int value, int size, int origin); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr intspan_bucket_list(IntPtr bounds, int size, int origin, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tstzspan_bucket_list(IntPtr bounds, IntPtr duration, long origin, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_tile(IntPtr point, long t, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, [MarshalAs(UnmanagedType.I1)] bool hast); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr stbox_tile_list(IntPtr bounds, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tintbox_tile_list(IntPtr box, int xsize, IntPtr duration, int xorigin, long torigin, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloatbox_tile_list(IntPtr box, double xsize, IntPtr duration, double xorigin, long torigin, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr temporal_time_split(IntPtr temp, IntPtr duration, long torigin, IntPtr time_buckets, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_value_split(IntPtr temp, double size, double origin, IntPtr value_buckets, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tfloat_value_time_split(IntPtr temp, double size, IntPtr duration, double vorigin, long torigin, IntPtr value_buckets, IntPtr time_buckets, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial long timestamptz_bucket(long timestamp, IntPtr duration, long origin); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_value_split(IntPtr temp, int size, int origin, IntPtr value_buckets, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tint_value_time_split(IntPtr temp, int size, IntPtr duration, int vorigin, long torigin, IntPtr value_buckets, IntPtr time_buckets, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_space_split(IntPtr temp, float xsize, float ysize, float zsize, IntPtr sorigin, [MarshalAs(UnmanagedType.I1)] bool bitmatrix, IntPtr count); - - [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] - public static partial IntPtr tpoint_space_time_split(IntPtr temp, float xsize, float ysize, float zsize, IntPtr duration, IntPtr sorigin, long torigin, [MarshalAs(UnmanagedType.I1)] bool bitmatrix, IntPtr time_buckets, IntPtr count); - } - } -} +using System.CodeDom.Compiler; +using System.Runtime.InteropServices; + +using MEOS.NET.Enums; + +namespace MEOS.NET.Internal +{ + internal partial class MEOSExposedFunctions + { + [GeneratedCode("MEOS.NET.Builder.MEOSIDL", "0.1.0")] + private partial class MEOSExternalFunctions + { + private const string DllPath = "meos"; + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int date_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string date_out(int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int interval_cmp(IntPtr interv1, IntPtr interv2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr interval_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string interval_out(IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long time_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string time_out(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long timestamp_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string timestamp_out(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long timestamptz_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string timestamptz_out(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr rtree_create_intspan(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr rtree_create_bigintspan(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr rtree_create_floatspan(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr rtree_create_datespan(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr rtree_create_tstzspan(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr rtree_create_tbox(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr rtree_create_stbox(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void rtree_free(IntPtr rtree); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void rtree_insert(IntPtr rtree, IntPtr box, long id); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr rtree_search(IntPtr rtree, IntPtr query, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_error(int errlevel, int errcode, string format); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int meos_errno(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int meos_errno_set(int err); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int meos_errno_restore(int err); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int meos_errno_reset(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_initialize_timezone(string name); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_initialize_error_handler(IntPtr err_handler); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_finalize_timezone(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_finalize_projsrs(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_finalize_ways(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool meos_set_datestyle(string newval, IntPtr extra); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool meos_set_intervalstyle(string newval, int extra); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string meos_get_datestyle(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string meos_get_intervalstyle(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_set_spatial_ref_sys_csv(string path); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_initialize(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void meos_finalize(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int add_date_int(int d, int days); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr add_interval_interval(IntPtr interv1, IntPtr interv2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long add_timestamptz_interval(long t, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool bool_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string bool_out([MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr cstring2text(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long date_to_timestamp(int dateVal); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long date_to_timestamptz(int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double float_exp(double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double float_ln(double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double float_log10(double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string float8_out(double d, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double float_round(double d, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int int32_cmp(int l, int r); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int int64_cmp(long l, long r); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr interval_make(int years, int months, int weeks, int days, int hours, int mins, double secs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int minus_date_date(int d1, int d2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int minus_date_int(int d, int days); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long minus_timestamptz_interval(long t, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_timestamptz_timestamptz(long t1, long t2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr mul_interval_double(IntPtr interv, double factor); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int pg_date_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string pg_date_out(int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int pg_interval_cmp(IntPtr interv1, IntPtr interv2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr pg_interval_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string pg_interval_out(IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long pg_timestamp_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string pg_timestamp_out(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long pg_timestamptz_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string pg_timestamptz_out(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string text2cstring(IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int text_cmp(IntPtr txt1, IntPtr txt2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr text_copy(IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr text_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr text_initcap(IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr text_lower(IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string text_out(IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr text_upper(IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textcat_text_text(IntPtr txt1, IntPtr txt2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long timestamptz_shift(long t, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int timestamp_to_date(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int timestamptz_to_date(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string bigintset_out(IntPtr set); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintspan_expand(IntPtr s, long value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintspan_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string bigintspan_out(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintspanset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string bigintspanset_out(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr dateset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string dateset_out(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespan_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string datespan_out(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespanset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string datespanset_out(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string floatset_out(IntPtr set, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_expand(IntPtr s, double value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string floatspan_out(IntPtr s, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string floatspanset_out(IntPtr ss, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string intset_out(IntPtr set); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspan_expand(IntPtr s, int value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspan_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string intspan_out(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspanset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string intspanset_out(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string set_as_hexwkb(IntPtr s, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_as_wkb(IntPtr s, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_from_hexwkb(string hexwkb); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_from_wkb(IntPtr wkb, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string span_as_hexwkb(IntPtr s, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_as_wkb(IntPtr s, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_from_hexwkb(string hexwkb); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_from_wkb(IntPtr wkb, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string spanset_as_hexwkb(IntPtr ss, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_as_wkb(IntPtr ss, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_from_hexwkb(string hexwkb); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_from_wkb(IntPtr wkb, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string textset_out(IntPtr set); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tstzset_out(IntPtr set); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tstzspan_out(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tstzspanset_out(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintset_make(IntPtr values, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintspan_make(long lower, long upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr dateset_make(IntPtr values, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespan_make(int lower, int upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_make(IntPtr values, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_make(double lower, double upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intset_make(IntPtr values, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspan_make(int lower, int upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_copy(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_copy(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_copy(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_make(IntPtr spans, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textset_make(IntPtr values, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzset_make(IntPtr values, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_make(long lower, long upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigint_to_set(long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigint_to_span(int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigint_to_spanset(int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr date_to_set(int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr date_to_span(int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr date_to_spanset(int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr dateset_to_tstzset(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespan_to_tstzspan(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespanset_to_tstzspanset(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr float_to_set(double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr float_to_span(double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr float_to_spanset(double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_to_intset(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_to_intspan(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_to_intspanset(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr int_to_set(int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr int_to_span(int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr int_to_spanset(int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intset_to_floatset(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspan_to_floatspan(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspanset_to_floatspanset(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_to_span(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_to_spanset(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_to_spanset(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr text_to_set(IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr timestamptz_to_set(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr timestamptz_to_span(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr timestamptz_to_spanset(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzset_to_dateset(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_to_datespan(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_to_datespanset(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigintset_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigintset_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool bigintset_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintset_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigintspan_lower(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigintspan_upper(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigintspan_width(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigintspanset_lower(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigintspanset_upper(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigintspanset_width(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int dateset_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int dateset_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool dateset_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr dateset_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespan_duration(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int datespan_lower(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int datespan_upper(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool datespanset_date_n(IntPtr ss, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespanset_dates(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespanset_duration(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int datespanset_end_date(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int datespanset_num_dates(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int datespanset_start_date(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double floatset_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double floatset_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool floatset_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double floatspan_lower(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double floatspan_upper(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double floatspan_width(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double floatspanset_lower(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double floatspanset_upper(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double floatspanset_width(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int intset_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int intset_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool intset_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intset_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int intspan_lower(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int intspan_upper(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int intspan_width(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int intspanset_lower(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int intspanset_upper(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int intspanset_width(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint set_hash(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong set_hash_extended(IntPtr s, ulong seed); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int set_num_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint span_hash(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong span_hash_extended(IntPtr s, ulong seed); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_lower_inc(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_upper_inc(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_end_span(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint spanset_hash(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong spanset_hash_extended(IntPtr ss, ulong seed); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_lower_inc(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spanset_num_spans(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_span(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_span_n(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_spanarr(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_start_span(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_upper_inc(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textset_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textset_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool textset_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textset_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tstzset_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tstzset_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tstzset_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzset_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_duration(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tstzspan_lower(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tstzspan_upper(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_duration(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tstzspanset_end_timestamptz(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tstzspanset_lower(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tstzspanset_num_timestamps(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tstzspanset_start_timestamptz(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_timestamps(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tstzspanset_timestamptz_n(IntPtr ss, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tstzspanset_upper(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintset_shift_scale(IntPtr s, long shift, long width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintspan_shift_scale(IntPtr s, long shift, long width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintspanset_shift_scale(IntPtr ss, long shift, long width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr dateset_shift_scale(IntPtr s, int shift, int width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespan_shift_scale(IntPtr s, int shift, int width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespanset_shift_scale(IntPtr ss, int shift, int width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_ceil(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_degrees(IntPtr s, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_floor(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_radians(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatset_shift_scale(IntPtr s, double shift, double width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_ceil(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_degrees(IntPtr s, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_floor(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_radians(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_round(IntPtr s, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_shift_scale(IntPtr s, double shift, double width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_ceil(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_floor(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_degrees(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_radians(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_round(IntPtr ss, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_shift_scale(IntPtr ss, double shift, double width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intset_shift_scale(IntPtr s, int shift, int width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspan_shift_scale(IntPtr s, int shift, int width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspanset_shift_scale(IntPtr ss, int shift, int width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_expand(IntPtr s, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_round(IntPtr s, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textcat_text_textset(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textcat_textset_text(IntPtr s, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textset_initcap(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textset_lower(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textset_upper(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long timestamptz_tprecision(long t, IntPtr duration, long torigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzset_shift_scale(IntPtr s, IntPtr shift, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzset_tprecision(IntPtr s, IntPtr duration, long torigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_shift_scale(IntPtr s, IntPtr shift, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_tprecision(IntPtr s, IntPtr duration, long torigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_shift_scale(IntPtr ss, IntPtr shift, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_tprecision(IntPtr ss, IntPtr duration, long torigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int set_cmp(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_eq(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_ge(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_gt(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_le(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_lt(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_ne(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int span_cmp(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_eq(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_ge(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_gt(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_le(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_lt(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_ne(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spanset_cmp(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_eq(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_ge(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_gt(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_le(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_lt(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_ne(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_spans(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_split_each_n_spans(IntPtr s, int elems_per_span, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_split_n_spans(IntPtr s, int span_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_spans(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_split_each_n_spans(IntPtr ss, int elems_per_span, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_split_n_spans(IntPtr ss, int span_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_bigint_set(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_bigint_span(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_bigint_spanset(long i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_date_set(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_date_span(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_date_spanset(int d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_float_set(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_float_span(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_float_spanset(double d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_int_set(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_int_span(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_int_spanset(int i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_text_set(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_timestamptz_set(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_timestamptz_span(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_timestamptz_spanset(long t, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_text(IntPtr s, IntPtr t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_date_set(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_date_span(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_date_spanset(int d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_timestamptz_set(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_timestamptz_span(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_timestamptz_spanset(long t, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_date_set(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_date_span(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_date_spanset(int d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_timestamptz_set(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_timestamptz_span(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_timestamptz_spanset(long t, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_bigint_set(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_bigint_span(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_bigint_spanset(long i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_float_set(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_float_span(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_float_spanset(double d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_int_set(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_int_span(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_int_spanset(int i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_set_text(IntPtr s, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_text_set(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_date_set(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_date_span(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_date_spanset(int d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_timestamptz_set(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_timestamptz_span(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_timestamptz_spanset(long t, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_date_set(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_date_span(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_date_spanset(int d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_timestamptz_set(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_timestamptz_span(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_timestamptz_spanset(long t, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_bigint_set(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_bigint_span(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_bigint_spanset(long i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_float_set(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_float_span(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_float_spanset(double d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_int_set(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_int_span(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_int_spanset(int i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_set_text(IntPtr s, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_text_set(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_bigint_set(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_bigint_span(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_bigint_spanset(long i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_float_set(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_float_span(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_float_spanset(double d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_int_set(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_int_span(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_int_spanset(int i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_set_text(IntPtr s, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_text_set(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_bigint_set(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_bigint_span(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_bigint_spanset(long i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_float_set(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_float_span(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_float_spanset(double d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_int_set(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_int_span(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_int_spanset(int i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_set_text(IntPtr s, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_text_set(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_bigint_set(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_date_set(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_float_set(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_int_set(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_text(IntPtr s, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_text_set(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_timestamptz_set(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_bigint_set(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_bigint_span(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_bigint_spanset(long i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_date_set(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_date_span(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_date_spanset(int d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_float_set(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_float_span(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_float_spanset(double d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_int_set(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_int_span(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_int_spanset(int i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_text(IntPtr s, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_text_set(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_timestamptz_set(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_timestamptz_span(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_timestamptz_spanset(long t, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_bigint_set(long i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_bigint_span(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_bigint_spanset(long i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_date_set(int d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_date_span(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_date_spanset(int d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_float_set(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_float_span(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_float_spanset(double d, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_int_set(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_int_span(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_int_spanset(int i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_text(IntPtr s, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_span_spanset(IntPtr s, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_text_set(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_timestamptz_set(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_timestamptz_span(long t, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_timestamptz_spanset(long t, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long distance_bigintset_bigintset(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long distance_bigintspan_bigintspan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long distance_bigintspanset_bigintspan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long distance_bigintspanset_bigintspanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_dateset_dateset(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_datespan_datespan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_datespanset_datespan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_datespanset_datespanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_floatset_floatset(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_floatspan_floatspan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_floatspanset_floatspan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_floatspanset_floatspanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_intset_intset(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_intspan_intspan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_intspanset_intspan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_intspanset_intspanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long distance_set_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_set_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_set_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_set_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_set_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long distance_span_bigint(IntPtr s, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_span_date(IntPtr s, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_span_float(IntPtr s, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_span_int(IntPtr s, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_span_timestamptz(IntPtr s, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long distance_spanset_bigint(IntPtr ss, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_spanset_date(IntPtr ss, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_spanset_float(IntPtr ss, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int distance_spanset_int(IntPtr ss, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_spanset_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_tstzset_tstzset(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_tstzspan_tstzspan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_tstzspanset_tstzspan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double distance_tstzspanset_tstzspanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigint_extent_transfn(IntPtr state, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigint_union_transfn(IntPtr state, long i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr date_extent_transfn(IntPtr state, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr date_union_transfn(IntPtr state, int d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr float_extent_transfn(IntPtr state, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr float_union_transfn(IntPtr state, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr int_extent_transfn(IntPtr state, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr int_union_transfn(IntPtr state, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_extent_transfn(IntPtr state, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_union_finalfn(IntPtr state); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_union_transfn(IntPtr state, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_extent_transfn(IntPtr state, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_union_transfn(IntPtr state, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_extent_transfn(IntPtr state, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_union_finalfn(IntPtr state); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_union_transfn(IntPtr state, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr text_union_transfn(IntPtr state, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr timestamptz_extent_transfn(IntPtr state, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr timestamptz_union_transfn(IntPtr state, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long bigint_get_bin(long value, long vsize, long vorigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintspan_bins(IntPtr s, long vsize, long vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bigintspanset_bins(IntPtr ss, long vsize, long vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int date_get_bin(int d, IntPtr duration, int torigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespan_bins(IntPtr s, IntPtr duration, int torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr datespanset_bins(IntPtr ss, IntPtr duration, int torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double float_get_bin(double value, double vsize, double vorigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspan_bins(IntPtr s, double vsize, double vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr floatspanset_bins(IntPtr ss, double vsize, double vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int int_get_bin(int value, int vsize, int vorigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspan_bins(IntPtr s, int vsize, int vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intspanset_bins(IntPtr ss, int vsize, int vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long timestamptz_get_bin(long t, IntPtr duration, long torigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_bins(IntPtr s, IntPtr duration, long origin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_bins(IntPtr ss, IntPtr duration, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tbox_as_hexwkb(IntPtr box, IntPtr variant, IntPtr size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_as_wkb(IntPtr box, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_from_hexwkb(string hexwkb); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_from_wkb(IntPtr wkb, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tbox_out(IntPtr box, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr float_timestamptz_to_tbox(double d, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr float_tstzspan_to_tbox(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr int_timestamptz_to_tbox(int i, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr int_tstzspan_to_tbox(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr numspan_tstzspan_to_tbox(IntPtr span, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr numspan_timestamptz_to_tbox(IntPtr span, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_copy(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_make(IntPtr s, IntPtr p); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr float_to_tbox(double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr int_to_tbox(int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_to_tbox(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_to_tbox(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_to_tbox(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_to_intspan(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_to_floatspan(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_to_tstzspan(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr timestamptz_to_tbox(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint tbox_hash(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tbox_hash_extended(IntPtr box, ulong seed); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_hast(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_hasx(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_tmax(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_tmax_inc(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_tmin(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_tmin_inc(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_xmax(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_xmax_inc(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_xmin(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_xmin_inc(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tboxfloat_xmax(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tboxfloat_xmin(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tboxint_xmax(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tboxint_xmin(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_expand_time(IntPtr box, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_round(IntPtr box, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_shift_scale_time(IntPtr box, IntPtr shift, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatbox_expand(IntPtr box, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatbox_shift_scale(IntPtr box, double shift, double width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintbox_expand(IntPtr box, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintbox_shift_scale(IntPtr box, int shift, int width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_tbox_tbox(IntPtr box1, IntPtr box2, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tbox_cmp(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_eq(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_ge(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_gt(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_le(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_lt(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbox_ne(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_from_mfjson(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tbool_out(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string temporal_as_hexwkb(IntPtr temp, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string temporal_as_mfjson(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool with_bbox, int flags, int precision, string srs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_as_wkb(IntPtr temp, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_from_hexwkb(string hexwkb); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_from_wkb(IntPtr wkb, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_from_mfjson(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tfloat_out(IntPtr temp, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_from_mfjson(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tint_out(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_from_mfjson(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string ttext_out(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_from_base_temp([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolinst_make([MarshalAs(UnmanagedType.U1)] bool b, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseq_from_base_tstzset([MarshalAs(UnmanagedType.U1)] bool b, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseq_from_base_tstzspan([MarshalAs(UnmanagedType.U1)] bool b, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseqset_from_base_tstzspanset([MarshalAs(UnmanagedType.U1)] bool b, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_copy(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_from_base_temp(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatinst_make(double d, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseq_from_base_tstzset(double d, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseq_from_base_tstzspan(double d, IntPtr s, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseqset_from_base_tstzspanset(double d, IntPtr ss, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_from_base_temp(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintinst_make(int i, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseq_from_base_tstzset(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseq_from_base_tstzspan(int i, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseqset_from_base_tstzspanset(int i, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_make(IntPtr instants, int count, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int interp, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_make(IntPtr sequences, int count, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_make_gaps(IntPtr instants, int count, int interp, IntPtr maxt, double maxdist); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_from_base_temp(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextinst_make(IntPtr txt, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseq_from_base_tstzset(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseq_from_base_tstzspan(IntPtr txt, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseqset_from_base_tstzspanset(IntPtr txt, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_to_tint(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_to_tstzspan(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_to_tint(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_to_tfloat(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_to_span(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_to_tbox(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbool_end_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbool_start_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbool_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tbool_value_n(IntPtr temp, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_values(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_duration(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_end_instant(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_end_sequence(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long temporal_end_timestamptz(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint temporal_hash(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_instant_n(IntPtr temp, int n); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_instants(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string temporal_interp(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_lower_inc(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_max_instant(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_min_instant(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int temporal_num_instants(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int temporal_num_sequences(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int temporal_num_timestamps(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_segm_duration(IntPtr temp, IntPtr duration, [MarshalAs(UnmanagedType.U1)] bool atleast, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_segments(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_sequence_n(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_sequences(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_start_instant(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_start_sequence(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long temporal_start_timestamptz(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_stops(IntPtr temp, double maxdist, IntPtr minduration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string temporal_subtype(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_time(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_timestamps(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_timestamptz_n(IntPtr temp, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_upper_inc(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tfloat_avg_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tfloat_end_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tfloat_min_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tfloat_max_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tfloat_start_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tfloat_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tfloat_value_n(IntPtr temp, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_values(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tint_end_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tint_max_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tint_min_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tint_start_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tint_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tint_value_n(IntPtr temp, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_values(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumber_avg_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumber_integral(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumber_twavg(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_valuespans(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_end_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_max_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_min_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_start_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ttext_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ttext_value_n(IntPtr temp, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_values(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double float_degrees(double value, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temparr_round(IntPtr temp, int count, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_round(IntPtr temp, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_scale_time(IntPtr temp, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_set_interp(IntPtr temp, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_shift_scale_time(IntPtr temp, IntPtr shift, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_shift_time(IntPtr temp, IntPtr shift); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_to_tinstant(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_to_tsequence(IntPtr temp, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_to_tsequenceset(IntPtr temp, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_ceil(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_degrees(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_floor(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_radians(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_scale_value(IntPtr temp, double width); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_shift_scale_value(IntPtr temp, double shift, double width); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_shift_value(IntPtr temp, double shift); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_scale_value(IntPtr temp, int width); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_shift_scale_value(IntPtr temp, int shift, int width); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_shift_value(IntPtr temp, int shift); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_append_tinstant(IntPtr temp, IntPtr inst, int interp, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_append_tsequence(IntPtr temp, IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_delete_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_delete_tstzset(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_delete_tstzspan(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_delete_tstzspanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_insert(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_merge(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_merge_array(IntPtr temparr, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_update(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_at_value(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_minus_value(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_after_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_at_max(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_at_min(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_at_timestamptz(IntPtr temp, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_at_tstzset(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_at_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_at_tstzspanset(IntPtr temp, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_at_values(IntPtr temp, IntPtr set); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_before_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_minus_max(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_minus_min(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_minus_timestamptz(IntPtr temp, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_minus_tstzset(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_minus_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_minus_tstzspanset(IntPtr temp, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_minus_values(IntPtr temp, IntPtr set); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_at_value(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_minus_value(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_at_value(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_minus_value(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_at_span(IntPtr temp, IntPtr span); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_at_spanset(IntPtr temp, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_at_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_minus_span(IntPtr temp, IntPtr span); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_minus_spanset(IntPtr temp, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_minus_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_at_value(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_minus_value(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int temporal_cmp(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_eq(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_ge(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_gt(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_le(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_lt(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_ne(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_bool_tbool([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_bool_tbool([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_bool_tbool([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_bool_tbool([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_bool_tbool([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tge_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tge_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tge_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tge_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tge_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tge_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tge_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgt_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgt_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgt_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgt_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgt_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgt_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgt_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tle_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tle_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tle_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tle_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tle_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tle_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tle_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tlt_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tlt_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tlt_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tlt_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tlt_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tlt_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tlt_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_bool_tbool([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_float_tfloat(double d, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_int_tint(int i, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_spans(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_split_each_n_spans(IntPtr temp, int elem_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_split_n_spans(IntPtr temp, int span_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_split_each_n_tboxes(IntPtr temp, int elem_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_split_n_tboxes(IntPtr temp, int box_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_tboxes(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_temporal_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_temporal_temporal(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_tstzspan_temporal(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_numspan_tnumber(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_tbox_tnumber(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_tnumber_numspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tand_bool_tbool([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tand_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tand_tbool_tbool(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_when_true(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnot_tbool(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tor_bool_tbool([MarshalAs(UnmanagedType.U1)] bool b, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tor_tbool_bool(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool b); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tor_tbool_tbool(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr add_float_tfloat(double d, IntPtr tnumber); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr add_int_tint(int i, IntPtr tnumber); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr add_tfloat_float(IntPtr tnumber, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr add_tint_int(IntPtr tnumber, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr add_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr div_float_tfloat(double d, IntPtr tnumber); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr div_int_tint(int i, IntPtr tnumber); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr div_tfloat_float(IntPtr tnumber, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr div_tint_int(IntPtr tnumber, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr div_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr mult_float_tfloat(double d, IntPtr tnumber); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr mult_int_tint(int i, IntPtr tnumber); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr mult_tfloat_float(IntPtr tnumber, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr mult_tint_int(IntPtr tnumber, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr mult_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr sub_float_tfloat(double d, IntPtr tnumber); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr sub_int_tint(int i, IntPtr tnumber); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr sub_tfloat_float(IntPtr tnumber, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr sub_tint_int(IntPtr tnumber, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr sub_tnumber_tnumber(IntPtr tnumber1, IntPtr tnumber2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_derivative(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_exp(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_ln(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_log10(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_abs(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_trend(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double float_angular_difference(double degrees1, double degrees2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_angular_difference(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_delta_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textcat_text_ttext(IntPtr txt, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textcat_ttext_text(IntPtr temp, IntPtr txt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textcat_ttext_ttext(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_initcap(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_upper(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_lower(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tboxfloat_tboxfloat(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int nad_tboxint_tboxint(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tfloat_float(IntPtr temp, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tfloat_tfloat(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tfloat_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int nad_tint_int(IntPtr temp, int i); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int nad_tint_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int nad_tint_tint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_tand_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbool_tor_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_extent_transfn(IntPtr s, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_tagg_finalfn(IntPtr state); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_tcount_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_tmax_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_tmin_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_tsum_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_wmax_transfn(IntPtr state, IntPtr temp, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_wmin_transfn(IntPtr state, IntPtr temp, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_wsum_transfn(IntPtr state, IntPtr temp, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr timestamptz_tcount_transfn(IntPtr state, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_tmax_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_tmin_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_tsum_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_wmax_transfn(IntPtr state, IntPtr temp, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_wmin_transfn(IntPtr state, IntPtr temp, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_wsum_transfn(IntPtr state, IntPtr temp, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_extent_transfn(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_tavg_finalfn(IntPtr state); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_tavg_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_wavg_transfn(IntPtr state, IntPtr temp, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzset_tcount_transfn(IntPtr state, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_tcount_transfn(IntPtr state, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_tcount_transfn(IntPtr state, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_tmax_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttext_tmin_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_simplify_dp(IntPtr temp, double eps_dist, [MarshalAs(UnmanagedType.U1)] bool synchronized); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_simplify_max_dist(IntPtr temp, double eps_dist, [MarshalAs(UnmanagedType.U1)] bool synchronized); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_simplify_min_dist(IntPtr temp, double dist); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_simplify_min_tdelta(IntPtr temp, IntPtr mint); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_tprecision(IntPtr temp, IntPtr duration, long origin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_tsample(IntPtr temp, IntPtr duration, long origin, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double temporal_dyntimewarp_distance(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_dyntimewarp_path(IntPtr temp1, IntPtr temp2, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double temporal_frechet_distance(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_frechet_path(IntPtr temp1, IntPtr temp2, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double temporal_hausdorff_distance(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_time_bins(IntPtr temp, IntPtr duration, long origin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_time_split(IntPtr temp, IntPtr duration, long torigin, IntPtr time_bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_time_boxes(IntPtr temp, IntPtr duration, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_value_bins(IntPtr temp, double vsize, double vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_value_boxes(IntPtr temp, double vsize, double vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_value_split(IntPtr temp, double size, double origin, IntPtr bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_value_time_boxes(IntPtr temp, double vsize, IntPtr duration, double vorigin, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloat_value_time_split(IntPtr temp, double vsize, IntPtr duration, double vorigin, long torigin, IntPtr value_bins, IntPtr time_bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatbox_time_tiles(IntPtr box, IntPtr duration, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatbox_value_tiles(IntPtr box, double vsize, double vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatbox_value_time_tiles(IntPtr box, double vsize, IntPtr duration, double vorigin, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_time_boxes(IntPtr temp, IntPtr duration, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_value_bins(IntPtr temp, int vsize, int vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_value_boxes(IntPtr temp, int vsize, int vorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_value_split(IntPtr temp, int vsize, int vorigin, IntPtr bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_value_time_boxes(IntPtr temp, int vsize, IntPtr duration, int vorigin, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tint_value_time_split(IntPtr temp, int size, IntPtr duration, int vorigin, long torigin, IntPtr value_bins, IntPtr time_bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintbox_time_tiles(IntPtr box, IntPtr duration, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintbox_value_tiles(IntPtr box, int xsize, int xorigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintbox_value_time_tiles(IntPtr box, int xsize, IntPtr duration, int xorigin, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temptype_subtype(int subtype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temptype_subtype_all(int subtype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tempsubtype_name(int subtype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tempsubtype_from_string(string str, IntPtr subtype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string meosoper_name(IntPtr oper); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr meosoper_from_string(string name); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string interptype_name(int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int interptype_from_string(string interp_str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string meostype_name(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int temptype_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int settype_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spantype_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spantype_spansettype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spansettype_spantype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int basetype_spantype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int basetype_settype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tnumber_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geo_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool meos_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool alphanum_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool alphanum_temptype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool time_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool numset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_numset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool timeset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_spantype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_set_spantype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool alphanumset_type(int settype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geoset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_geoset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spatialset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_spatialset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_canon_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool type_span_bbox(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool span_tbox_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_span_tbox_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool numspan_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool numspan_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_numspan_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool timespan_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool timespan_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spanset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool timespanset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_timespanset_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temptype_continuous(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool basetype_byvalue(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool basetype_varlength(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial short basetype_length(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool talphanum_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool talpha_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tnumber_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tnumber_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tnumber_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tnumber_spantype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spatial_basetype(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tspatial_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tspatial_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpoint_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tpoint_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tgeo_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tgeo_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tgeo_type_all(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tgeo_type_all(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tgeometry_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tgeometry_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tgeodetic_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tgeodetic_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ensure_tnumber_tpoint_type(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int geo_get_srid(IntPtr g); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_as_ewkb(IntPtr gs, string endian, IntPtr size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string geo_as_ewkt(IntPtr gs, int precision); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string geo_as_geojson(IntPtr gs, int option, int precision, string srs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string geo_as_hexewkb(IntPtr gs, string endian); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string geo_as_text(IntPtr gs, int precision); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_from_ewkb(IntPtr wkb, ulong wkb_size, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_from_geojson(string geojson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_from_text(string wkt, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string geo_out(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geog_from_binary(string wkb_bytea); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geog_from_hexewkb(string wkt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geog_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_from_hexewkb(string wkt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_in(string str, int typmod); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr box3d_make(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string box3d_out(IntPtr box, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr gbox_make([MarshalAs(UnmanagedType.U1)] bool hasz, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string gbox_out(IntPtr box, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_copy(IntPtr g); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geogpoint_make2d(int srid, double x, double y); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geogpoint_make3dz(int srid, double x, double y, double z); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geompoint_make2d(int srid, double x, double y); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geompoint_make3dz(int srid, double x, double y, double z); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_to_geog(IntPtr geom); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geog_to_geom(IntPtr geog); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geo_is_empty(IntPtr g); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geo_is_unitary(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string geo_typename(int type); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double geog_area(IntPtr g, [MarshalAs(UnmanagedType.U1)] bool use_spheroid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geog_centroid(IntPtr g, [MarshalAs(UnmanagedType.U1)] bool use_spheroid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double geog_length(IntPtr g, [MarshalAs(UnmanagedType.U1)] bool use_spheroid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double geog_perimeter(IntPtr g, [MarshalAs(UnmanagedType.U1)] bool use_spheroid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_azimuth(IntPtr gs1, IntPtr gs2, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double geom_length(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double geom_perimeter(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int line_numpoints(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr line_point_n(IntPtr geom, int n); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_reverse(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_round(IntPtr gs, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_set_srid(IntPtr gs, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int geo_srid(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_transform(IntPtr geom, int srid_to); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_transform_pipeline(IntPtr gs, string pipeline, int srid_to, [MarshalAs(UnmanagedType.U1)] bool is_forward); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_collect_garray(IntPtr gsarr, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_makeline_garray(IntPtr gsarr, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int geo_num_points(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int geo_num_geos(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_geo_n(IntPtr geom, int n); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_pointarr(IntPtr gs, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_points(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_array_union(IntPtr gsarr, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_boundary(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_buffer(IntPtr gs, double size, string @params); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_centroid(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_convex_hull(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_difference2d(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_intersection2d(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_intersection2d_coll(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_min_bounding_radius(IntPtr geom, IntPtr radius); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_shortestline2d(IntPtr gs1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_shortestline3d(IntPtr gs1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_unary_union(IntPtr gs, double prec); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr line_interpolate_point(IntPtr gs, double distance_fraction, [MarshalAs(UnmanagedType.U1)] bool repeat); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double line_locate_point(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr line_substring(IntPtr gs, double from, double to); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geog_dwithin(IntPtr g1, IntPtr g2, double tolerance, [MarshalAs(UnmanagedType.U1)] bool use_spheroid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geog_intersects(IntPtr gs1, IntPtr gs2, [MarshalAs(UnmanagedType.U1)] bool use_spheroid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_contains(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_covers(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_disjoint2d(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_dwithin2d(IntPtr gs1, IntPtr gs2, double tolerance); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_dwithin3d(IntPtr gs1, IntPtr gs2, double tolerance); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_intersects2d(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_intersects3d(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_relate_pattern(IntPtr gs1, IntPtr gs2, string patt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geom_touches(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_stboxes(IntPtr gs, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_split_each_n_stboxes(IntPtr gs, int elem_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_split_n_stboxes(IntPtr gs, int box_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double geog_distance(IntPtr g1, IntPtr g2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double geom_distance2d(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double geom_distance3d(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int geo_equals(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geo_same(IntPtr gs1, IntPtr gs2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geogset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geomset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string spatialset_as_text(IntPtr set, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string spatialset_as_ewkt(IntPtr set, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geoset_make(IntPtr values, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_to_set(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geoset_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geoset_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geoset_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geoset_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_geo_set(IntPtr gs, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_geo(IntPtr s, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_union_transfn(IntPtr state, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_geo_set(IntPtr gs, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_geo(IntPtr s, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_geo_set(IntPtr gs, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_geo(IntPtr s, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_geo_set(IntPtr gs, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_geo(IntPtr s, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spatialset_set_srid(IntPtr s, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spatialset_srid(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spatialset_transform(IntPtr s, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spatialset_transform_pipeline(IntPtr s, string pipelinestr, int srid, [MarshalAs(UnmanagedType.U1)] bool is_forward); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string stbox_as_hexwkb(IntPtr box, IntPtr variant, IntPtr size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_as_wkb(IntPtr box, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_from_hexwkb(string hexwkb); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_from_wkb(IntPtr wkb, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string stbox_out(IntPtr box, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_timestamptz_to_stbox(IntPtr gs, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_tstzspan_to_stbox(IntPtr gs, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_copy(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_make([MarshalAs(UnmanagedType.U1)] bool hasx, [MarshalAs(UnmanagedType.U1)] bool hasz, [MarshalAs(UnmanagedType.U1)] bool geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_to_stbox(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spatialset_to_stbox(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_to_box3d(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_to_gbox(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_to_geo(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_to_tstzspan(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr timestamptz_to_stbox(long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzset_to_stbox(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspan_to_stbox(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tstzspanset_to_stbox(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double stbox_area(IntPtr box, [MarshalAs(UnmanagedType.U1)] bool spheroid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint stbox_hash(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong stbox_hash_extended(IntPtr box, ulong seed); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_hast(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_hasx(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_hasz(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_isgeodetic(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double stbox_perimeter(IntPtr box, [MarshalAs(UnmanagedType.U1)] bool spheroid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_tmax(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_tmax_inc(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_tmin(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_tmin_inc(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double stbox_volume(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_xmax(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_xmin(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_ymax(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_ymin(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_zmax(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_zmin(IntPtr box, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_expand_space(IntPtr box, double d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_expand_time(IntPtr box, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_get_space(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_quad_split(IntPtr box, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_round(IntPtr box, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_shift_scale_time(IntPtr box, IntPtr shift, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stboxarr_round(IntPtr boxarr, int count, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_set_srid(IntPtr box, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int stbox_srid(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_transform(IntPtr box, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_transform_pipeline(IntPtr box, string pipelinestr, int srid, [MarshalAs(UnmanagedType.U1)] bool is_forward); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool above_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool back_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool below_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool front_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overabove_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overback_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbelow_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overfront_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_stbox_stbox(IntPtr box1, IntPtr box2, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int stbox_cmp(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_eq(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_ge(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_gt(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_le(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_lt(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool stbox_ne(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpoint_from_mfjson(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpoint_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeography_from_mfjson(string mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeography_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometry_from_mfjson(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometry_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompoint_from_mfjson(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompoint_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tspatial_as_ewkt(IntPtr temp, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tspatial_as_text(IntPtr temp, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tspatial_out(IntPtr temp, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_from_base_temp(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoinst_make(IntPtr gs, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseq_from_base_tstzset(IntPtr gs, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseq_from_base_tstzspan(IntPtr gs, IntPtr s, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseqset_from_base_tstzspanset(IntPtr gs, IntPtr ss, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_from_base_temp(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointinst_make(IntPtr gs, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseq_from_base_tstzset(IntPtr gs, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseq_from_base_tstzspan(IntPtr gs, IntPtr s, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseq_make_coords(IntPtr xcoords, IntPtr ycoords, IntPtr zcoords, IntPtr times, int count, int srid, [MarshalAs(UnmanagedType.U1)] bool geodetic, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int interp, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseqset_from_base_tstzspanset(IntPtr gs, IntPtr ss, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr box3d_to_stbox(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr gbox_to_stbox(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geomeas_to_tpoint(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpoint_to_tgeography(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeography_to_tgeogpoint(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeography_to_tgeometry(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometry_to_tgeography(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometry_to_tgeompoint(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompoint_to_tgeometry(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpoint_as_mvtgeom(IntPtr temp, IntPtr bounds, int extent, int buffer, [MarshalAs(UnmanagedType.U1)] bool clip_geom, IntPtr gsarr, IntPtr timesarr, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpoint_tfloat_to_geomeas(IntPtr tpoint, IntPtr measure, [MarshalAs(UnmanagedType.U1)] bool segmentize, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tspatial_to_stbox(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool bearing_point_point(IntPtr gs1, IntPtr gs2, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bearing_tpoint_point(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool invert); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr bearing_tpoint_tpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_centroid(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_convex_hull(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_end_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_start_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_traversed_area(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool unary_union); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tgeo_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tgeo_value_n(IntPtr temp, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_values(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_angular_difference(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_azimuth(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_cumulative_length(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpoint_direction(IntPtr temp, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_get_x(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_get_y(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_get_z(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpoint_is_simple(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tpoint_length(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_speed(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_trajectory(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool unary_union); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_twcentroid(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_affine(IntPtr temp, IntPtr a); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_scale(IntPtr temp, IntPtr scale, IntPtr sorigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_make_simple(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tspatial_srid(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tspatial_set_srid(IntPtr temp, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tspatial_transform(IntPtr temp, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tspatial_transform_pipeline(IntPtr temp, string pipelinestr, int srid, [MarshalAs(UnmanagedType.U1)] bool is_forward); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_at_geom(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_at_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_at_value(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_minus_geom(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_minus_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_minus_value(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_at_geom(IntPtr temp, IntPtr gs, IntPtr zspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_at_value(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_minus_geom(IntPtr temp, IntPtr gs, IntPtr zspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_minus_value(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_stboxes(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_space_boxes(IntPtr temp, double xsize, double ysize, double zsize, IntPtr sorigin, [MarshalAs(UnmanagedType.U1)] bool bitmatrix, [MarshalAs(UnmanagedType.U1)] bool border_inc, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_space_time_boxes(IntPtr temp, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, [MarshalAs(UnmanagedType.U1)] bool bitmatrix, [MarshalAs(UnmanagedType.U1)] bool border_inc, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_split_each_n_stboxes(IntPtr temp, int elem_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_split_n_stboxes(IntPtr temp, int box_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overlaps_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool same_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool above_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool above_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool above_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool after_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool back_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool back_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool back_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool before_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool below_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool below_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool below_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool front_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool front_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool front_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overabove_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overabove_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overabove_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overafter_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overback_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overback_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overback_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbefore_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbelow_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbelow_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overbelow_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overfront_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overfront_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overfront_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_stbox_tspatial(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_tspatial_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_tspatial_tspatial(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int acontains_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int acontains_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int acontains_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int adisjoint_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int adisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int adwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int adwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int aintersects_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int aintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int atouches_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int atouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int atouches_tpoint_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int econtains_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int econtains_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int econtains_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ecovers_geo_tgeo(IntPtr gs, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ecovers_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ecovers_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int edisjoint_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int edisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int edwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int edwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int eintersects_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int eintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int etouches_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int etouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int etouches_tpoint_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontains_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontains_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontains_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcovers_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcovers_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcovers_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdisjoint_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdisjoint_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdisjoint_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdwithin_geo_tgeo(IntPtr gs, IntPtr temp, double dist, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdwithin_tgeo_geo(IntPtr temp, IntPtr gs, double dist, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdwithin_tgeo_tgeo(IntPtr temp1, IntPtr temp2, double dist, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintersects_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintersects_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintersects_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttouches_geo_tgeo(IntPtr gs, IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttouches_tgeo_geo(IntPtr temp, IntPtr gs, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttouches_tgeo_tgeo(IntPtr temp1, IntPtr temp2, [MarshalAs(UnmanagedType.U1)] bool restr, [MarshalAs(UnmanagedType.U1)] bool atvalue); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_stbox_geo(IntPtr box, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_stbox_stbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tgeo_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nai_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nai_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr shortestline_tgeo_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr shortestline_tgeo_tgeo(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_tcentroid_finalfn(IntPtr state); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_tcentroid_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tspatial_extent_transfn(IntPtr box, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_get_space_tile(IntPtr point, double xsize, double ysize, double zsize, IntPtr sorigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_get_space_time_tile(IntPtr point, long t, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_get_time_tile(long t, IntPtr duration, long torigin); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_space_tiles(IntPtr bounds, double xsize, double ysize, double zsize, IntPtr sorigin, [MarshalAs(UnmanagedType.U1)] bool border_inc, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_space_time_tiles(IntPtr bounds, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, [MarshalAs(UnmanagedType.U1)] bool border_inc, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_time_tiles(IntPtr bounds, IntPtr duration, long torigin, [MarshalAs(UnmanagedType.U1)] bool border_inc, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_space_split(IntPtr temp, double xsize, double ysize, double zsize, IntPtr sorigin, [MarshalAs(UnmanagedType.U1)] bool bitmatrix, [MarshalAs(UnmanagedType.U1)] bool border_inc, IntPtr space_bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_space_time_split(IntPtr temp, double xsize, double ysize, double zsize, IntPtr duration, IntPtr sorigin, long torigin, [MarshalAs(UnmanagedType.U1)] bool bitmatrix, [MarshalAs(UnmanagedType.U1)] bool border_inc, IntPtr space_bins, IntPtr time_bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_cluster_kmeans(IntPtr geoms, uint ngeoms, uint k); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_cluster_dbscan(IntPtr geoms, uint ngeoms, double tolerance, int minpoints, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_cluster_intersecting(IntPtr geoms, uint ngeoms, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geo_cluster_within(IntPtr geoms, uint ngeoms, double tolerance, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr gsl_get_generation_rng(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr gsl_get_aggregation_rng(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong datum_ceil(ulong d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong datum_degrees(ulong d, ulong normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong datum_float_round(ulong value, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong datum_floor(ulong d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint datum_hash(ulong d, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong datum_hash_extended(ulong d, int basetype, ulong seed); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong datum_radians(ulong d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void floatspan_round_set(IntPtr s, int maxdd, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_in(string str, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string set_out(IntPtr s, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_in(string str, int spantype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string span_out(IntPtr s, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_in(string str, int spantype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string spanset_out(IntPtr ss, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_make(IntPtr values, int count, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_make_exp(IntPtr values, int count, int maxcount, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_make_free(IntPtr values, int count, int basetype, [MarshalAs(UnmanagedType.U1)] bool order); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_make(ulong lower, ulong upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void span_set(ulong lower, ulong upper, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int basetype, int spantype, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_make_exp(IntPtr spans, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool normalize, [MarshalAs(UnmanagedType.U1)] bool order); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_make_free(IntPtr spans, int count, [MarshalAs(UnmanagedType.U1)] bool normalize, [MarshalAs(UnmanagedType.U1)] bool order); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_span(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_spanset(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void value_set_span(ulong value, int basetype, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr value_set(ulong d, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr value_span(ulong d, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr value_spanset(ulong d, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong numspan_width(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong numspanset_width(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong set_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int set_mem_size(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void set_set_subspan(IntPtr s, int minidx, int maxidx, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void set_set_span(IntPtr s, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong set_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool set_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_vals(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong spanset_lower(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spanset_mem_size(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_sps(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong spanset_upper(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void datespan_set_tstzspan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void floatspan_set_intspan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void intspan_set_floatspan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr numset_shift_scale(IntPtr s, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr numspan_expand(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr numspan_shift_scale(IntPtr s, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr numspanset_shift_scale(IntPtr ss, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr set_compact(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void span_expand(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_compact(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_expand_value(IntPtr box, ulong value, int basetyp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr textcat_textset_text_common(IntPtr s, IntPtr txt, [MarshalAs(UnmanagedType.U1)] bool invert); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzspan_set_datespan(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool adjacent_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_value_set(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_value_span(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool ovadj_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_value_set(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_value_span(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool left_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool lfnadj_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_value_set(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_value_span(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overleft_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_value_set(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_value_span(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool overright_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_value_set(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_value_span(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool right_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool bbox_type(int bboxtype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong bbox_get_size(int bboxtype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int bbox_max_dims(int bboxtype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_bbox_eq(IntPtr box1, IntPtr box2, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int temporal_bbox_cmp(IntPtr box1, IntPtr box2, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void bbox_union_span_span(IntPtr s1, IntPtr s2, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool inter_span_span(IntPtr s1, IntPtr s2, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_value_set(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_value_span(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int mi_span_span(IntPtr s1, IntPtr s2, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_value_set(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_value_span(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr super_union_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_value_set(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_value_span(ulong value, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_value_spanset(ulong value, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong distance_set_set(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong distance_set_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong distance_span_span(IntPtr s1, IntPtr s2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong distance_span_value(IntPtr s, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong distance_spanset_span(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong distance_spanset_spanset(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong distance_spanset_value(IntPtr ss, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong distance_value_value(ulong l, ulong r, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanbase_extent_transfn(IntPtr state, ulong value, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr value_union_transfn(IntPtr state, ulong value, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr number_tstzspan_to_tbox(ulong d, int basetype, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr number_timestamptz_to_tbox(ulong d, int basetype, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tbox_set(IntPtr s, IntPtr p, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void float_set_tbox(double d, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void int_set_tbox(int i, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void number_set_tbox(ulong d, int basetype, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr number_tbox(ulong value, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void numset_set_tbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void numspan_set_tbox(IntPtr span, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void timestamptz_set_tbox(long t, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzset_set_tbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzspan_set_tbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_shift_scale_value(IntPtr box, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tbox_expand(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool inter_tbox_tbox(IntPtr box1, IntPtr box2, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolinst_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseq_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseqset_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tboolseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_in(string str, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string temporal_out(IntPtr temp, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temparr_out(IntPtr temparr, int count, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatinst_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseq_from_mfjson(IntPtr mfjson, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseqset_from_mfjson(IntPtr mfjson, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tfloatseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_in(string str, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tinstant_out(IntPtr inst, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintinst_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseq_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseqset_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tintseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_in(string str, int temptype, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tsequence_out(IntPtr seq, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_from_mfjson(IntPtr mfjson, [MarshalAs(UnmanagedType.U1)] bool spatial, int srid, int temptype, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_in(string str, int temptype, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tsequenceset_out(IntPtr ss, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextinst_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseq_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseqset_from_mfjson(IntPtr mfjson); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr ttextseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_from_mfjson(string mfjson, int temptype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_from_base_temp(ulong value, int temptype, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_copy(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_make(ulong value, int temptype, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_make_free(ulong value, int temptype, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_copy(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_from_base_temp(ulong value, int temptype, IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_from_base_tstzset(ulong value, int temptype, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_from_base_tstzspan(ulong value, int temptype, IntPtr s, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_make_exp(IntPtr instants, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int interp, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_make_free(IntPtr instants, int count, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc, int interp, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_copy(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tseqsetarr_to_tseqset(IntPtr seqsets, int count, int totalseqs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_from_base_temp(ulong value, int temptype, IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_from_base_tstzspanset(ulong value, int temptype, IntPtr ss, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_make_exp(IntPtr sequences, int count, int maxcount, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_make_free(IntPtr sequences, int count, [MarshalAs(UnmanagedType.U1)] bool normalize); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void temporal_set_tstzspan(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tinstant_set_tstzspan(IntPtr inst, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumber_set_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumberinst_set_tbox(IntPtr inst, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumberseq_set_tbox(IntPtr seq, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumberseqset_set_tbox(IntPtr ss, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequence_set_tstzspan(IntPtr seq, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequenceset_set_tstzspan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_end_inst(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_end_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_inst_n(IntPtr temp, int n); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_insts_p(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_max_inst_p(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_max_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_mem_size(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_min_inst_p(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_min_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_sequences_p(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void temporal_set_bbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_start_inst(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong temporal_start_value(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_values_p(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_value_n(IntPtr temp, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_values(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint tinstant_hash(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_insts(IntPtr inst, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tinstant_set_bbox(IntPtr inst, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_time(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_timestamps(IntPtr inst, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tinstant_value_p(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tinstant_value(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tinstant_value_at_timestamptz(IntPtr inst, long t, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_values_p(IntPtr inst, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tnumber_set_span(IntPtr temp, IntPtr span); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_valuespans(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseq_avg_val(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_valuespans(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseqset_avg_val(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_valuespans(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_duration(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tsequence_end_timestamptz(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint tsequence_hash(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_insts_p(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_max_inst_p(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tsequence_max_val(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_min_inst_p(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tsequence_min_val(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_segments(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_seqs(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tsequence_start_timestamptz(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_time(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_timestamps(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequence_value_at_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_values_p(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_duration(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool boundspan); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tsequenceset_end_timestamptz(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint tsequenceset_hash(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_inst_n(IntPtr ss, int n); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_insts_p(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_max_inst_p(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tsequenceset_max_val(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_min_inst_p(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong tsequenceset_min_val(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tsequenceset_num_instants(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tsequenceset_num_timestamps(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_segments(IntPtr ss, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_sequences_p(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tsequenceset_start_timestamptz(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_time(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequenceset_timestamptz_n(IntPtr ss, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_timestamps(IntPtr ss, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequenceset_value_at_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequenceset_value_n(IntPtr ss, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_values_p(IntPtr ss, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void temporal_restart(IntPtr temp, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_tsequence(IntPtr temp, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_tsequenceset(IntPtr temp, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_shift_time(IntPtr inst, IntPtr interv); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_to_tsequence(IntPtr inst, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_to_tsequence_free(IntPtr inst, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_to_tsequenceset(IntPtr inst, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_shift_scale_value(IntPtr temp, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_shift_value(IntPtr inst, ulong shift); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_shift_scale_value(IntPtr seq, ulong shift, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_shift_scale_value(IntPtr ss, ulong start, ulong width, [MarshalAs(UnmanagedType.U1)] bool hasshift, [MarshalAs(UnmanagedType.U1)] bool haswidth); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequence_restart(IntPtr seq, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_set_interp(IntPtr seq, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_shift_scale_time(IntPtr seq, IntPtr shift, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_subseq(IntPtr seq, int from, int to, [MarshalAs(UnmanagedType.U1)] bool lower_inc, [MarshalAs(UnmanagedType.U1)] bool upper_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_to_tinstant(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_to_tsequenceset(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_to_tsequenceset_free(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_to_tsequenceset_interp(IntPtr seq, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequenceset_restart(IntPtr ss, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_set_interp(IntPtr ss, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_shift_scale_time(IntPtr ss, IntPtr start, IntPtr duration); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_discrete(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_linear(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_step(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_tinstant(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_to_tsequence(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_merge(IntPtr inst1, IntPtr inst2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_merge_array(IntPtr instants, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_append_tinstant(IntPtr seq, IntPtr inst, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_append_tsequence(IntPtr seq1, IntPtr seq2, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_delete_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_delete_tstzset(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_delete_tstzspan(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_delete_tstzspanset(IntPtr seq, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_insert(IntPtr seq1, IntPtr seq2, [MarshalAs(UnmanagedType.U1)] bool connect); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_merge(IntPtr seq1, IntPtr seq2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_merge_array(IntPtr sequences, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_append_tinstant(IntPtr ss, IntPtr inst, double maxdist, IntPtr maxt, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_append_tsequence(IntPtr ss, IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool expand); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_delete_timestamptz(IntPtr ss, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_delete_tstzset(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_delete_tstzspan(IntPtr ss, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_delete_tstzspanset(IntPtr ss, IntPtr ps); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_insert(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_merge(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_merge_array(IntPtr seqsets, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequence_expand_bbox(IntPtr seq, IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequence_set_bbox(IntPtr seq, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequenceset_expand_bbox(IntPtr ss, IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tsequenceset_set_bbox(IntPtr ss, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontseq_after_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontseq_before_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tcontseq_restrict_minmax(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdiscseq_after_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdiscseq_before_timestamptz(IntPtr seq, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdiscseq_restrict_minmax(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_bbox_restrict_set(IntPtr temp, IntPtr set); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_minmax(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_tstzset(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_tstzspan(IntPtr temp, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_tstzspanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_value(IntPtr temp, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_restrict_values(IntPtr temp, IntPtr set, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool temporal_value_at_timestamptz(IntPtr temp, long t, [MarshalAs(UnmanagedType.U1)] bool strict, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_after_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_before_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_tstzspan(IntPtr inst, IntPtr period, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_tstzspanset(IntPtr inst, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_timestamptz(IntPtr inst, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_tstzset(IntPtr inst, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_value(IntPtr inst, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tinstant_restrict_values(IntPtr inst, IntPtr set, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_restrict_span(IntPtr temp, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_restrict_spanset(IntPtr temp, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_restrict_span(IntPtr inst, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_restrict_spanset(IntPtr inst, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_restrict_span(IntPtr ss, IntPtr span, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_restrict_spanset(IntPtr ss, IntPtr spanset, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_at_timestamptz(IntPtr seq, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_restrict_tstzspan(IntPtr seq, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_restrict_tstzspanset(IntPtr seq, IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_after_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_before_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool strict); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_minmax(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool min, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_tstzspan(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_tstzspanset(IntPtr ss, IntPtr ps, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_timestamptz(IntPtr ss, long t, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_tstzset(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_value(IntPtr ss, ulong value, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_restrict_values(IntPtr ss, IntPtr s, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tinstant_cmp(IntPtr inst1, IntPtr inst2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tinstant_eq(IntPtr inst1, IntPtr inst2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tsequence_cmp(IntPtr seq1, IntPtr seq2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequence_eq(IntPtr seq1, IntPtr seq2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tsequenceset_cmp(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tsequenceset_eq(IntPtr ss1, IntPtr ss2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ge_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_gt_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_le_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_lt_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ge_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_gt_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_le_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_base_temporal(ulong value, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_lt_temporal_base(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberinst_abs(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_abs(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_angular_difference(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseq_delta_value(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_abs(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_angular_difference(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumberseqset_delta_value(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tnumber_number(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tbox_tbox(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnumber_number(IntPtr temp, ulong value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnumber_tbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnumber_tnumber(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseq_integral(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseq_twavg(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseqset_integral(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnumberseqset_twavg(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_compact(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequence_compact(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tsequenceset_compact(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_skiplist_make(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr skiplist_make(ulong key_size, ulong value_size, IntPtr comp_fn, IntPtr merge_fn); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int skiplist_search(IntPtr list, IntPtr key, IntPtr value); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void skiplist_free(IntPtr list); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void skiplist_splice(IntPtr list, IntPtr keys, IntPtr values, int count, IntPtr func, [MarshalAs(UnmanagedType.U1)] bool crossings, IntPtr sktype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void temporal_skiplist_splice(IntPtr list, IntPtr values, int count, IntPtr func, [MarshalAs(UnmanagedType.U1)] bool crossings); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr skiplist_values(IntPtr list); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr skiplist_keys_values(IntPtr list, IntPtr values); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_app_tinst_transfn(IntPtr state, IntPtr inst, int interp, double maxdist, IntPtr maxt); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr temporal_app_tseq_transfn(IntPtr state, IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr span_bins(IntPtr s, ulong size, ulong origin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr spanset_bins(IntPtr ss, ulong size, ulong origin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_value_bins(IntPtr temp, ulong size, ulong origin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_value_time_boxes(IntPtr temp, ulong vsize, IntPtr duration, ulong vorigin, long torigin, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_value_split(IntPtr temp, ulong vsize, ulong vorigin, IntPtr bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tbox_get_value_time_tile(ulong value, long t, ulong vsize, IntPtr duration, ulong vorigin, long torigin, int basetype, int spantype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnumber_value_time_split(IntPtr temp, ulong size, IntPtr duration, ulong vorigin, long torigin, IntPtr value_bins, IntPtr time_bins, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr proj_get_context(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong datum_geo_round(ulong value, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr point_round(IntPtr gs, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void stbox_set([MarshalAs(UnmanagedType.U1)] bool hasx, [MarshalAs(UnmanagedType.U1)] bool hasz, [MarshalAs(UnmanagedType.U1)] bool geodetic, int srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void gbox_set_stbox(IntPtr box, int srid, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool geo_set_stbox(IntPtr gs, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void geoarr_set_stbox(IntPtr values, int count, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spatial_set_stbox(ulong d, int basetype, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void spatialset_set_stbox(IntPtr set, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void stbox_set_box3d(IntPtr box, IntPtr box3d); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void stbox_set_gbox(IntPtr box, IntPtr gbox); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzset_set_stbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzspan_set_stbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tstzspanset_set_stbox(IntPtr s, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void stbox_expand(IntPtr box1, IntPtr box2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool inter_stbox_stbox(IntPtr box1, IntPtr box2, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr stbox_geo(IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointinst_from_mfjson(IntPtr mfjson, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointseq_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeogpointseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointinst_from_mfjson(IntPtr mfjson, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointseq_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompointseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyinst_from_mfjson(IntPtr mfjson, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyseq_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeographyseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryinst_from_mfjson(IntPtr mfjson, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryinst_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryseq_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryseq_in(string str, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryseqset_from_mfjson(IntPtr mfjson, int srid, int interp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeometryseqset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatial_set_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tgeoinst_set_stbox(IntPtr inst, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatialseq_set_stbox(IntPtr seq, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatialseqset_set_stbox(IntPtr ss, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_restrict_geom(IntPtr temp, IntPtr gs, IntPtr zspan, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_restrict_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoinst_restrict_geom(IntPtr inst, IntPtr gs, IntPtr zspan, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoinst_restrict_stbox(IntPtr inst, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseq_restrict_geom(IntPtr seq, IntPtr gs, IntPtr zspan, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseq_restrict_stbox(IntPtr seq, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseqset_restrict_geom(IntPtr ss, IntPtr gs, IntPtr zspan, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseqset_restrict_stbox(IntPtr ss, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc, [MarshalAs(UnmanagedType.U1)] bool atfunc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int spatial_srid(ulong d, int basetype); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool spatial_set_srid(ulong d, int basetype, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int tspatialinst_srid(IntPtr inst); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseq_azimuth(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseq_cumulative_length(IntPtr seq, double prevlength); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpointseq_is_simple(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tpointseq_length(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseq_linear_trajectory(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool unary_union); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseq_stboxes(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseq_split_n_stboxes(IntPtr seq, int max_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseqset_azimuth(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseqset_cumulative_length(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool tpointseqset_is_simple(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tpointseqset_length(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseqset_stboxes(IntPtr ss, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeoseqset_split_n_stboxes(IntPtr ss, int max_count, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpoint_get_coord(IntPtr temp, int coord); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeominst_tgeoginst(IntPtr inst, [MarshalAs(UnmanagedType.U1)] bool oper); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeomseq_tgeogseq(IntPtr seq, [MarshalAs(UnmanagedType.U1)] bool oper); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeomseqset_tgeogseqset(IntPtr ss, [MarshalAs(UnmanagedType.U1)] bool oper); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeom_tgeog(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool oper); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeo_tpoint(IntPtr temp, [MarshalAs(UnmanagedType.U1)] bool oper); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatialinst_set_srid(IntPtr inst, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseq_make_simple(IntPtr seq, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatialseq_set_srid(IntPtr seq, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseqset_make_simple(IntPtr ss, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial void tspatialseqset_set_srid(IntPtr ss, int srid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseq_twcentroid(IntPtr seq); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tpointseqset_twcentroid(IntPtr ss); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string npoint_as_ewkt(IntPtr np, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string npoint_as_hexwkb(IntPtr np, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string npoint_as_text(IntPtr np, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_as_wkb(IntPtr np, IntPtr variant, IntPtr size_out); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_from_hexwkb(string hexwkb); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_from_wkb(IntPtr wkb, ulong size); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string npoint_out(IntPtr np, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nsegment_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string nsegment_out(IntPtr ns, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_make(long rid, double pos); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nsegment_make(long rid, double pos1, double pos2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geompoint_to_npoint(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr geom_to_nsegment(IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_to_geompoint(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_to_nsegment(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_to_stbox(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nsegment_to_geom(IntPtr ns); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nsegment_to_stbox(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial uint npoint_hash(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial ulong npoint_hash_extended(IntPtr np, ulong seed); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double npoint_position(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long npoint_route(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nsegment_end_position(IntPtr ns); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long nsegment_route(IntPtr ns); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nsegment_start_position(IntPtr ns); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool route_exists(long rid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr route_geom(long rid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double route_length(long rid); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_round(IntPtr np, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nsegment_round(IntPtr ns, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int get_srid_ways(); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int npoint_srid(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int nsegment_srid(IntPtr ns); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_timestamptz_to_stbox(IntPtr np, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_tstzspan_to_stbox(IntPtr np, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int npoint_cmp(IntPtr np1, IntPtr np2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_eq(IntPtr np1, IntPtr np2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_ge(IntPtr np1, IntPtr np2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_gt(IntPtr np1, IntPtr np2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_le(IntPtr np1, IntPtr np2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_lt(IntPtr np1, IntPtr np2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_ne(IntPtr np1, IntPtr np2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npoint_same(IntPtr np1, IntPtr np2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int nsegment_cmp(IntPtr ns1, IntPtr ns2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_eq(IntPtr ns1, IntPtr ns2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_ge(IntPtr ns1, IntPtr ns2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_gt(IntPtr ns1, IntPtr ns2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_le(IntPtr ns1, IntPtr ns2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_lt(IntPtr ns1, IntPtr ns2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool nsegment_ne(IntPtr ns1, IntPtr ns2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npointset_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string npointset_out(IntPtr s, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npointset_make(IntPtr values, int count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_to_set(IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npointset_end_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npointset_routes(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npointset_start_value(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool npointset_value_n(IntPtr s, int n, IntPtr result); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npointset_values(IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contained_npoint_set(IntPtr np, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + [return: MarshalAs(UnmanagedType.U1)] + public static partial bool contains_set_npoint(IntPtr s, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_npoint_set(IntPtr np, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr intersection_set_npoint(IntPtr s, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_npoint_set(IntPtr np, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr minus_set_npoint(IntPtr s, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr npoint_union_transfn(IntPtr state, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_npoint_set(IntPtr np, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr union_set_npoint(IntPtr s, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_in(string str); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial string tnpoint_out(IntPtr temp, int maxdd); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpointinst_make(IntPtr np, long t); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tgeompoint_to_tnpoint(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_to_tgeompoint(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_cumulative_length(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double tnpoint_length(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_positions(IntPtr temp, IntPtr count); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial long tnpoint_route(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_routes(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_speed(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_trajectory(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_twcentroid(IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_at_geom(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_at_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_at_npointset(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_at_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_minus_geom(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_minus_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_minus_npointset(IntPtr temp, IntPtr s); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_minus_stbox(IntPtr temp, IntPtr box, [MarshalAs(UnmanagedType.U1)] bool border_inc); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tnpoint_point(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tdistance_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnpoint_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnpoint_stbox(IntPtr temp, IntPtr box); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial double nad_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nai_tnpoint_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nai_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr nai_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr shortestline_tnpoint_geo(IntPtr temp, IntPtr gs); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr shortestline_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr shortestline_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tnpoint_tcentroid_transfn(IntPtr state, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_npoint_tnpoint(IntPtr np, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_eq_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_npoint_tnpoint(IntPtr np, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int always_ne_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_npoint_tnpoint(IntPtr np, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_eq_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_npoint_tnpoint(IntPtr np, IntPtr temp); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial int ever_ne_tnpoint_tnpoint(IntPtr temp1, IntPtr temp2); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr teq_tnpoint_npoint(IntPtr temp, IntPtr np); + + [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)] + public static partial IntPtr tne_tnpoint_npoint(IntPtr temp, IntPtr np); + + } + } +} diff --git a/MEOS.NET/Lifecycle/MEOSLifecycle.cs b/MEOS.NET/Lifecycle/MEOSLifecycle.cs index 18ba88c..29aa07e 100644 --- a/MEOS.NET/Lifecycle/MEOSLifecycle.cs +++ b/MEOS.NET/Lifecycle/MEOSLifecycle.cs @@ -1,14 +1,29 @@ -using MEOS.NET.Errors; +using System.Runtime.InteropServices; + +using MEOS.NET.Errors; using MEOS.NET.Internal; namespace MEOS.NET.Lifecycle { public static class MEOSLifecycle { + // Hold a managed reference to the error-handler delegate for the lifetime + // of the process so the GC does not free it while MEOS holds the + // function pointer. MEOS 1.3 `meos_initialize_error_handler` takes a + // raw `error_handler_fn` (function pointer / nint) rather than a P/Invoke + // delegate, so the call site marshals the delegate explicitly. + private static MEOSExposedFunctions.ErrorHandlingMethod? errorHandlerDelegate; + public static void Initialize(string timeZone) - => MEOSExposedFunctions.meos_initialize(timeZone, MEOSErrorHandling.InternalErrorHandler); + { + MEOSExposedFunctions.meos_initialize(); + MEOSExposedFunctions.meos_initialize_timezone(timeZone); + errorHandlerDelegate = MEOSErrorHandling.InternalErrorHandler; + var fnPtr = Marshal.GetFunctionPointerForDelegate(errorHandlerDelegate); + MEOSExposedFunctions.meos_initialize_error_handler(fnPtr); + } public static void Terminate() - => MEOSExposedFunctions.meos_finalize(); + => MEOSExposedFunctions.meos_finalize(); } } diff --git a/MEOS.NET/Types/Boxes/TemporalBox.cs b/MEOS.NET/Types/Boxes/TemporalBox.cs index d64e6d5..b8feb0d 100644 --- a/MEOS.NET/Types/Boxes/TemporalBox.cs +++ b/MEOS.NET/Types/Boxes/TemporalBox.cs @@ -1,6 +1,6 @@ -using MEOS.NET.Helpers; -using MEOS.NET.Internal; -using MEOS.NET.Structures; +using MEOS.NET.Helpers; +using MEOS.NET.Internal; +using MEOS.NET.Structures; using MEOS.NET.Types.Collections; using MEOS.NET.Types.Collections.Float; using MEOS.NET.Types.Collections.Integer; @@ -22,10 +22,10 @@ public static TemporalBox FromString(string input) } public static TemporalBox FromBytes(byte[] bytes) - { - var tBoxPtr = AllocHelper.AllocateArrayPointer(bytes, (bytesPtr) => - { - return MEOSExposedFunctions.tbox_from_wkb(bytesPtr, (ulong)bytes.Length); + { + var tBoxPtr = AllocHelper.AllocateArrayPointer(bytes, (bytesPtr) => + { + return MEOSExposedFunctions.tbox_from_wkb(bytesPtr, bytes.Length); }); return new TemporalBox(tBoxPtr); @@ -67,19 +67,19 @@ public static TemporalBox FromTime(DateTime timestamp) public static TemporalBox FromTime(TimestampTzSet set) { - var res = MEOSExposedFunctions.tstzset_to_tbox(set._ptr); + var res = MEOSExposedFunctions.set_to_tbox(set._ptr); return new TemporalBox(res); } public static TemporalBox FromTime(TimestampTzSpan span) { - var res = MEOSExposedFunctions.tstzspan_to_tbox(span._ptr); + var res = MEOSExposedFunctions.span_to_tbox(span._ptr); return new TemporalBox(res); } public static TemporalBox FromTime(TimestampTzSpanSet spanSet) { - var res = MEOSExposedFunctions.tstzspanset_to_tbox(spanSet._ptr); + var res = MEOSExposedFunctions.spanset_to_tbox(spanSet._ptr); return new TemporalBox(res); } @@ -150,23 +150,23 @@ public override string ToString() => this.Format(); public byte[] ToBytes() - { + { int arrSize = 0; - var arr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => - { + var arr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => + { var res = MEOSExposedFunctions.tbox_as_wkb(this._ptr, variant: 4, countPtr); - arrSize = countPtr.ToStructure(); - - return res; - }); - + arrSize = countPtr.ToStructure(); + + return res; + }); + return arr.ToArrayOfType(arrSize); } public string ToHexWKB() { - return AllocHelper.AllocatePointer(sizeof(int), (sizePtr) => - { + return AllocHelper.AllocatePointer(sizeof(int), (sizePtr) => + { return MEOSExposedFunctions.tbox_as_hexwkb(this._ptr, 0, sizePtr); }); } @@ -184,70 +184,70 @@ public TimestampTzSpan ToTimestampTzSpan() } public bool HasX() - => MEOSExposedFunctions.tbox_hasx(this._ptr); + => (MEOSExposedFunctions.tbox_hasx(this._ptr) != 0); public bool HasT() - => MEOSExposedFunctions.tbox_hast(this._ptr); + => (MEOSExposedFunctions.tbox_hast(this._ptr) != 0); public bool IsMinXInclusive() { - return AllocHelper.AllocatePointer(sizeof(bool), (resultPtr) => - { - var successful = MEOSExposedFunctions.tbox_xmin_inc(this._ptr, resultPtr); + return AllocHelper.AllocatePointer(sizeof(bool), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tbox_xmin_inc(this._ptr, resultPtr) != 0); return successful ? resultPtr.ToStructure() : false; }); } public bool IsMaxXInclusive() { - return AllocHelper.AllocatePointer(sizeof(bool), (resultPtr) => - { - var successful = MEOSExposedFunctions.tbox_xmax_inc(this._ptr, resultPtr); + return AllocHelper.AllocatePointer(sizeof(bool), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tbox_xmax_inc(this._ptr, resultPtr) != 0); return successful ? resultPtr.ToStructure() : false; }); } public bool IsMinTInclusive() { - return AllocHelper.AllocatePointer(sizeof(bool), (resultPtr) => - { - var successful = MEOSExposedFunctions.tbox_tmin_inc(this._ptr, resultPtr); + return AllocHelper.AllocatePointer(sizeof(bool), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tbox_tmin_inc(this._ptr, resultPtr) != 0); return successful ? resultPtr.ToStructure() : false; }); } public bool IsMaxTInclusive() { - return AllocHelper.AllocatePointer(sizeof(bool), (resultPtr) => - { - var successful = MEOSExposedFunctions.tbox_tmax_inc(this._ptr, resultPtr); + return AllocHelper.AllocatePointer(sizeof(bool), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tbox_tmax_inc(this._ptr, resultPtr) != 0); return successful ? resultPtr.ToStructure() : false; }); } public double MinX() - { - return AllocHelper.AllocatePointer(sizeof(double), (resultPtr) => - { - var successful = MEOSExposedFunctions.tbox_xmin(this._ptr, resultPtr); + { + return AllocHelper.AllocatePointer(sizeof(double), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tbox_xmin(this._ptr, resultPtr) != 0); return successful ? resultPtr.ToStructure() : throw new InvalidOperationException("No X Min available"); }); } public double MaxX() { - return AllocHelper.AllocatePointer(sizeof(double), (resultPtr) => - { - var successful = MEOSExposedFunctions.tbox_xmax(this._ptr, resultPtr); + return AllocHelper.AllocatePointer(sizeof(double), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tbox_xmax(this._ptr, resultPtr) != 0); return successful ? resultPtr.ToStructure() : throw new InvalidOperationException("No X Max available"); }); } public DateTime MinT() { - var timestamp = AllocHelper.AllocatePointer(sizeof(long), (resultPtr) => - { - var successful = MEOSExposedFunctions.tbox_tmin(this._ptr, resultPtr); + var timestamp = AllocHelper.AllocatePointer(sizeof(long), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tbox_tmin(this._ptr, resultPtr) != 0); return successful ? resultPtr.ToStructure() : throw new InvalidOperationException("No T Min available"); }); @@ -256,9 +256,9 @@ public DateTime MinT() public DateTime MaxT() { - var timestamp = AllocHelper.AllocatePointer(sizeof(long), (resultPtr) => - { - var successful = MEOSExposedFunctions.tbox_tmax(this._ptr, resultPtr); + var timestamp = AllocHelper.AllocatePointer(sizeof(long), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tbox_tmax(this._ptr, resultPtr) != 0); return successful ? resultPtr.ToStructure() : throw new InvalidOperationException("No T Max available"); }); @@ -266,25 +266,25 @@ public DateTime MaxT() } public bool IsLeftOf(TemporalBox other) - => MEOSExposedFunctions.left_tbox_tbox(this._ptr, other._ptr); + => (MEOSExposedFunctions.left_tbox_tbox(this._ptr, other._ptr) != 0); public bool IsLeftOf(TemporalNumber other) => this.IsLeftOf(other.BoundingBox()); public bool IsOverOrLeftOf(TemporalBox other) - => MEOSExposedFunctions.overleft_tbox_tbox(this._ptr, other._ptr); + => (MEOSExposedFunctions.overleft_tbox_tbox(this._ptr, other._ptr) != 0); public bool IsOverOrLeftOf(TemporalNumber other) => this.IsOverOrLeftOf(other.BoundingBox()); public bool IsRightOf(TemporalBox other) - => MEOSExposedFunctions.right_tbox_tbox(this._ptr, other._ptr); + => (MEOSExposedFunctions.right_tbox_tbox(this._ptr, other._ptr) != 0); public bool IsRightOf(TemporalNumber other) => this.IsRightOf(other.BoundingBox()); public bool IsOverOrRightOf(TemporalBox other) - => MEOSExposedFunctions.overright_tbox_tbox(this._ptr, other._ptr); + => (MEOSExposedFunctions.overright_tbox_tbox(this._ptr, other._ptr) != 0); public bool IsOverOrRightOf(TemporalNumber other) => this.IsOverOrRightOf(other.BoundingBox()); diff --git a/MEOS.NET/Types/Collections/Float/FloatSet.cs b/MEOS.NET/Types/Collections/Float/FloatSet.cs index b5f41a8..e85d556 100644 --- a/MEOS.NET/Types/Collections/Float/FloatSet.cs +++ b/MEOS.NET/Types/Collections/Float/FloatSet.cs @@ -1,5 +1,5 @@ -using MEOS.NET.Helpers; -using MEOS.NET.Internal; +using MEOS.NET.Helpers; +using MEOS.NET.Internal; using MEOS.NET.Types.Collections.Integer; namespace MEOS.NET.Types.Collections.Float @@ -9,16 +9,16 @@ public sealed class FloatSet : Set internal FloatSet(IntPtr ptr) : base(ptr) { } - internal static FloatSet FromValuesPointer(IntPtr valuesArray, int arrayLength) - { - var res = MEOSExposedFunctions.floatset_make(valuesArray, arrayLength); - return new FloatSet(res); + internal static FloatSet FromValuesPointer(IntPtr valuesArray, int arrayLength) + { + var res = MEOSExposedFunctions.floatset_make(valuesArray, arrayLength); + return new FloatSet(res); } - public IntegerSet ToIntegerSet() - { - var res = MEOSExposedFunctions.floatset_to_intset(this._ptr); - return new IntegerSet(res); + public IntegerSet ToIntegerSet() + { + var res = MEOSExposedFunctions.floatset_to_intset(this._ptr); + return new IntegerSet(res); } public double StartElement() @@ -36,10 +36,10 @@ public double ElementAt(int position) throw new ArgumentOutOfRangeException(nameof(position), $"Requested element must be between 0 and {count - 1}"); } - return AllocHelper.AllocatePointer(sizeof(double), (resultPtr) => - { - var successful = MEOSExposedFunctions.floatset_value_n(this._ptr, position, resultPtr); - return successful ? resultPtr.ToStructure() : throw new InvalidOperationException($"Could not retrieve element at position {position}"); + return AllocHelper.AllocatePointer(sizeof(double), (resultPtr) => + { + var successful = (MEOSExposedFunctions.floatset_value_n(this._ptr, position, resultPtr) != 0); + return successful ? resultPtr.ToStructure() : throw new InvalidOperationException($"Could not retrieve element at position {position}"); }); } @@ -49,53 +49,48 @@ public double this[int position] } public IEnumerable Values() - { - var count = this.Count(); - var valuesArrPtr = MEOSExposedFunctions.floatset_values(this._ptr); - - return valuesArrPtr.ToArrayOfType(count); - } + => MEOSExposedFunctions.floatset_values(this._ptr); public FloatSet Shift(double delta) { - var res = MEOSExposedFunctions.floatset_shift_scale(this._ptr, delta, 0.0, hasshift: true, haswidth: false); + var res = MEOSExposedFunctions.floatset_shift_scale(this._ptr, delta, 0.0, hasshift: (true ? 1 : 0), haswidth: (false ? 1 : 0)); return new FloatSet(res); } public FloatSet Scale(double newWidth) { - var res = MEOSExposedFunctions.floatset_shift_scale(this._ptr, 0.0, newWidth, hasshift: false, haswidth: true); + var res = MEOSExposedFunctions.floatset_shift_scale(this._ptr, 0.0, newWidth, hasshift: (false ? 1 : 0), haswidth: (true ? 1 : 0)); return new FloatSet(res); } public FloatSet ShiftScale(double delta, double newWidth) { - var res = MEOSExposedFunctions.floatset_shift_scale(this._ptr, delta, newWidth, hasshift: true, haswidth: true); + var res = MEOSExposedFunctions.floatset_shift_scale(this._ptr, delta, newWidth, hasshift: (true ? 1 : 0), haswidth: (true ? 1 : 0)); return new FloatSet(res); } public bool Contains(double value) - => MEOSExposedFunctions.contains_set_float(this._ptr, value); + => (MEOSExposedFunctions.contains_set_float(this._ptr, value) != 0); public bool IsLeftOf(double value) - => MEOSExposedFunctions.left_set_float(this._ptr, value); + => (MEOSExposedFunctions.left_set_float(this._ptr, value) != 0); public bool IsOverOrLeftOf(double value) - => MEOSExposedFunctions.overleft_set_float(this._ptr, value); + => (MEOSExposedFunctions.overleft_set_float(this._ptr, value) != 0); public bool IsRightOf(double value) - => MEOSExposedFunctions.right_set_float(this._ptr, value); + => (MEOSExposedFunctions.right_set_float(this._ptr, value) != 0); public bool IsOverOrRightOf(double value) - => MEOSExposedFunctions.overright_set_float(this._ptr, value); + => (MEOSExposedFunctions.overright_set_float(this._ptr, value) != 0); public FloatSet? IntersectionWith(double value) { var res = MEOSExposedFunctions.intersection_set_float(this._ptr, value); - if (res == IntPtr.Zero) - { - return default; + if (res == IntPtr.Zero) + { + return default; } return new FloatSet(res); @@ -103,11 +98,11 @@ public bool IsOverOrRightOf(double value) public FloatSet? IntersectionWith(FloatSet set) { - var res = MEOSExposedFunctions.intersection_set_set(this._ptr, set._ptr); - - if (res == IntPtr.Zero) - { - return default; + var res = MEOSExposedFunctions.intersection_set_set(this._ptr, set._ptr); + + if (res == IntPtr.Zero) + { + return default; } return new FloatSet(res); @@ -152,7 +147,7 @@ public double DistanceTo(double value) public double DistanceTo(FloatSet set) => MEOSExposedFunctions.distance_set_set(this._ptr, set._ptr); - public double DistanceTo(FloatSpan span) + public double DistanceTo(FloatSpan span) => this.ToSpanSet().DistanceTo(span); public double DistanceTo(FloatSpanSet spanSet) diff --git a/MEOS.NET/Types/Collections/Float/FloatSpan.cs b/MEOS.NET/Types/Collections/Float/FloatSpan.cs index 4daaef3..369bc91 100644 --- a/MEOS.NET/Types/Collections/Float/FloatSpan.cs +++ b/MEOS.NET/Types/Collections/Float/FloatSpan.cs @@ -16,7 +16,7 @@ public static FloatSpan FromString(string input) public static FloatSpan FromBounds(double xMin, double xMax, bool minInclusive = true, bool maxInclusive = false) { - var res = MEOSExposedFunctions.floatspan_make(xMin, xMax, minInclusive, maxInclusive); + var res = MEOSExposedFunctions.floatspan_make(xMin, xMax, (minInclusive ? 1 : 0), (maxInclusive ? 1 : 0)); return new FloatSpan(res); } @@ -43,54 +43,54 @@ public double UpperBound() public FloatSpan Shift(double delta) { - var res = MEOSExposedFunctions.floatspan_shift_scale(this._ptr, delta, 0.0, hasshift: true, haswidth: false); + var res = MEOSExposedFunctions.floatspan_shift_scale(this._ptr, delta, 0.0, hasshift: (true ? 1 : 0), haswidth: (false ? 1 : 0)); return new FloatSpan(res); } public FloatSpan Scale(double newWidth) { - var res = MEOSExposedFunctions.floatspan_shift_scale(this._ptr, 0.0, newWidth, hasshift: false, haswidth: true); + var res = MEOSExposedFunctions.floatspan_shift_scale(this._ptr, 0.0, newWidth, hasshift: (false ? 1 : 0), haswidth: (true ? 1 : 0)); return new FloatSpan(res); } public FloatSpan ShiftScale(double delta, double newWidth) { - var res = MEOSExposedFunctions.floatspan_shift_scale(this._ptr, delta, newWidth, hasshift: true, haswidth: true); + var res = MEOSExposedFunctions.floatspan_shift_scale(this._ptr, delta, newWidth, hasshift: (true ? 1 : 0), haswidth: (true ? 1 : 0)); return new FloatSpan(res); } public bool IsAdjacent(double number) - => MEOSExposedFunctions.adjacent_span_float(this._ptr, number); + => (MEOSExposedFunctions.adjacent_span_float(this._ptr, number) != 0); public bool IsAdjacent(int number) => this.IsAdjacent((double)number); public bool Contains(double number) - => MEOSExposedFunctions.contains_span_float(this._ptr, number); + => (MEOSExposedFunctions.contains_span_float(this._ptr, number) != 0); public bool Contains(int number) => this.Contains((double)number); public bool IsLeftOf(double number) - => MEOSExposedFunctions.left_span_float(this._ptr, number); + => (MEOSExposedFunctions.left_span_float(this._ptr, number) != 0); public bool IsLeftOf(int number) => this.IsLeftOf((double)number); public bool IsOverOrLeftOf(double number) - => MEOSExposedFunctions.overleft_span_float(this._ptr, number); + => (MEOSExposedFunctions.overleft_span_float(this._ptr, number) != 0); public bool IsOverOrLeftOf(int number) => this.IsOverOrLeftOf((double)number); public bool IsRightOf(double number) - => MEOSExposedFunctions.right_span_float(this._ptr, number); + => (MEOSExposedFunctions.right_span_float(this._ptr, number) != 0); public bool IsRightOf(int number) => this.IsRightOf((double)number); public bool IsOverOrRightOf(double number) - => MEOSExposedFunctions.overright_span_float(this._ptr, number); + => (MEOSExposedFunctions.overright_span_float(this._ptr, number) != 0); public bool IsOverOrRightOf(int number) => this.IsOverOrRightOf((double)number); diff --git a/MEOS.NET/Types/Collections/Float/FloatSpanSet.cs b/MEOS.NET/Types/Collections/Float/FloatSpanSet.cs index 3862a88..6aff1c2 100644 --- a/MEOS.NET/Types/Collections/Float/FloatSpanSet.cs +++ b/MEOS.NET/Types/Collections/Float/FloatSpanSet.cs @@ -40,54 +40,54 @@ public override FloatSpan SpanAt(int position) public FloatSpanSet Shift(double delta) { - var res = MEOSExposedFunctions.floatspanset_shift_scale(this._ptr, delta, 0.0, hasshift: true, haswidth: false); + var res = MEOSExposedFunctions.floatspanset_shift_scale(this._ptr, delta, 0.0, hasshift: (true ? 1 : 0), haswidth: (false ? 1 : 0)); return new FloatSpanSet(res); } public FloatSpanSet Scale(double newWidth) { - var res = MEOSExposedFunctions.floatspanset_shift_scale(this._ptr, 0.0, newWidth, hasshift: false, haswidth: true); + var res = MEOSExposedFunctions.floatspanset_shift_scale(this._ptr, 0.0, newWidth, hasshift: (false ? 1 : 0), haswidth: (true ? 1 : 0)); return new FloatSpanSet(res); } public FloatSpanSet ShiftScale(double delta, double newWidth) { - var res = MEOSExposedFunctions.floatspanset_shift_scale(this._ptr, delta, newWidth, hasshift: true, haswidth: true); + var res = MEOSExposedFunctions.floatspanset_shift_scale(this._ptr, delta, newWidth, hasshift: (true ? 1 : 0), haswidth: (true ? 1 : 0)); return new FloatSpanSet(res); } public bool IsAdjacent(double number) - => MEOSExposedFunctions.adjacent_spanset_float(this._ptr, number); + => (MEOSExposedFunctions.adjacent_spanset_float(this._ptr, number) != 0); public bool IsAdjacent(int number) => this.IsAdjacent((double)number); public bool Contains(double number) - => MEOSExposedFunctions.contains_spanset_float(this._ptr, number); + => (MEOSExposedFunctions.contains_spanset_float(this._ptr, number) != 0); public bool Contains(int number) => this.IsAdjacent((double)number); public bool IsLeftOf(double number) - => MEOSExposedFunctions.left_spanset_float(this._ptr, number); + => (MEOSExposedFunctions.left_spanset_float(this._ptr, number) != 0); public bool IsLeftOf(int number) => this.IsLeftOf((double)number); public bool IsOverOrLeftOf(double number) - => MEOSExposedFunctions.overleft_spanset_float(this._ptr, number); + => (MEOSExposedFunctions.overleft_spanset_float(this._ptr, number) != 0); public bool IsOverOrLeftOf(int number) => this.IsOverOrLeftOf((double)number); public bool IsRightOf(double number) - => MEOSExposedFunctions.right_spanset_float(this._ptr, number); + => (MEOSExposedFunctions.right_spanset_float(this._ptr, number) != 0); public bool IsRightOf(int number) => this.IsRightOf((double)number); public bool IsOverOrRightOf(double number) - => MEOSExposedFunctions.overright_spanset_float(this._ptr, number); + => (MEOSExposedFunctions.overright_spanset_float(this._ptr, number) != 0); public bool IsOverOrRightOf(int number) => this.IsOverOrLeftOf((double)number); diff --git a/MEOS.NET/Types/Collections/Integer/IntegerSpan.cs b/MEOS.NET/Types/Collections/Integer/IntegerSpan.cs index 062f734..0293ae8 100644 --- a/MEOS.NET/Types/Collections/Integer/IntegerSpan.cs +++ b/MEOS.NET/Types/Collections/Integer/IntegerSpan.cs @@ -9,7 +9,7 @@ internal IntegerSpan(IntPtr ptr) : base(ptr) public static IntegerSpan FromBounds(int xMin, int xMax, bool minInclusive = true, bool maxInclusive = false) { - var res = MEOSExposedFunctions.intspan_make(xMin, xMax, minInclusive, maxInclusive); + var res = MEOSExposedFunctions.intspan_make(xMin, xMax, (minInclusive ? 1 : 0), (maxInclusive ? 1 : 0)); return new IntegerSpan(res); } diff --git a/MEOS.NET/Types/Collections/Set.cs b/MEOS.NET/Types/Collections/Set.cs index 7dffeed..6dbebf0 100644 --- a/MEOS.NET/Types/Collections/Set.cs +++ b/MEOS.NET/Types/Collections/Set.cs @@ -1,6 +1,6 @@ -using System.Runtime.InteropServices; -using MEOS.NET.Helpers; -using MEOS.NET.Internal; +using System.Runtime.InteropServices; +using MEOS.NET.Helpers; +using MEOS.NET.Internal; using MEOS.NET.Types.General; namespace MEOS.NET.Types.Collections @@ -12,9 +12,9 @@ internal Set(IntPtr ptr) : base(ptr) public static Set FromBytes(byte[] bytes) { - var setPtr = AllocHelper.AllocateArrayPointer(bytes, (bytesPtr) => - { - return MEOSExposedFunctions.set_from_wkb(bytesPtr, (ulong)bytes.Length); + var setPtr = AllocHelper.AllocateArrayPointer(bytes, (bytesPtr) => + { + return MEOSExposedFunctions.set_from_wkb(bytesPtr, bytes.Length); }); return new Set(setPtr); @@ -30,23 +30,23 @@ public int Count() => MEOSExposedFunctions.set_num_values(this._ptr); public byte[] ToBytes() - { + { int arrSize = 0; - var arr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => - { + var arr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => + { var res = MEOSExposedFunctions.set_as_wkb(this._ptr, variant: 4, countPtr); - arrSize = countPtr.ToStructure(); - - return res; - }); - + arrSize = countPtr.ToStructure(); + + return res; + }); + return arr.ToArrayOfType(arrSize); } public string ToHexWKB() { - return AllocHelper.AllocatePointer(sizeof(int), (sizePtr) => - { + return AllocHelper.AllocatePointer(sizeof(int), (sizePtr) => + { return MEOSExposedFunctions.set_as_hexwkb(this._ptr, 0, sizePtr); }); } @@ -64,25 +64,25 @@ public SpanSet ToSpanSet() } public bool Contains(Set collection) - => MEOSExposedFunctions.contains_set_set(this._ptr, collection._ptr); + => (MEOSExposedFunctions.contains_set_set(this._ptr, collection._ptr) != 0); public bool IsContainedIn(Set collection) - => MEOSExposedFunctions.contained_set_set(this._ptr, collection._ptr); + => (MEOSExposedFunctions.contained_set_set(this._ptr, collection._ptr) != 0); public bool Overlaps(Set collection) - => MEOSExposedFunctions.overlaps_set_set(this._ptr, collection._ptr); + => (MEOSExposedFunctions.overlaps_set_set(this._ptr, collection._ptr) != 0); public bool IsLeftOf(Set collection) - => MEOSExposedFunctions.left_set_set(this._ptr, collection._ptr); + => (MEOSExposedFunctions.left_set_set(this._ptr, collection._ptr) != 0); public bool IsOverOrLeftOf(Set collection) - => MEOSExposedFunctions.overleft_set_set(this._ptr, collection._ptr); + => (MEOSExposedFunctions.overleft_set_set(this._ptr, collection._ptr) != 0); public bool IsOverOrRightOf(Set collection) - => MEOSExposedFunctions.overright_set_set(this._ptr, collection._ptr); + => (MEOSExposedFunctions.overright_set_set(this._ptr, collection._ptr) != 0); public bool IsRightOf(Set collection) - => MEOSExposedFunctions.right_set_set(this._ptr, collection._ptr); + => (MEOSExposedFunctions.right_set_set(this._ptr, collection._ptr) != 0); public override bool Equals(object? obj) { @@ -91,7 +91,7 @@ public override bool Equals(object? obj) return false; } - return MEOSExposedFunctions.set_eq(this._ptr, ((Set)obj)._ptr); + return (MEOSExposedFunctions.set_eq(this._ptr, ((Set)obj)._ptr) != 0); } public override int GetHashCode() diff --git a/MEOS.NET/Types/Collections/Span.cs b/MEOS.NET/Types/Collections/Span.cs index 6022a48..57ba50c 100644 --- a/MEOS.NET/Types/Collections/Span.cs +++ b/MEOS.NET/Types/Collections/Span.cs @@ -1,5 +1,5 @@ -using MEOS.NET.Helpers; -using MEOS.NET.Internal; +using MEOS.NET.Helpers; +using MEOS.NET.Internal; using MEOS.NET.Types.General; namespace MEOS.NET.Types.Collections @@ -10,10 +10,10 @@ internal Span(IntPtr ptr) : base(ptr) { } public static Span FromBytes(byte[] bytes) - { - var setPtr = AllocHelper.AllocateArrayPointer(bytes, (bytesPtr) => - { - return MEOSExposedFunctions.span_from_wkb(bytesPtr, (ulong)bytes.Length); + { + var setPtr = AllocHelper.AllocateArrayPointer(bytes, (bytesPtr) => + { + return MEOSExposedFunctions.span_from_wkb(bytesPtr, bytes.Length); }); return new Span(setPtr); @@ -32,23 +32,23 @@ public Span Copy() } public byte[] ToBytes() - { + { int arrSize = 0; - var arr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => - { + var arr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => + { var res = MEOSExposedFunctions.span_as_wkb(this._ptr, variant: 4, countPtr); - arrSize = countPtr.ToStructure(); - - return res; - }); - + arrSize = countPtr.ToStructure(); + + return res; + }); + return arr.ToArrayOfType(arrSize); } public string ToHexWKB() { - return AllocHelper.AllocatePointer(sizeof(int), (sizePtr) => - { + return AllocHelper.AllocatePointer(sizeof(int), (sizePtr) => + { return MEOSExposedFunctions.span_as_hexwkb(this._ptr, 0, sizePtr); }); } @@ -60,70 +60,70 @@ public virtual SpanSet ToSpanSet() } public bool IsLowerBoundInclusive() - => MEOSExposedFunctions.span_lower_inc(this._ptr); + => (MEOSExposedFunctions.span_lower_inc(this._ptr) != 0); public bool IsUpperBoundInclusive() - => MEOSExposedFunctions.span_upper_inc(this._ptr); + => (MEOSExposedFunctions.span_upper_inc(this._ptr) != 0); public bool IsAdjacent(Span span) - => MEOSExposedFunctions.adjacent_span_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.adjacent_span_span(this._ptr, span._ptr) != 0); public bool IsAdjacent(SpanSet spanSet) - => MEOSExposedFunctions.adjacent_spanset_span(spanSet._ptr, this._ptr); + => (MEOSExposedFunctions.adjacent_spanset_span(spanSet._ptr, this._ptr) != 0); public bool IsContainedIn(Span span) - => MEOSExposedFunctions.contained_span_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.contained_span_span(this._ptr, span._ptr) != 0); public bool IsContainedIn(SpanSet spanSet) - => MEOSExposedFunctions.contained_span_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.contained_span_spanset(this._ptr, spanSet._ptr) != 0); public bool Contains(Span span) - => MEOSExposedFunctions.contains_span_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.contains_span_span(this._ptr, span._ptr) != 0); public bool Contains(SpanSet spanSet) - => MEOSExposedFunctions.contains_span_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.contains_span_spanset(this._ptr, spanSet._ptr) != 0); public bool Overlaps(Span span) - => MEOSExposedFunctions.overlaps_span_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.overlaps_span_span(this._ptr, span._ptr) != 0); public bool Overlaps(SpanSet spanSet) - => MEOSExposedFunctions.overlaps_spanset_span(spanSet._ptr, this._ptr); + => (MEOSExposedFunctions.overlaps_spanset_span(spanSet._ptr, this._ptr) != 0); public bool Equals(Span span) - => MEOSExposedFunctions.span_eq(this._ptr, span._ptr); + => (MEOSExposedFunctions.span_eq(this._ptr, span._ptr) != 0); public bool Equals(SpanSet spanSet) { var span = spanSet.ToSpan(); return this.Equals(span); - } - + } + public double Width() - => MEOSExposedFunctions.span_width(this._ptr); + => MEOSExposedFunctions.numspan_width(this._ptr); public bool IsLeftOf(Span span) - => MEOSExposedFunctions.left_span_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.left_span_span(this._ptr, span._ptr) != 0); public bool IsLeftOf(SpanSet spanSet) - => MEOSExposedFunctions.left_span_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.left_span_spanset(this._ptr, spanSet._ptr) != 0); public bool IsOverOrLeftOf(Span span) - => MEOSExposedFunctions.overleft_span_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.overleft_span_span(this._ptr, span._ptr) != 0); public bool IsOverOrLeftOf(SpanSet spanSet) - => MEOSExposedFunctions.overleft_span_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.overleft_span_spanset(this._ptr, spanSet._ptr) != 0); public bool IsRightOf(Span span) - => MEOSExposedFunctions.right_span_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.right_span_span(this._ptr, span._ptr) != 0); public bool IsRightOf(SpanSet spanSet) - => MEOSExposedFunctions.right_span_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.right_span_spanset(this._ptr, spanSet._ptr) != 0); public bool IsOverOrRightOf(Span span) - => MEOSExposedFunctions.overright_span_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.overright_span_span(this._ptr, span._ptr) != 0); public bool IsOverOrRightOf(SpanSet spanSet) - => MEOSExposedFunctions.overright_span_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.overright_span_spanset(this._ptr, spanSet._ptr) != 0); public double DistanceTo(Span span) => MEOSExposedFunctions.distance_span_span(this._ptr, span._ptr); @@ -174,16 +174,16 @@ public override int GetHashCode() => !span.Equals(spanSet); public static bool operator <(Span span1, Span span2) - => MEOSExposedFunctions.span_lt(span1._ptr, span2._ptr); + => (MEOSExposedFunctions.span_lt(span1._ptr, span2._ptr) != 0); public static bool operator >(Span span1, Span span2) - => MEOSExposedFunctions.span_gt(span1._ptr, span2._ptr); + => (MEOSExposedFunctions.span_gt(span1._ptr, span2._ptr) != 0); public static bool operator <=(Span span1, Span span2) - => MEOSExposedFunctions.span_le(span1._ptr, span2._ptr); + => (MEOSExposedFunctions.span_le(span1._ptr, span2._ptr) != 0); public static bool operator >=(Span span1, Span span2) - => MEOSExposedFunctions.span_ge(span1._ptr, span2._ptr); + => (MEOSExposedFunctions.span_ge(span1._ptr, span2._ptr) != 0); } } diff --git a/MEOS.NET/Types/Collections/SpanSet.cs b/MEOS.NET/Types/Collections/SpanSet.cs index cc44a33..6730c2f 100644 --- a/MEOS.NET/Types/Collections/SpanSet.cs +++ b/MEOS.NET/Types/Collections/SpanSet.cs @@ -1,5 +1,5 @@ -using MEOS.NET.Helpers; -using MEOS.NET.Internal; +using MEOS.NET.Helpers; +using MEOS.NET.Internal; using MEOS.NET.Types.General; namespace MEOS.NET.Types.Collections @@ -11,9 +11,9 @@ internal SpanSet(IntPtr ptr) : base(ptr) public static SpanSet FromBytes(byte[] bytes) { - var setPtr = AllocHelper.AllocateArrayPointer(bytes, (bytesPtr) => - { - return MEOSExposedFunctions.spanset_from_wkb(bytesPtr, (ulong)bytes.Length); + var setPtr = AllocHelper.AllocateArrayPointer(bytes, (bytesPtr) => + { + return MEOSExposedFunctions.spanset_from_wkb(bytesPtr, bytes.Length); }); return new SpanSet(setPtr); @@ -34,21 +34,21 @@ public SpanSet Copy() public byte[] ToBytes() { int arrSize = 0; - var arr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => - { + var arr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => + { var res = MEOSExposedFunctions.spanset_as_wkb(this._ptr, variant: 4, countPtr); - arrSize = countPtr.ToStructure(); - - return res; - }); - + arrSize = countPtr.ToStructure(); + + return res; + }); + return arr.ToArrayOfType(arrSize); } public string ToHexWKB() { - return AllocHelper.AllocatePointer(sizeof(int), (sizePtr) => - { + return AllocHelper.AllocatePointer(sizeof(int), (sizePtr) => + { return MEOSExposedFunctions.spanset_as_hexwkb(this._ptr, 0, sizePtr); }); } @@ -90,69 +90,69 @@ public virtual Span SpanAt(int position) public virtual IEnumerable GetSpans() { var nbSpans = this.SpanCount(); - var arr = MEOSExposedFunctions.spanset_spans(this._ptr); - + var arr = MEOSExposedFunctions.spanset_spans(this._ptr); + var spans = arr.ToArrayOfType(nbSpans); List spanList = new List(nbSpans); - foreach(var span in spans) - { - spanList.Add(new Span(span)); + foreach(var span in spans) + { + spanList.Add(new Span(span)); } return spanList; - } - + } + public double Width(bool ignoreGaps = false) - => MEOSExposedFunctions.spanset_width(this._ptr, ignoreGaps); + => MEOSExposedFunctions.numspanset_width(this._ptr, (ignoreGaps ? 1 : 0)); public bool IsAdjacent(Span span) - => MEOSExposedFunctions.adjacent_spanset_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.adjacent_spanset_span(this._ptr, span._ptr) != 0); public bool IsAdjacent(SpanSet spanSet) - => MEOSExposedFunctions.adjacent_spanset_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.adjacent_spanset_spanset(this._ptr, spanSet._ptr) != 0); public bool IsContainedIn(Span span) - => MEOSExposedFunctions.contained_spanset_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.contained_spanset_span(this._ptr, span._ptr) != 0); public bool IsContainedIn(SpanSet spanSet) - => MEOSExposedFunctions.contained_spanset_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.contained_spanset_spanset(this._ptr, spanSet._ptr) != 0); public bool Contains(Span span) - => MEOSExposedFunctions.contains_spanset_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.contains_spanset_span(this._ptr, span._ptr) != 0); public bool Contains(SpanSet spanSet) - => MEOSExposedFunctions.contains_spanset_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.contains_spanset_spanset(this._ptr, spanSet._ptr) != 0); public bool Overlaps(Span span) - => MEOSExposedFunctions.overlaps_spanset_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.overlaps_spanset_span(this._ptr, span._ptr) != 0); public bool Overlaps(SpanSet spanSet) - => MEOSExposedFunctions.overlaps_spanset_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.overlaps_spanset_spanset(this._ptr, spanSet._ptr) != 0); public bool IsLeftOf(Span span) - => MEOSExposedFunctions.left_spanset_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.left_spanset_span(this._ptr, span._ptr) != 0); public bool IsLeftOf(SpanSet spanSet) - => MEOSExposedFunctions.left_spanset_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.left_spanset_spanset(this._ptr, spanSet._ptr) != 0); public bool IsOverOrLeftOf(Span span) - => MEOSExposedFunctions.overleft_spanset_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.overleft_spanset_span(this._ptr, span._ptr) != 0); public bool IsOverOrLeftOf(SpanSet spanSet) - => MEOSExposedFunctions.overleft_spanset_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.overleft_spanset_spanset(this._ptr, spanSet._ptr) != 0); public bool IsRightOf(Span span) - => MEOSExposedFunctions.right_spanset_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.right_spanset_span(this._ptr, span._ptr) != 0); public bool IsRightOf(SpanSet spanSet) - => MEOSExposedFunctions.right_spanset_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.right_spanset_spanset(this._ptr, spanSet._ptr) != 0); public bool IsOverOrRightOf(Span span) - => MEOSExposedFunctions.overright_spanset_span(this._ptr, span._ptr); + => (MEOSExposedFunctions.overright_spanset_span(this._ptr, span._ptr) != 0); public bool IsOverOrRightOf(SpanSet spanSet) - => MEOSExposedFunctions.overright_spanset_spanset(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.overright_spanset_spanset(this._ptr, spanSet._ptr) != 0); public double DistanceTo(Set set) => this.DistanceTo(set.ToSpanSet()); @@ -200,7 +200,7 @@ public SpanSet UnionWith(SpanSet spanSet) } public bool Equals(SpanSet spanSet) - => MEOSExposedFunctions.spanset_eq(this._ptr, spanSet._ptr); + => (MEOSExposedFunctions.spanset_eq(this._ptr, spanSet._ptr) != 0); public static SpanSet operator +(SpanSet spanSet1, SpanSet spanSet2) => spanSet1.UnionWith(spanSet2); @@ -212,19 +212,19 @@ public bool Equals(SpanSet spanSet) => spanSet1.Equals(spanSet2); public static bool operator !=(SpanSet spanSet1, SpanSet spanSet2) - => MEOSExposedFunctions.spanset_ne(spanSet1._ptr, spanSet2._ptr); + => (MEOSExposedFunctions.spanset_ne(spanSet1._ptr, spanSet2._ptr) != 0); public static bool operator >(SpanSet spanSet1, SpanSet spanSet2) - => MEOSExposedFunctions.spanset_gt(spanSet1._ptr, spanSet2._ptr); + => (MEOSExposedFunctions.spanset_gt(spanSet1._ptr, spanSet2._ptr) != 0); public static bool operator <(SpanSet spanSet1, SpanSet spanSet2) - => MEOSExposedFunctions.spanset_lt(spanSet1._ptr, spanSet2._ptr); + => (MEOSExposedFunctions.spanset_lt(spanSet1._ptr, spanSet2._ptr) != 0); public static bool operator >=(SpanSet spanSet1, SpanSet spanSet2) - => MEOSExposedFunctions.spanset_ge(spanSet1._ptr, spanSet2._ptr); + => (MEOSExposedFunctions.spanset_ge(spanSet1._ptr, spanSet2._ptr) != 0); public static bool operator <=(SpanSet spanSet1, SpanSet spanSet2) - => MEOSExposedFunctions.spanset_le(spanSet1._ptr, spanSet2._ptr); + => (MEOSExposedFunctions.spanset_le(spanSet1._ptr, spanSet2._ptr) != 0); public override int GetHashCode() => (int)MEOSExposedFunctions.spanset_hash(this._ptr); diff --git a/MEOS.NET/Types/Collections/Time/Timestamp/TimestampTzSpan.cs b/MEOS.NET/Types/Collections/Time/Timestamp/TimestampTzSpan.cs index 1bab75d..e75e381 100644 --- a/MEOS.NET/Types/Collections/Time/Timestamp/TimestampTzSpan.cs +++ b/MEOS.NET/Types/Collections/Time/Timestamp/TimestampTzSpan.cs @@ -10,7 +10,7 @@ internal TimestampTzSpan(IntPtr ptr) : base(ptr) public static TimestampTzSpan FromBounds(DateTime tMin, DateTime tMax, bool tMinInclusive = true, bool tMaxInclusive = false) { - var res = MEOSExposedFunctions.tstzspan_make(tMin.ToPgTimestamp(), tMax.ToPgTimestamp(), tMinInclusive, tMaxInclusive); + var res = MEOSExposedFunctions.tstzspan_make(tMin.ToPgTimestamp(), tMax.ToPgTimestamp(), (tMinInclusive ? 1 : 0), (tMaxInclusive ? 1 : 0)); return new TimestampTzSpan(res); } diff --git a/MEOS.NET/Types/Temporal/Boolean/TemporalBoolean.cs b/MEOS.NET/Types/Temporal/Boolean/TemporalBoolean.cs index f96f7ca..b472cc5 100644 --- a/MEOS.NET/Types/Temporal/Boolean/TemporalBoolean.cs +++ b/MEOS.NET/Types/Temporal/Boolean/TemporalBoolean.cs @@ -1,9 +1,13 @@ -namespace MEOS.NET.Types.Temporal.Boolean +using MEOS.NET.Internal; + +namespace MEOS.NET.Types.Temporal.Boolean { public class TemporalBoolean : Temporal { internal TemporalBoolean(IntPtr ptr) : base(ptr) { } + + public static TemporalBoolean FromMFJson(string mfJsonStr) + => new TemporalBoolean(MEOSExposedFunctions.tbool_from_mfjson(mfJsonStr)); } } - diff --git a/MEOS.NET/Types/Temporal/Number/Float/TemporalFloat.cs b/MEOS.NET/Types/Temporal/Number/Float/TemporalFloat.cs index 8324b14..cc7eeb5 100644 --- a/MEOS.NET/Types/Temporal/Number/Float/TemporalFloat.cs +++ b/MEOS.NET/Types/Temporal/Number/Float/TemporalFloat.cs @@ -18,14 +18,17 @@ public static TemporalFloat FromBaseTemporal(Temporal temporal, double value) { var res = MEOSExposedFunctions.tfloat_from_base_temp(value, temporal._ptr); return new TemporalFloat(res); - } - + } + public static TemporalFloat FromString(string input) { var res = MEOSExposedFunctions.tfloat_in(input); return new TemporalFloatInstant(res); } + public static TemporalFloat FromMFJson(string mfJsonStr) + => new TemporalFloat(MEOSExposedFunctions.tfloat_from_mfjson(mfJsonStr)); + public string Format(int maxDecimals) => MEOSExposedFunctions.tfloat_out(this._ptr, maxdd: maxDecimals); @@ -71,34 +74,34 @@ public double MaxValue() public FloatSet ToFloatSet() { int count = 0; - var arrayPtr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => - { - var arr = MEOSExposedFunctions.tfloat_values(this._ptr, countPtr); - count = countPtr.ToStructure(); - - return arr; + var arrayPtr = AllocHelper.AllocatePointer(sizeof(int), (countPtr) => + { + var arr = MEOSExposedFunctions.tfloat_values(this._ptr, countPtr); + count = countPtr.ToStructure(); + + return arr; }); return FloatSet.FromValuesPointer(arrayPtr, count); } public bool IsAlwaysLessThan(double value) - => MEOSExposedFunctions.tfloat_always_lt(this._ptr, value); + => (MEOSExposedFunctions.always_lt_tfloat_float(this._ptr, value) != 0); public bool IsAlwaysLessThanOrEqualTo(double value) - => MEOSExposedFunctions.tfloat_always_le(this._ptr, value); + => (MEOSExposedFunctions.always_le_tfloat_float(this._ptr, value) != 0); public bool IsAlwaysEqualTo(double value) - => MEOSExposedFunctions.tfloat_always_eq(this._ptr, value); + => (MEOSExposedFunctions.always_eq_tfloat_float(this._ptr, value) != 0); public bool IsEverLessThan(double value) - => MEOSExposedFunctions.tfloat_ever_lt(this._ptr, value); + => (MEOSExposedFunctions.ever_lt_tfloat_float(this._ptr, value) != 0); public bool IsEverLessThanOrEqualTo(double value) - => MEOSExposedFunctions.tfloat_ever_le(this._ptr, value); + => (MEOSExposedFunctions.ever_le_tfloat_float(this._ptr, value) != 0); public bool IsEverEqualTo(double value) - => MEOSExposedFunctions.tfloat_ever_eq(this._ptr, value); + => (MEOSExposedFunctions.ever_eq_tfloat_float(this._ptr, value) != 0); public TemporalBoolean TemporalEqual(int other) => this.TemporalEqual((double)other); @@ -165,15 +168,15 @@ public TemporalFloat At(int value) public double ValueAtTimestamp(DateTime timestamp) { - var res = AllocHelper.AllocatePointer(sizeof(double), (resultPtr) => - { - var successful = MEOSExposedFunctions.tfloat_value_at_timestamptz(this._ptr, timestamp.ToPgTimestamp(), strict: true, resultPtr); + var res = AllocHelper.AllocatePointer(sizeof(double), (resultPtr) => + { + var successful = (MEOSExposedFunctions.tfloat_value_at_timestamptz(this._ptr, timestamp.ToPgTimestamp(), strict: (true ? 1 : 0), resultPtr) != 0); return successful ? resultPtr.ToStructure() : default; }); - if (!res.HasValue) - { - throw new InvalidOperationException("Cannot retrieve value at a timestamp that does not exist in the current context."); + if (!res.HasValue) + { + throw new InvalidOperationException("Cannot retrieve value at a timestamp that does not exist in the current context."); } return res.Value; @@ -181,13 +184,13 @@ public double ValueAtTimestamp(DateTime timestamp) public TemporalFloat Derivative() { - var res = MEOSExposedFunctions.tfloat_derivative(this._ptr); + var res = MEOSExposedFunctions.temporal_derivative(this._ptr); return new TemporalFloat(res); } public TemporalFloat ToDegrees(bool normalize = true) { - var res = MEOSExposedFunctions.tfloat_degrees(this._ptr, normalize); + var res = MEOSExposedFunctions.tfloat_degrees(this._ptr, (normalize ? 1 : 0)); return new TemporalFloat(res); } @@ -199,7 +202,7 @@ public TemporalFloat ToRadians() public TemporalFloat Round(int maxDecimals = 0) { - var res = MEOSExposedFunctions.tfloat_round(this._ptr, maxdd: maxDecimals); + var res = MEOSExposedFunctions.temporal_round(this._ptr, maxdd: maxDecimals); return new TemporalFloat(res); } @@ -259,7 +262,7 @@ public TemporalFloat Divide(double value) public TemporalFloat DistanceTo(double other) { - var res = MEOSExposedFunctions.distance_tfloat_float(this._ptr, other); + var res = MEOSExposedFunctions.tdistance_tfloat_float(this._ptr, other); return new TemporalFloat(res); } diff --git a/MEOS.NET/Types/Temporal/Number/Float/TemporalFloatSequence.cs b/MEOS.NET/Types/Temporal/Number/Float/TemporalFloatSequence.cs index a718cc7..bcbee5f 100644 --- a/MEOS.NET/Types/Temporal/Number/Float/TemporalFloatSequence.cs +++ b/MEOS.NET/Types/Temporal/Number/Float/TemporalFloatSequence.cs @@ -1,4 +1,4 @@ -using MEOS.NET.Enums; +using MEOS.NET.Enums; using MEOS.NET.Internal; using MEOS.NET.Types.Collections.Time.Timestamp; @@ -19,7 +19,7 @@ public static TemporalFloatSequence FromTimestampSet(TimestampTzSet tsTzSet, dou public static TemporalFloatSequence FromTimestampSpan(TimestampTzSpan tsTzSpan, double value, InterpolationType interpolation = InterpolationType.None) { - var res = MEOSExposedFunctions.tfloatseq_from_base_tstzspan(value, tsTzSpan._ptr, interpolation); + var res = MEOSExposedFunctions.tfloatseq_from_base_tstzspan(value, tsTzSpan._ptr, (int)interpolation); return new TemporalFloatSequence(res); } } diff --git a/MEOS.NET/Types/Temporal/Number/Float/TemporalFloatSequenceSet.cs b/MEOS.NET/Types/Temporal/Number/Float/TemporalFloatSequenceSet.cs index d8e5d17..8151bdb 100644 --- a/MEOS.NET/Types/Temporal/Number/Float/TemporalFloatSequenceSet.cs +++ b/MEOS.NET/Types/Temporal/Number/Float/TemporalFloatSequenceSet.cs @@ -13,7 +13,7 @@ internal TemporalFloatSequenceSet(IntPtr ptr) : base(ptr) public static TemporalFloatSequenceSet FromTimestampSpanSet(TimestampTzSpanSet tsTzSpanSet, double value, InterpolationType interpolation = InterpolationType.None) { - var res = MEOSExposedFunctions.tfloatseqset_from_base_tstzspanset(value, tsTzSpanSet._ptr, interpolation); + var res = MEOSExposedFunctions.tfloatseqset_from_base_tstzspanset(value, tsTzSpanSet._ptr, (int)interpolation); return new TemporalFloatSequenceSet(res); } } diff --git a/MEOS.NET/Types/Temporal/Number/TemporalNumber.cs b/MEOS.NET/Types/Temporal/Number/TemporalNumber.cs index d66b02c..96a2258 100644 --- a/MEOS.NET/Types/Temporal/Number/TemporalNumber.cs +++ b/MEOS.NET/Types/Temporal/Number/TemporalNumber.cs @@ -1,5 +1,5 @@ -using MEOS.NET.Internal; -using MEOS.NET.Types.Boxes; +using MEOS.NET.Internal; +using MEOS.NET.Types.Boxes; using MEOS.NET.Types.Collections; using MEOS.NET.Types.Collections.Float; using MEOS.NET.Types.Collections.Integer; @@ -170,7 +170,7 @@ public TemporalNumber Delta() public TemporalNumber DistanceTo(TemporalNumber other) { - var res = MEOSExposedFunctions.distance_tnumber_tnumber(this._ptr, other._ptr); + var res = MEOSExposedFunctions.tdistance_tnumber_tnumber(this._ptr, other._ptr); return new TemporalNumber(res); } diff --git a/MEOS.NET/Types/Temporal/Temporal.cs b/MEOS.NET/Types/Temporal/Temporal.cs index 095890e..e2ca5c3 100644 --- a/MEOS.NET/Types/Temporal/Temporal.cs +++ b/MEOS.NET/Types/Temporal/Temporal.cs @@ -1,22 +1,26 @@ -using MEOS.NET.Enums; +using MEOS.NET.Enums; using MEOS.NET.Helpers; -using MEOS.NET.Internal; +using MEOS.NET.Internal; using MEOS.NET.Types.General; using MEOS.NET.Types.Collections.Time.Timestamp; using MEOS.NET.Types.Temporal.Boolean; -namespace MEOS.NET.Types.Temporal -{ - public class Temporal : MEOSObject, ITemporallyEquatable, ITemporallyComparable +namespace MEOS.NET.Types.Temporal +{ + public class Temporal : MEOSObject, ITemporallyEquatable, ITemporallyComparable { internal Temporal(IntPtr ptr) : base(ptr) { } - public static Temporal FromMFJson(string mfJsonStr) - { - var res = MEOSExposedFunctions.temporal_from_mfjson(mfJsonStr); - return new Temporal(res); - } + // MEOS 1.3 split mfjson parsing per subtype: tbool_from_mfjson, + // tint_from_mfjson, tfloat_from_mfjson, ttext_from_mfjson, + // tgeogpoint_from_mfjson. The previously-generic + // temporal_from_mfjson(mfjson) no longer exists in MEOS; the new + // temporal_from_mfjson(mfjson, meosType) requires the temptype enum + // at the call site. Provide the typed factories on each subclass + // (TemporalBoolean.FromMFJson, TemporalFloat.FromMFJson, ...) + // rather than a generic Temporal.FromMFJson that can't pick a + // subtype from the JSON content alone. public TemporalBoolean TemporalEqual(Temporal other) { @@ -109,7 +113,7 @@ public Temporal At(TimestampTzSpanSet tsTzSpanSet) } public string ToMfJSON(bool boundingBox = true, int flags = 3, int precision = 6, string srs = "") - => MEOSExposedFunctions.temporal_as_mfjson(this._ptr, boundingBox, flags, precision, srs); + => MEOSExposedFunctions.temporal_as_mfjson(this._ptr, (boundingBox ? 1 : 0), flags, precision, srs); public TimestampTzSpan BoundingBox() { @@ -131,7 +135,7 @@ public TimestampTzSpanSet Time() public string Duration(bool ignoreGaps = false) { - var res = MEOSExposedFunctions.temporal_duration(this._ptr, ignoreGaps); + var res = MEOSExposedFunctions.temporal_duration(this._ptr, (ignoreGaps ? 1 : 0)); return MEOSExposedFunctions.pg_interval_out(res); } @@ -148,5 +152,5 @@ public int InstantsCount() => MEOSExposedFunctions.temporal_num_instants(this._ptr); // TODO : Implement other, generic, temporal methods - } -} + } +} diff --git a/tools/README.md b/tools/README.md new file mode 100644 index 0000000..523e400 --- /dev/null +++ b/tools/README.md @@ -0,0 +1,61 @@ +# MEOS.NET binding regen via MEOS-API + +`codegen.py` regenerates `MEOS.NET/Internal/MEOSExternalFunctions.cs` and +`MEOS.NET/Internal/MEOSExposedFunctions.cs` from MobilityDB/MEOS-API's +unified `meos-idl.json` catalog. + +This replaces the previous regex-based `MEOS.NET.Builder` workflow, which +had known parse defects (e.g. `int32_t srid` rendered as `int_t srid`, +single-line-only regex, hardcoded developer DllPath). + +## Quick start + +1. Build `meos-idl.json` from the MobilityDB headers you want to target: + ``` + git clone https://github.com/MobilityDB/MEOS-API + cd MEOS-API + pip install -r requirements.txt + python setup.py --branch stable-1.3 # or master for 1.4 + python run.py # emits output/meos-idl.json + ``` + +2. Run the generator from this repo: + ``` + python3 tools/codegen.py /path/to/meos-idl.json + ``` + +The two `.cs` files under `MEOS.NET/Internal/` are overwritten in place +with bindings for every public MEOS function in the catalog. + +## DllPath + +`DllPath` is set to the bare name `"meos"` so the OS loader resolves it +via `LD_LIBRARY_PATH` (Linux), `DYLD_LIBRARY_PATH` (macOS), or `PATH` +(Windows). No hardcoded developer paths. + +## Type mapping + +Pointer types of any depth map to `IntPtr`. `char *` parameters with +`StringMarshalling.Utf8` map to managed `string`. Scalar types +(`int`/`int32`/`int64`/`bool`/`double`/...) map per the table in +`SCALAR_MAP` inside `codegen.py`. + +## Known follow-up after a MEOS major-version bump + +The bindings are auto-generated; the high-level C# code under +`MEOS.NET/Types/` is hand-written and calls into the bindings. When MEOS +renames or re-types a function, the call sites must follow. + +For the MEOS 1.2 → 1.3 bump (this commit's purpose), the regen pulled +in roughly 1100 new functions and dropped/renamed a handful. The +hand-written wrappers in `MEOS.NET/Types/` need updates for: + +- `int` → `bool` mismatches on predicates (some MEOS 1.3 predicates that + used to return `bool` now return `int`, or vice versa). +- Renames: `tfloat_derivative`, `tfloat_round`, `distance_tfloat_float` + and similar names no longer resolve directly; the 1.3 equivalents live + under `tnumber_*` or have type-suffixed names. + +Running `dotnet build MEOS.NET/MEOS.NET.csproj` against the new +bindings surfaces every adaptation point as a compiler error — work +through the list, no hidden runtime breakage. diff --git a/tools/codegen.py b/tools/codegen.py new file mode 100755 index 0000000..3c25976 --- /dev/null +++ b/tools/codegen.py @@ -0,0 +1,438 @@ +#!/usr/bin/env python3 +"""Generate MEOSExternalFunctions.cs and MEOSExposedFunctions.cs from MEOS-API's meos-idl.json. + +Consumes the unified MEOS API catalog (https://github.com/MobilityDB/MEOS-API) and produces +the two MEOS.NET internal-binding files. Replaces the regex-based MEOS.NET.Builder which has +known parse defects on signatures like `int32_t srid` (rendered as `int_t`). + +Usage: + python3 tools/codegen.py path/to/meos-idl.json + +Writes MEOS.NET/Internal/MEOSExternalFunctions.cs and MEOSExposedFunctions.cs in-place. +""" + +from __future__ import annotations + +import json +import sys +from pathlib import Path + +DLL_PATH = "meos" # let the OS loader resolve via LD_LIBRARY_PATH / DYLD_LIBRARY_PATH / PATH +GENERATOR_VERSION = "0.1.0" + +# Canonical C type -> C# parameter/return type. +# `canonical` field from meos-idl.json is libclang-normalized (e.g. int32_t -> int). +SCALAR_MAP: dict[str, str] = { + "void": "void", + "bool": "bool", + "char": "byte", + "int": "int", + "unsigned int": "uint", + "short": "short", + "long": "long", + "long long": "long", + "unsigned long": "ulong", + "unsigned long long": "ulong", + "float": "float", + "double": "double", + # MEOS / Postgres / vendored typedefs that libclang doesn't always reduce. + "DateADT": "int", + "TimeADT": "long", + "TimestampTz": "long", + "Timestamp": "long", + "Datum": "long", + "int8": "sbyte", + "uint8": "byte", + "uint8_t": "byte", + "int16": "short", + "uint16": "ushort", + "int32": "int", + "uint32": "uint", + "int64": "long", + "uint64": "ulong", + "size_t": "ulong", + "ssize_t": "long", + "meosType": "int", + "MeosType": "int", + "interpType": "int", + "tempSubtype": "int", + "spanType": "int", +} + +# C pointer-to-char marshalled as managed string when StringMarshalling.Utf8 is on. +def is_string_pointer(c_type: str) -> bool: + t = c_type.replace("const ", "").strip() + return t in ("char *", "char**", "char *const *", "const char *") + + +def csharp_type_for(canonical: str) -> str: + """Translate a libclang-canonical C type to a C# type for LibraryImport signatures.""" + t = canonical.strip() + # Strip leading const + if t.startswith("const "): + t = t[len("const "):].strip() + # Pointer of any depth -> IntPtr (we don't propagate pointer types into C# semantics). + if "*" in t or t.endswith("[]"): + return "IntPtr" + return SCALAR_MAP.get(t, "IntPtr") # unknown scalar -> opaque pointer is safer than guessing + + +def csharp_param_type(c_type: str, canonical: str) -> str: + """For a single parameter, decide the C# type, treating `char *` specially as string.""" + if is_string_pointer(c_type): + return "string" + return csharp_type_for(canonical) + + +def csharp_return_type(c_type: str, canonical: str) -> str: + if is_string_pointer(c_type): + return "string" + return csharp_type_for(canonical) + + +def csharp_param_name(name: str) -> str: + """Avoid C# reserved keywords as parameter names.""" + reserved = { + "string", "object", "params", "ref", "out", "in", "this", "base", + "new", "is", "as", "class", "struct", "enum", "interface", "namespace", + "event", "delegate", "lock", "fixed", "stackalloc", "unsafe", + "operator", "implicit", "explicit", "checked", "unchecked", + "default", "typeof", "sizeof", "true", "false", "null", + "abstract", "sealed", "override", "virtual", "readonly", "static", + "extern", "volatile", "public", "private", "protected", "internal", + "for", "foreach", "while", "do", "if", "else", "switch", "case", + "break", "continue", "return", "throw", "try", "catch", "finally", + "goto", "yield", "using", "void", + } + return f"@{name}" if name in reserved else name + + +def gen_external_functions(funcs: list[dict]) -> str: + lines: list[str] = [] + lines.append("using System.CodeDom.Compiler;") + lines.append("using System.Runtime.InteropServices;") + lines.append("") + lines.append("using MEOS.NET.Enums;") + lines.append("") + lines.append("namespace MEOS.NET.Internal") + lines.append("{") + lines.append(" internal partial class MEOSExposedFunctions") + lines.append(" {") + lines.append(f' [GeneratedCode("MEOS.NET.Builder.MEOSIDL", "{GENERATOR_VERSION}")]') + lines.append(" private partial class MEOSExternalFunctions") + lines.append(" {") + lines.append(f' private const string DllPath = "{DLL_PATH}";') + lines.append("") + + for f in funcs: + name = f["name"] + rt = csharp_return_type(f["returnType"]["c"], f["returnType"]["canonical"]) + params: list[str] = [] + for p in f.get("params", []): + pname = csharp_param_name(p["name"]) if p["name"] else "arg" + ptype = csharp_param_type(p["cType"], p["canonical"]) + # The LibraryImport source generator marshals C# bool as the + # 4-byte Windows BOOL by default; MEOS uses C ``_Bool`` (1 + # byte). Tag both param and return for U1 marshalling so the + # ABI matches regardless of platform. + if ptype == "bool": + params.append(f"[MarshalAs(UnmanagedType.U1)] {ptype} {pname}") + else: + params.append(f"{ptype} {pname}") + param_list = ", ".join(params) + lines.append(" [LibraryImport(DllPath, StringMarshalling = StringMarshalling.Utf8)]") + if rt == "bool": + lines.append(" [return: MarshalAs(UnmanagedType.U1)]") + lines.append(f" public static partial {rt} {name}({param_list});") + lines.append("") + + lines.append(" }") + lines.append(" }") + lines.append("}") + return "\n".join(lines) + "\n" + + +# Element types we know how to Marshal.Copy from a C array pointer back into +# a managed C# array. IntPtr is the fallback for wrapped opaque pointers. +_MARSHAL_ELEM: dict[str, str] = { + "long": "long", + "int": "int", + "double": "double", + "byte": "byte", + "short": "short", +} + + +def _strip_const_stars(c_type: str) -> tuple[str, int]: + s = c_type.replace("const ", "").strip() + stars = s.count("*") + return s.replace("*", "").strip(), stars + + +def _csharp_array_element(c_type: str, canonical: str) -> tuple[str, str]: + """Return ``(elem_csharp_type, marshal_strategy)`` for one C-array element. + + ``marshal_strategy`` is ``"Marshal.Copy"`` for primitives we can copy + straight back, ``"IntPtrArray"`` for arrays of opaque pointers that we + surface as ``IntPtr[]`` for the high-level surface to wrap, or + ``"ByteBuffer"`` for ``uint8_t *`` WKB-style returns. + + The function is called both for a function's array return type (where + ``T *`` -> array of T, ``T **`` -> array of T-pointers) and for an + outputArrays parameter (where the C signature carries an extra ``*`` + for the out-parameter handle, so ``T **`` actually represents an array + of primitive T's that MEOS writes via the handle). Distinguishing the + two cases without extra context is awkward; we prefer the primitive + interpretation when the base type is a known scalar, falling back to + IntPtrArray only when the base is itself a wrapped opaque type.""" + base, stars = _strip_const_stars(c_type) + elem = SCALAR_MAP.get(base) or SCALAR_MAP.get(canonical.replace("*", "").strip()) + if elem in _MARSHAL_ELEM: + return (elem, "Marshal.Copy") + if base == "uint8_t": + return ("byte", "ByteBuffer") + return ("IntPtr", "IntPtrArray") + + +def _emit_outputs_wrapper(f: dict) -> list[str]: + """Emit a wrapper for shape.outputArrays: parallel out-parameters + surfaced as additional tuple-return entries. Currently handles the + case where shape.arrayReturn is ALSO present (split family) and the + case where the function returns void/bool with output-only arrays.""" + name = f["name"] + shape = f["shape"] + output_params = shape["outputArrays"] # list of { "param": ..., optional lengthFrom } + array_ret = shape.get("arrayReturn") + + # Find the count source -- usually the OUTPUT_COUNT param named "count". + # We synthesise an int *count buffer either way and rely on the external + # signature (IntPtr) accepting it. + if array_ret and array_ret["lengthFrom"]["kind"] == "param": + count_param = array_ret["lengthFrom"]["name"] + elif output_params and "lengthFrom" in output_params[0]: + count_param = output_params[0]["lengthFrom"]["name"] + else: + # No identifiable length source; fall back. + return [] + + # Build the wrapper-side parameter list, dropping output params and the + # count from the user-facing signature. + output_names = {oa["param"] for oa in output_params} + sig_params: list[str] = [] + ext_call_args: list[str] = [] + setup: list[str] = [] + teardown: list[str] = [] + output_locals: list[tuple[str, dict, str]] = [] # (output_param_local, oa_dict, elem_csharp_type) + + for p in f.get("params", []): + pname = csharp_param_name(p["name"]) if p["name"] else "arg" + ptype = csharp_param_type(p["cType"], p["canonical"]) + if p["name"] == count_param: + local = f"_count_{pname}" + setup.append(f" IntPtr {local} = Marshal.AllocHGlobal(sizeof(int));") + teardown.append(f" Marshal.FreeHGlobal({local});") + ext_call_args.append(local) + continue + if p["name"] in output_names: + local = f"_out_{pname}" + setup.append(f" IntPtr {local} = Marshal.AllocHGlobal(IntPtr.Size);") + teardown.append(f" Marshal.FreeHGlobal({local});") + ext_call_args.append(local) + oa = next(oa for oa in output_params if oa["param"] == p["name"]) + elem, _strategy = _csharp_array_element(p["cType"], p["canonical"]) + output_locals.append((local, oa, elem)) + continue + sig_params.append(f"{ptype} {pname}") + ext_call_args.append(pname) + + # Compose the return tuple type. + ret_pieces: list[str] = [] + if array_ret: + ret_elem, _ = _csharp_array_element(f["returnType"]["c"], f["returnType"]["canonical"]) + ret_pieces.append(f"{ret_elem}[]") + for _, _oa, elem in output_locals: + ret_pieces.append(f"{elem}[]") + if not ret_pieces: + return [] # nothing to type; fall back. + if len(ret_pieces) == 1: + ret_type = ret_pieces[0] + else: + ret_type = "(" + ", ".join(ret_pieces) + ")" + + user_params = ", ".join(sig_params) + ext_args = ", ".join(ext_call_args) + + lines: list[str] = [] + lines.append(f" public static {ret_type} {name}({user_params})") + lines.append(" {") + lines.extend(setup) + lines.append(" try") + lines.append(" {") + if array_ret: + lines.append(f" IntPtr _resultPtr = SafeExecution(() => MEOSExternalFunctions.{name}({ext_args}));") + else: + # Void or bool return with only outputs. + rt = csharp_return_type(f["returnType"]["c"], f["returnType"]["canonical"]) + if rt == "void": + lines.append(f" SafeExecution(() => MEOSExternalFunctions.{name}({ext_args}));") + else: + lines.append(f" SafeExecution<{rt}>(() => MEOSExternalFunctions.{name}({ext_args}));") + lines.append(f" int _n = Marshal.ReadInt32(_count_{count_param});") + if array_ret: + ret_elem, ret_strategy = _csharp_array_element(f["returnType"]["c"], f["returnType"]["canonical"]) + lines.append(f" {ret_elem}[] _resultArr = new {ret_elem}[_n];") + if ret_strategy == "Marshal.Copy": + lines.append(" Marshal.Copy(_resultPtr, _resultArr, 0, _n);") + else: + lines.append(" for (int _i = 0; _i < _n; _i++)") + lines.append(" { _resultArr[_i] = Marshal.ReadIntPtr(_resultPtr, _i * IntPtr.Size); }") + for local, oa, elem in output_locals: + lines.append(f" IntPtr _{local}_arr = Marshal.ReadIntPtr({local});") + lines.append(f" {elem}[] _{local}_out = new {elem}[_n];") + if elem == "IntPtr": + lines.append(f" for (int _i = 0; _i < _n; _i++)") + lines.append(f" {{ _{local}_out[_i] = Marshal.ReadIntPtr(_{local}_arr, _i * IntPtr.Size); }}") + else: + lines.append(f" Marshal.Copy(_{local}_arr, _{local}_out, 0, _n);") + + # Build return expression. + return_pieces: list[str] = [] + if array_ret: + return_pieces.append("_resultArr") + for local, _, _ in output_locals: + return_pieces.append(f"_{local}_out") + if len(return_pieces) == 1: + lines.append(f" return {return_pieces[0]};") + else: + lines.append(f" return ({', '.join(return_pieces)});") + lines.append(" }") + lines.append(" finally") + lines.append(" {") + lines.extend(teardown) + lines.append(" }") + lines.append(" }") + return lines + + +def _emit_array_return_wrapper(f: dict, ext_params: str, ext_args: str) -> list[str]: + """Emit a wrapper that materialises an array return via Marshal.Copy. + + Used when shape.arrayReturn is present. Slice length comes from either + a sibling accessor call (kind=accessor) or an output parameter + (kind=param) of the same function.""" + name = f["name"] + shape = f["shape"] + length_meta = shape["arrayReturn"]["lengthFrom"] + elem, strategy = _csharp_array_element(f["returnType"]["c"], f["returnType"]["canonical"]) + ret_type = f"{elem}[]" + + lines: list[str] = [] + lines.append(f" public static {ret_type} {name}({ext_params})") + lines.append(" {") + if length_meta["kind"] == "accessor": + accessor = length_meta["func"] + arg = csharp_param_name(length_meta["arg"]) + lines.append(f" int _n = (int)MEOSExposedFunctions.{accessor}({arg});") + else: + # kind == "param": the length is one of the function's own outputs. + # Emit a stub for now; full param-output unpacking lives in the + # outputArrays wrapper. Falls back to IntPtr return. + return _emit_simple_passthrough(f, ext_params, ext_args, default_rt="IntPtr") + + lines.append(f" IntPtr _p = SafeExecution(() => MEOSExternalFunctions.{name}({ext_args}));") + if strategy == "Marshal.Copy": + lines.append(f" {elem}[] _out = new {elem}[_n];") + lines.append(f" Marshal.Copy(_p, _out, 0, _n);") + lines.append(" return _out;") + else: + # Read N IntPtrs out of the array. + lines.append(f" {elem}[] _out = new {elem}[_n];") + lines.append(f" for (int _i = 0; _i < _n; _i++)") + lines.append(f" {{ _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); }}") + lines.append(" return _out;") + lines.append(" }") + return lines + + +def _emit_simple_passthrough(f: dict, ext_params: str, ext_args: str, default_rt: str | None = None) -> list[str]: + name = f["name"] + rt = default_rt or csharp_return_type(f["returnType"]["c"], f["returnType"]["canonical"]) + if rt == "void": + return [ + f" public static void {name}({ext_params})", + f" => SafeExecution(() => MEOSExternalFunctions.{name}({ext_args}));", + ] + return [ + f" public static {rt} {name}({ext_params})", + f" => SafeExecution<{rt}>(() => MEOSExternalFunctions.{name}({ext_args}));", + ] + + +def gen_exposed_functions(funcs: list[dict]) -> str: + """Generate the safe-executed wrappers. + + Each wrapper either delegates straight through SafeExecution or, when + meos-idl.json carries a ``shape`` annotation for the function, lifts + the C signature into a more idiomatic C# return. arrayReturn with a + sibling-accessor length emits a Marshal.Copy unpack; other shapes + fall back to the IntPtr passthrough today.""" + lines: list[str] = [] + lines.append("using System.CodeDom.Compiler;") + lines.append("using System.Runtime.InteropServices;") + lines.append("") + lines.append("using MEOS.NET.Enums;") + lines.append("") + lines.append("namespace MEOS.NET.Internal") + lines.append("{") + lines.append(f' [GeneratedCode("MEOS.NET.Builder.MEOSIDL", "{GENERATOR_VERSION}")]') + lines.append(" internal partial class MEOSExposedFunctions") + lines.append(" {") + + for f in funcs: + ext_params, ext_args = _format_params(f) + shape = f.get("shape", {}) + + emitted: list[str] = [] + if "outputArrays" in shape: + emitted = _emit_outputs_wrapper(f) + if not emitted and "arrayReturn" in shape and shape["arrayReturn"]["lengthFrom"]["kind"] == "accessor": + emitted = _emit_array_return_wrapper(f, ext_params, ext_args) + if not emitted: + emitted = _emit_simple_passthrough(f, ext_params, ext_args) + lines.extend(emitted) + lines.append("") + + lines.append(" }") + lines.append("}") + return "\n".join(lines) + "\n" + + +def _format_params(f: dict) -> tuple[str, str]: + params: list[str] = [] + arg_names: list[str] = [] + for p in f.get("params", []): + pname = csharp_param_name(p["name"]) if p["name"] else "arg" + ptype = csharp_param_type(p["cType"], p["canonical"]) + params.append(f"{ptype} {pname}") + arg_names.append(pname) + return ", ".join(params), ", ".join(arg_names) + + +def main(idl_path: str) -> None: + with open(idl_path) as fh: + idl = json.load(fh) + funcs = idl["functions"] + repo_root = Path(__file__).resolve().parent.parent + out_dir = repo_root / "MEOS.NET" / "Internal" + out_dir.mkdir(parents=True, exist_ok=True) + + (out_dir / "MEOSExternalFunctions.cs").write_text(gen_external_functions(funcs)) + (out_dir / "MEOSExposedFunctions.cs").write_text(gen_exposed_functions(funcs)) + print(f"Wrote {len(funcs)} function bindings to MEOS.NET/Internal/", file=sys.stderr) + + +if __name__ == "__main__": + if len(sys.argv) < 2: + print(__doc__, file=sys.stderr) + sys.exit(1) + main(sys.argv[1])