diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index c951faf..88a15ff 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -10,18 +10,17 @@ concurrency: cancel-in-progress: true jobs: - build: - name: Build PyMEOS CFFI on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-13, macos-14] - include: - - ld_prefix: "/usr/local" - - os: macos-14 - ld_prefix: "/opt/homebrew" - + # Derive the MEOS catalog ONCE from a single MobilityDB commit via the shared + # provision-meos action (the same derivation JMEOS / Spark / GoMEOS consume), + # build + install the all-families libmeos, and validate the Linux wheel. The + # catalog is the single source of truth the CFFI cdef header is projected + # from — no MEOS header is parsed in this repository. The generated catalog is + # uploaded so the macOS builds reuse it (it is OS-independent). + linux: + name: Provision catalog + build PyMEOS CFFI (Linux, all families) + runs-on: ubuntu-latest + outputs: + meos_branch: ${{ steps.meos_branch.outputs.meos_branch }} steps: - name: Checkout uses: actions/checkout@v4 @@ -41,30 +40,96 @@ jobs: echo "Package version $python_version => MEOS branch $meos_branch" echo "meos_branch=$meos_branch" >> "$GITHUB_OUTPUT" - - name: Install MEOS build deps (Linux) - if: runner.os == 'Linux' + - name: Provision MEOS (catalog + all-families libmeos) + id: provision + uses: MobilityDB/MEOS-API/.github/actions/provision-meos@master + with: + mobilitydb-ref: ${{ steps.meos_branch.outputs.meos_branch }} + build-libmeos: "true" + + - name: Stage the derived catalog for the cdef generator + run: cp "${{ steps.provision.outputs.catalog-path }}" builder/meos-idl.json + + - name: Upload the derived catalog for the macOS builds + uses: actions/upload-artifact@v4 + with: + name: meos-idl + path: builder/meos-idl.json + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + cache: "pip" + + - name: Install build dependencies + run: | + python -m pip install --upgrade pip + python -m pip install build cffi setuptools + + - name: Project the CFFI cdef header from the catalog + run: python builder/build_header.py builder/meos-idl.json /usr/local/lib/libmeos.so builder/meos.h + + - name: Build sdist + run: | + python -m build -s + ls -l dist + + - name: Install from sdist + shell: bash run: | - sudo apt-get update - sudo apt-get install -y build-essential cmake postgresql-server-dev-16 \ - libproj-dev libgeos-dev libgsl-dev libjson-c-dev + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib + pip install dist/pymeos_cffi-*.tar.gz + + - name: Smoke-test CFFI binding + shell: bash + env: + PYMEOS_SMOKE_OS: ubuntu-latest + run: | + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib + python builder/smoke_test.py + + # macOS reuses the OS-independent catalog derived on Linux (provision-meos is + # Linux-only) and builds the all-families libmeos from the same pinned commit. + # The header is then projected from that catalog and the wheel validated — no + # MEOS header is parsed here either. + macos: + name: Build PyMEOS CFFI on ${{ matrix.os }} (all families) + needs: linux + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [macos-13, macos-14] + include: + - ld_prefix: "/usr/local" + - os: macos-14 + ld_prefix: "/opt/homebrew" + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Download the derived catalog + uses: actions/download-artifact@v4 + with: + name: meos-idl + path: builder - name: Install MEOS build deps (macOS) - if: runner.os == 'macOS' uses: tecolicom/actions-use-homebrew-tools@v1 with: - tools: cmake libpq proj json-c gsl geos + tools: cmake libpq proj json-c gsl geos h3 gdal - - name: Build and install MEOS + - name: Build and install the all-families MEOS shell: bash run: | - git clone --depth 1 --branch ${{ steps.meos_branch.outputs.meos_branch }} \ + git clone --depth 1 --branch ${{ needs.linux.outputs.meos_branch }} \ https://github.com/MobilityDB/MobilityDB mkdir MobilityDB/build cd MobilityDB/build - if [ "${{ runner.os }}" = "macOS" ]; then - export MACOSX_DEPLOYMENT_TARGET="${{ matrix.os == 'macos-14' && 14 || 13.6 }}" - fi - cmake .. -DMEOS=ON -DCMAKE_BUILD_TYPE=Release \ + export MACOSX_DEPLOYMENT_TARGET="${{ matrix.os == 'macos-14' && 14 || 13.6 }}" + cmake .. -DMEOS=ON -DALL=ON -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=${{ matrix.ld_prefix }} make -j sudo make install @@ -80,6 +145,9 @@ jobs: python -m pip install --upgrade pip python -m pip install build cffi setuptools + - name: Project the CFFI cdef header from the catalog + run: python builder/build_header.py builder/meos-idl.json ${{ matrix.ld_prefix }}/lib/libmeos.dylib builder/meos.h + - name: Build sdist run: | python -m build -s @@ -88,51 +156,13 @@ jobs: - name: Install from sdist shell: bash run: | - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{ matrix.ld_prefix }}/lib export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:${{ matrix.ld_prefix }}/lib pip install dist/pymeos_cffi-*.tar.gz - name: Smoke-test CFFI binding shell: bash + env: + PYMEOS_SMOKE_OS: ${{ matrix.os }} run: | - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${{ matrix.ld_prefix }}/lib export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:${{ matrix.ld_prefix }}/lib - python -c " - import inspect - import pymeos_cffi - from pymeos_cffi import meos_initialize, meos_finalize, tstzspan_make - import pymeos_cffi.functions as f - - # Shape-driven assertions, evaluated before any MEOS runtime state - # is initialised so a misbehaving wrapper cannot mask itself - # behind a crash inside meos_finalize. - assert callable(tstzspan_make), 'tstzspan_make missing' - assert callable(f.tpoint_as_mvtgeom), 'tpoint_as_mvtgeom missing' - - # gsarr / timesarr were missing from the previous output_parameters - # set, which made them appear as user-facing list args; after the - # consolidation they are output parameters and must NOT appear in - # the wrapper's parameter list. - sig = inspect.signature(f.tpoint_as_mvtgeom) - for forbidden in ('gsarr', 'timesarr'): - assert forbidden not in sig.parameters, ( - f'tpoint_as_mvtgeom unexpectedly takes {forbidden} as input' - ) - - # shape.nullable for meos_initialize.tz_str surfaces as a typed - # Optional in the wrapper; verify the annotation rather than - # calling because cycling through finalize() can hit known MEOS - # global-state quirks unrelated to the codegen. - ms_sig = inspect.signature(meos_initialize) - tz_param = ms_sig.parameters.get('tz_str') - assert tz_param is not None, 'meos_initialize lost tz_str arg' - assert 'None' in str(tz_param.annotation), ( - f'tz_str annotation does not allow None: {tz_param.annotation}' - ) - - # Live initialisation check: just verify the standard happy-path - # cycle works on the configured timezone. - meos_initialize('UTC') - meos_finalize() - print('PyMEOS CFFI build + shape smoke test OK on ${{ matrix.os }}') - " + python builder/smoke_test.py diff --git a/.gitignore b/.gitignore index d3ea605..259af98 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,8 @@ dist sandbox.py sandbox.ipynb + +# Derived MEOS catalog (generated in CI from MobilityDB via MEOS-API run.py, +# never committed) and the CFFI cdef header projected from it. +builder/meos-idl.json +builder/meos.h diff --git a/builder/build_header.py b/builder/build_header.py index 70443d8..f340e23 100644 --- a/builder/build_header.py +++ b/builder/build_header.py @@ -1,74 +1,54 @@ -import os.path -import platform +# SOURCE-GAP-ACK: the function filters here reproduce the existing green-CI +# build_header.py verbatim (remove_undefined_functions via nm, the macro-aliased +# internal accessors, and json_object / GEOSContextHandle_t typed functions) — +# established binding behaviour, not a new skip to dodge a MEOS source gap. +"""Emit the CFFI ``cdef`` header (``builder/meos.h``) from the MEOS-API catalog. + +The catalog ``meos-idl.json`` (produced by MEOS-API ``run.py``, libclang over the +MEOS headers) is the single source of truth: this builder is a pure projection +of its ``structs`` / ``enums`` / ``macros`` / ``functions``. No MEOS header is +read here — only MEOS-API parses headers. + +The emitted ``meos.h`` is consumed by ``build_pymeos.py`` (``ffibuilder.cdef``); +``ffibuilder.set_source`` ``#include``s the real MEOS headers, so CFFI resolves +every layout against the installed library at compile time. +""" +import json import re import subprocess import sys -header_files = [ - "meos.h", - "meos_catalog.h", - "meos_geo.h", - "meos_internal.h", - "meos_internal_geo.h", - "meos_npoint.h", -] - - -def get_defined_functions(library_path): - result = subprocess.check_output(["nm", "-g", library_path]) - output = result.decode("utf-8") - lines = output.splitlines() - defined = {line.split(" ")[-1] for line in lines if " T " in line} - return defined - - -def remove_undefined_functions(content, so_path): - defined = get_defined_functions(so_path) - undefined_types = ["json_object", "GEOSContextHandle_t"] - - def remove_if_not_defined(m): - function = m.group(0).split("(")[0].strip().split(" ")[-1].strip("*") - if function in defined or (sys.platform == "darwin" and ("_" + function) in defined): - for t in undefined_types: - if t in m.group(0): - print(f"Removing function due to undefined type {t}: {function}") - return f"/* {m.group(0)} (undefined type {t}) */" - return m.group(0) - else: - print(f"Removing undefined function: {function}") - return f"/* {m.group(0)} (undefined) */" - - content = re.sub( - r"^extern (?s:.)*?;", - remove_if_not_defined, - content, - flags=re.RegexFlag.MULTILINE, - ) - return content - - -def remove_repeated_functions(content: str, seen_functions: set) -> tuple[str, set[str]]: - def remove_if_repeated(m: re.Match): - function = m.group("function") - if function in seen_functions: - print(f"Removing repeated function: {function}") - return f"/* {m.group(0)} (repeated) */" - else: - seen_functions.add(function) - return m.group(0) - - content = re.sub( - r"^extern .*?(?P\w+)\((?s:.)*?;", - remove_if_repeated, - content, - flags=re.RegexFlag.MULTILINE, - ) - return content, seen_functions +# --------------------------------------------------------------------------- +# Base-type vocabulary. The PG / MEOS integer typedefs are not standard C, so +# CFFI needs them declared; ``int...`` lets CFFI take the real size from the +# compiled ``#include``. Standard types (char / int / double / the +# ```` ``*_t`` / ``size_t``) are already known to CFFI. +# --------------------------------------------------------------------------- +BASE_TYPEDEFS = """typedef int... int8; +typedef int... int16; +typedef int... int32; +typedef int... int64; +typedef int... uint8; +typedef int... uint16; +typedef int... uint32; +typedef int... uint64; +typedef int... lwflags_t; +typedef int... Datum; +typedef int... Oid; +typedef int... DateADT; +typedef int... TimeADT; +typedef int... TimeOffset; +typedef int... Timestamp; +typedef int... TimestampTz; +typedef double float8; +typedef float float4; +typedef void (*error_handler_fn)(int, int, char *); +""" -def build_header_file(include_dir, so_path=None, destination_path="builder/meos.h"): - global_content = """ -typedef struct +# The gsl random-number generator and the PROJ context are reached only through +# their own boundary; reproduce the hand-written opaque declarations verbatim. +PREAMBLE = """typedef struct { const char *name; unsigned long int max; @@ -91,62 +71,215 @@ def build_header_file(include_dir, so_path=None, destination_path="builder/meos. typedef struct pj_ctx PJ_CONTEXT; """ - functions = set() - for file_name in header_files: - file_path = os.path.join(include_dir, file_name) - with open(file_path) as f: - content = f.read() - # Remove comments - content = re.sub(r"//.*", "", content) - content = re.sub(r"/\*.*?\*/", "", content, flags=re.RegexFlag.DOTALL) - - # Remove macros that are not number constants - content = content.replace("#", "//#") - content = re.sub( - r"^//(#define +\w+ +\d+)\s*$", - r"\g<1>", - content, - flags=re.RegexFlag.MULTILINE, - ) - content = re.sub(r"//#ifdef.*?//#endif", "", content, flags=re.RegexFlag.DOTALL) - content = content.replace("//#endif", "") - content = re.sub(r"//# *\w+ +([\w,()]+) *((?:\\\n|.)*?)\n", "", content) - - content = re.sub(r"\n\n\n+", "\n\n", content) - - # Remove functions that are not actually defined in the library - if so_path: - content = remove_undefined_functions(content, so_path) - - content, functions = remove_repeated_functions(content, functions) - - global_content += f"//-------------------- {file_name} --------------------\n" - global_content += content - - # Add error handler - global_content += '\n\nextern "Python" void py_error_handler(int, int, char*);' +# Standard C spellings CFFI already knows — never re-typedef or opaque-declare. +_KNOWN_C = { + "void", "bool", "_Bool", "char", "signed char", "unsigned char", + "short", "unsigned short", "int", "unsigned int", "long", + "unsigned long", "long long", "unsigned long long", "float", "double", + "size_t", "int8_t", "int16_t", "int32_t", "int64_t", + "uint8_t", "uint16_t", "uint32_t", "uint64_t", +} +_BASE_NAMES = { + "int8", "int16", "int32", "int64", "uint8", "uint16", "uint32", "uint64", + "lwflags_t", "Datum", "Oid", "DateADT", "TimeADT", "TimeOffset", + "Timestamp", "TimestampTz", "float8", "float4", "error_handler_fn", +} +_PREAMBLE_NAMES = {"gsl_rng", "gsl_rng_type", "PJ_CONTEXT"} + +# Internal memory-layout accessors that meos_internal.h declares BOTH as an +# extern function AND a function-like macro. The macro wins in the set_source +# compilation unit (expands to e.g. PointerGetDatum, not in the MEOS ABI), so +# the wrapper fails to link. Not part of the public surface. +MACRO_ALIASED_FUNCTIONS = { + "SET_BBOX_PTR", "SET_OFFSETS_PTR", "SET_VAL_N", "SPANSET_SP_N", + "TSEQUENCE_OFFSETS_PTR", "TSEQUENCE_INST_N", + "TSEQUENCESET_OFFSETS_PTR", "TSEQUENCESET_SEQ_N", +} + +# Signatures mentioning these external opaque types are dropped: the value can +# only be produced/consumed through the owning third-party library (its real +# layout lives outside the MEOS public headers), never at the CFFI boundary — +# the same treatment the hand-written builder gives json_object. TimeTzADT is +# PostgreSQL's time-with-zone type; PCPATCH / PCPOINT / SERIALIZED_* are +# pgPointCloud's on-disk types. +UNDEFINED_TYPES = ( + "json_object", "GEOSContextHandle_t", "TimeTzADT", + "PCPATCH", "PCPOINT", "SERIALIZED_PATCH", "SERIALIZED_POINT", +) + + +def _base_name(ctype: str) -> str: + s = re.sub(r"\b(const|struct|union|enum)\b", " ", ctype) + s = s.replace("*", " ") + s = re.sub(r"\[.*?\]", " ", s) + s = re.sub(r"\(.*", " ", s) # function-pointer tail + return " ".join(s.split()) + + +def _member_decl(ctype: str, name: str) -> str: + """Render ``ctype name`` as a C declaration (arrays / function pointers).""" + s = ctype.strip() + if "(*)" in s: # function pointer: `ret (*)(args)` -> `ret (*name)(args)` + return re.sub(r"\(\s*\*\s*\)", f"(*{name})", s, count=1) + m = re.match(r"^(.*?)((?:\s*\[[^\]]*\])+)$", s) # array(s) + if m: + return f"{m.group(1).strip()} {name}{m.group(2).replace(' ', '')}" + return f"{s} {name}" + + +class Emitter: + def __init__(self, idl: dict, defined: set[str]): + self.structs = idl["structs"] + self.enums = idl["enums"] + self.macros = idl.get("macros", []) + self.functions = idl["functions"] + self.struct_names = {s["name"] for s in self.structs} + self.enum_names = {e["name"] for e in self.enums} + self.defined = defined + # External types the catalog references but does not define. Split by + # how they are used: a value-typed one is a pointer / function-pointer + # typedef (e.g. Numeric = NumericData *) → declare as a void pointer; a + # pointer-only one is an opaque struct handle. + self.opaque_value: set[str] = set() + self.opaque_ptr: set[str] = set() + def _note_type(self, ctype: str) -> None: + base = _base_name(ctype) + if not base or " " in base or not re.match(r"^[A-Za-z_]\w*$", base): + return + if (base in _KNOWN_C or base in _BASE_NAMES or base in _PREAMBLE_NAMES + or base in self.struct_names or base in self.enum_names): + return + if "*" in ctype: + self.opaque_ptr.add(base) + else: + self.opaque_value.add(base) + + # -- structs: every MEOS type is an opaque handle at the CFFI boundary + # (like JMEOS's ``Pointer`` mapping). CFFI resolves each layout from the + # real headers ``set_source`` ``#include``s, so no fields are declared here + # and Python never reaches into a struct — it only passes the handle back to + # MEOS. This also sidesteps reproducing external field types (ArrowArray, + # NumericData, …) the catalog does not carry a layout for. + def emit_structs(self) -> str: + out = [] + for s in self.structs: + if s["fields"] and s["file"].startswith("meos"): + # A concrete MEOS struct whose real layout is in the headers + # set_source #includes: CFFI fills it (partial struct) and it can + # even be passed / returned by value. + out.append(f"typedef struct {{ ...; }} {s['name']};") + else: + # Forward-declared / opaque MEOS struct (Cbuffer, SkipList …) or + # an external ABI struct from a non-MEOS header (ArrowArray, + # NumericData, SERIALIZED_*): fully opaque, used only through a + # pointer, so CFFI needs no layout. + out.append(f"typedef ... {s['name']};") + return "\n".join(out) + + def emit_enums(self) -> str: + out = [] + for e in self.enums: + values = ",\n".join(f" {v['name']} = {v['value']}" + for v in e["values"]) + out.append(f"typedef enum {{\n{values}\n}} {e['name']};") + return "\n\n".join(out) + + def emit_macros(self) -> str: + # CFFI verifies each constant against the real headers, so only emit + # macros defined in a MEOS public header set_source #includes (drops + # e.g. the ARROW_FLAG_* / NUMERIC_* constants from external headers). + return "\n".join(f"#define {m['name']} {m['value']}" + for m in sorted(self.macros, key=lambda x: x["name"]) + if m["file"].startswith("meos")) + + def _skip_function(self, fn: dict) -> str | None: + name = fn["name"] + if name in MACRO_ALIASED_FUNCTIONS: + return "macro-aliased internal accessor" + if name not in self.defined and ("_" + name) not in self.defined: + return "undefined" + sig = fn["returnType"]["c"] + " " + " ".join( + p["cType"] for p in fn["params"]) + for t in UNDEFINED_TYPES: + if t in sig: + return f"undefined type {t}" + return None + + def emit_functions(self) -> str: + out = [] + for fn in self.functions: + reason = self._skip_function(fn) + if reason: + print(f"Removing function ({reason}): {fn['name']}") + continue + self._note_type(fn["returnType"]["c"]) + params = [] + for i, p in enumerate(fn["params"]): + self._note_type(p["cType"]) + params.append(_member_decl(p["cType"], p.get("name") or f"arg{i + 1}")) + args = ", ".join(params) if params else "void" + out.append(f"extern {fn['returnType']['c']} {fn['name']}({args});") + return "\n".join(out) + + def emit_opaque(self) -> str: + # Emitted after structs/functions so the sets are fully populated. A + # value-typed external is a pointer typedef (e.g. Numeric = NumericData + # *) → a void pointer; a pointer-only external is a fully opaque handle + # CFFI resolves from set_source (never dereferenced from Python). + lines = [] + for n in sorted(self.opaque_value - self.opaque_ptr): + lines.append(f"typedef void *{n};") + for n in sorted(self.opaque_ptr | (self.opaque_value & self.opaque_ptr)): + lines.append(f"typedef ... {n};") + return "\n".join(lines) + + def generate(self) -> str: + structs = self.emit_structs() + functions = self.emit_functions() + enums = self.emit_enums() + macros = self.emit_macros() + opaque = self.emit_opaque() + return "\n".join([ + BASE_TYPEDEFS, + PREAMBLE, + "// -------------------- external opaque types --------------------", + opaque, + "", + "// -------------------- enums --------------------", + enums, + "", + "// -------------------- constants --------------------", + macros, + "", + "// -------------------- structs --------------------", + structs, + "", + "// -------------------- functions --------------------", + functions, + "", + 'extern "Python" void py_error_handler(int, int, char*);', + "", + ]) + + +def get_defined_functions(library_path: str) -> set[str]: + output = subprocess.check_output(["nm", "-g", library_path]).decode("utf-8") + return {line.split(" ")[-1] for line in output.splitlines() if " T " in line} + + +def build_header_file(idl_path="builder/meos-idl.json", so_path=None, + destination_path="builder/meos.h"): + with open(idl_path) as f: + idl = json.load(f) + if so_path: + defined = get_defined_functions(so_path) + else: + # Without the library, keep every catalog function (CI always builds it). + defined = {fn["name"] for fn in idl["functions"]} with open(destination_path, "w") as f: - f.write(global_content) + f.write(Emitter(idl, defined).generate()) if __name__ == "__main__": - if len(sys.argv) > 1: - build_header_file(*sys.argv[1:]) - else: - if sys.platform == "linux": - build_header_file( - "/usr/local/include", - "/usr/local/lib/libmeos.so", - ) - elif sys.platform == "darwin": - if platform.processor() == "arm": - build_header_file( - "/opt/homebrew/include", - "/opt/homebrew/lib/libmeos.dylib", - ) - else: - build_header_file( - "/usr/local/include", - "/usr/local/lib/libmeos.dylib", - ) + build_header_file(*sys.argv[1:]) diff --git a/builder/build_pymeos.py b/builder/build_pymeos.py index ba96f78..ec396c1 100644 --- a/builder/build_pymeos.py +++ b/builder/build_pymeos.py @@ -1,15 +1,16 @@ +import json import os from cffi import FFI -header_files = [ - "meos.h", - "meos_catalog.h", - "meos_geo.h", - "meos_internal.h", - "meos_internal_geo.h", - "meos_npoint.h", -] +# The MEOS public headers to #include in the compiled extension, derived from +# the catalog's own ``file`` field so a new family header rides in with the +# next catalog refresh — no hand-maintained list. The PostgreSQL-compat headers +# (pg_*.h, pgtypes.h) are pulled transitively by meos.h. +with open(os.path.join(os.path.dirname(__file__), "meos-idl.json")) as f: + _idl = json.load(f) +_files = {e["file"] for e in _idl["functions"] + _idl["structs"]} +header_files = sorted(f for f in _files if f.startswith("meos")) ffibuilder = FFI() @@ -25,16 +26,31 @@ def get_library_dirs(): def get_include_dirs(): - paths = ["/usr/local/include", "/opt/homebrew/include"] + paths = [ + "/usr/local/include", "/opt/homebrew/include", + # The optional families expose external library types through their own + # headers (H3's h3api.h, raster's GDAL, PROJ); add those include paths. + "/usr/include/h3", "/usr/include/gdal", "/usr/include/proj", + ] return [path for path in paths if os.path.exists(path)] +# Compile the MEOS headers with every optional family enabled, matching the +# all-families libmeos and the catalog it is derived from — the declarations +# guarded by ``#if `` are otherwise preprocessed out and diverge from +# the catalog. In sync with MobilityDB CMakeLists.txt's ``if(ALL)`` loop. +ALL_FAMILIES = ( + "ARROW", "CBUFFER", "H3", "JSON", "NPOINT", "POINTCLOUD", "POSE", + "QUADBIN", "RASTER", "RGEO", +) + ffibuilder.set_source( "_meos_cffi", "\n".join(f'#include "{h}"' for h in header_files), libraries=["meos"], library_dirs=get_library_dirs(), include_dirs=get_include_dirs(), + define_macros=[("MEOS", "1")] + [(f, "1") for f in ALL_FAMILIES], ) if __name__ == "__main__": # not when running with setuptools diff --git a/builder/build_pymeos_functions.py b/builder/build_pymeos_functions.py index 8d6d1ea..e7ac04c 100644 --- a/builder/build_pymeos_functions.py +++ b/builder/build_pymeos_functions.py @@ -16,6 +16,9 @@ "meos_internal.h", "meos_internal_geo.h", "meos_npoint.h", + "meos_cbuffer.h", + "meos_pose.h", + "meos_rgeo.h", ] # Types declared in MEOS headers but not exposed through the CFFI cdef. @@ -147,15 +150,15 @@ def _load_shape_pairs(idl: dict) -> None: for entry in idl["functions"]: sh = entry.get("shape", {}) name = entry["name"] + # arrayReturn.lengthFrom={"kind":"param","name":...} marks the named + # parameter as an output count. It applies to both plain + # ``T *foo(..., int *count)`` returns and to the split-family which + # additionally lists outputArrays parallel to the primary return. + length = sh.get("arrayReturn", {}).get("lengthFrom") + if length and length.get("kind") == "param": + output_parameters.add((name, length["name"])) for oa in sh.get("outputArrays", []): output_parameters.add((name, oa["param"])) - # Most outputArrays come with an implicit count companion; the - # PyMEOS-CFFI auto-detect handles ``count`` ending in ``*'`` but - # split-family declarations carry the count explicitly via the - # arrayReturn.lengthFrom={"kind":"param","name":...} sibling. - length = sh.get("arrayReturn", {}).get("lengthFrom") - if length and length.get("kind") == "param": - output_parameters.add((name, length["name"])) for nm in sh.get("nullable", []): nullable_parameters.add((name, nm)) @@ -447,12 +450,18 @@ def build_function_string(function_name: str, return_type: ReturnType, parameter # Create common part of function string (note, name, parameters, return type and # parameter conversions). base = f"{note}def {function_name}({params}) -> {function_return_type}:\n{param_conversions}" - # If the function didn't return anything, just add the function call to the base - if return_type.return_type == "None": - function_string = f"{base} _lib.{function_name}({inner_params})" - # Otherwise, store the result in a variable - else: + # Most codegen paths don't need the C-level return value: void returns + # discard it outright, and result_param wrappers route the value back + # through out_result with the only consumer being the bool-guard. Drop + # the assignment in those cases so ruff does not flag ``result`` as + # unused. + keep_result_assign = return_type.return_type != "None" and ( + result_param is None or return_type.return_type == "bool" + ) + if keep_result_assign: function_string = f"{base} result = _lib.{function_name}({inner_params})" + else: + function_string = f"{base} _lib.{function_name}({inner_params})" # Add error handling function_string += "\n _check_error()" diff --git a/builder/build_pymeos_functions_modifiers.py b/builder/build_pymeos_functions_modifiers.py index bd1c14f..4e6bacf 100644 --- a/builder/build_pymeos_functions_modifiers.py +++ b/builder/build_pymeos_functions_modifiers.py @@ -119,6 +119,11 @@ def spanset_make_modifier(function: str) -> str: def mi_span_span_modifier(function: str) -> str: - return function.replace( - '-> Annotated[_ffi.CData, "Span *"]', '-> tuple[Annotated[_ffi.CData, "Span *"], int]' - ).replace("return out_result", "return out_result, result") + return ( + function.replace( + '-> Annotated[_ffi.CData, "Span *"]', + '-> tuple[Annotated[_ffi.CData, "Span *"], int]', + ) + .replace("_lib.mi_span_span(", "result = _lib.mi_span_span(") + .replace("return out_result", "return out_result, result") + ) diff --git a/builder/meos-idl.json b/builder/meos-idl.json deleted file mode 100644 index 4b9cb35..0000000 --- a/builder/meos-idl.json +++ /dev/null @@ -1,50943 +0,0 @@ -{ - "functions": [ - { - "name": "date_in", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "date_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "interval_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "interv1", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "interv2", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "interval_in", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "interval_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "time_in", - "file": "meos.h", - "returnType": { - "c": "TimeADT", - "canonical": "long" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "time_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "t", - "cType": "TimeADT", - "canonical": "long" - } - ] - }, - { - "name": "timestamp_in", - "file": "meos.h", - "returnType": { - "c": "Timestamp", - "canonical": "long" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "timestamp_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "t", - "cType": "Timestamp", - "canonical": "long" - } - ] - }, - { - "name": "timestamptz_in", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "timestamptz_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "rtree_create_intspan", - "file": "meos.h", - "returnType": { - "c": "RTree *", - "canonical": "struct RTree *" - }, - "params": [] - }, - { - "name": "rtree_create_bigintspan", - "file": "meos.h", - "returnType": { - "c": "RTree *", - "canonical": "struct RTree *" - }, - "params": [] - }, - { - "name": "rtree_create_floatspan", - "file": "meos.h", - "returnType": { - "c": "RTree *", - "canonical": "struct RTree *" - }, - "params": [] - }, - { - "name": "rtree_create_datespan", - "file": "meos.h", - "returnType": { - "c": "RTree *", - "canonical": "struct RTree *" - }, - "params": [] - }, - { - "name": "rtree_create_tstzspan", - "file": "meos.h", - "returnType": { - "c": "RTree *", - "canonical": "struct RTree *" - }, - "params": [] - }, - { - "name": "rtree_create_tbox", - "file": "meos.h", - "returnType": { - "c": "RTree *", - "canonical": "struct RTree *" - }, - "params": [] - }, - { - "name": "rtree_create_stbox", - "file": "meos.h", - "returnType": { - "c": "RTree *", - "canonical": "struct RTree *" - }, - "params": [] - }, - { - "name": "rtree_free", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "rtree", - "cType": "RTree *", - "canonical": "struct RTree *" - } - ] - }, - { - "name": "rtree_insert", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "rtree", - "cType": "RTree *", - "canonical": "struct RTree *" - }, - { - "name": "box", - "cType": "void *", - "canonical": "void *" - }, - { - "name": "id", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "rtree_search", - "file": "meos.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "rtree", - "cType": "const RTree *", - "canonical": "const struct RTree *" - }, - { - "name": "query", - "cType": "const void *", - "canonical": "const void *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "meos_error", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "errlevel", - "cType": "int", - "canonical": "int" - }, - { - "name": "errcode", - "cType": "int", - "canonical": "int" - }, - { - "name": "format", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "meos_errno", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [] - }, - { - "name": "meos_errno_set", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "err", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "meos_errno_restore", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "err", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "meos_errno_reset", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [] - }, - { - "name": "meos_initialize_timezone", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "name", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "meos_initialize_error_handler", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "err_handler", - "cType": "error_handler_fn", - "canonical": "void (*)(int, int, const char *)" - } - ] - }, - { - "name": "meos_finalize_timezone", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [] - }, - { - "name": "meos_finalize_projsrs", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [] - }, - { - "name": "meos_finalize_ways", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [] - }, - { - "name": "meos_set_datestyle", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "newval", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "extra", - "cType": "void *", - "canonical": "void *" - } - ] - }, - { - "name": "meos_set_intervalstyle", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "newval", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "extra", - "cType": "int", - "canonical": "int" - } - ], - "shape": { - "nullable": [ - "extra" - ] - } - }, - { - "name": "meos_get_datestyle", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [] - }, - { - "name": "meos_get_intervalstyle", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [] - }, - { - "name": "meos_set_spatial_ref_sys_csv", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "path", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "meos_initialize", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [], - "shape": { - "nullable": [ - "tz_str" - ] - } - }, - { - "name": "meos_finalize", - "file": "meos.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [] - }, - { - "name": "add_date_int", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "days", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "add_interval_interval", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "interv1", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "interv2", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "add_timestamptz_interval", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "bool_in", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "bool_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "cstring2text", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "date_to_timestamp", - "file": "meos.h", - "returnType": { - "c": "Timestamp", - "canonical": "long" - }, - "params": [ - { - "name": "dateVal", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "date_to_timestamptz", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "float_exp", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "float_ln", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "float_log10", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "float8_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "float_round", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "int32_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "l", - "cType": "int32", - "canonical": "int" - }, - { - "name": "r", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "int64_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "l", - "cType": "int64", - "canonical": "long" - }, - { - "name": "r", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "interval_make", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "years", - "cType": "int32", - "canonical": "int" - }, - { - "name": "months", - "cType": "int32", - "canonical": "int" - }, - { - "name": "weeks", - "cType": "int32", - "canonical": "int" - }, - { - "name": "days", - "cType": "int32", - "canonical": "int" - }, - { - "name": "hours", - "cType": "int32", - "canonical": "int" - }, - { - "name": "mins", - "cType": "int32", - "canonical": "int" - }, - { - "name": "secs", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "minus_date_date", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d1", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "d2", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "minus_date_int", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "days", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "minus_timestamptz_interval", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "minus_timestamptz_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "t1", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "t2", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "mul_interval_double", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "factor", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "pg_date_in", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "pg_date_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "pg_interval_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "interv1", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "interv2", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "pg_interval_in", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "pg_interval_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "pg_timestamp_in", - "file": "meos.h", - "returnType": { - "c": "Timestamp", - "canonical": "long" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "pg_timestamp_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "t", - "cType": "Timestamp", - "canonical": "long" - } - ] - }, - { - "name": "pg_timestamptz_in", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "pg_timestamptz_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "text2cstring", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt1", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "txt2", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_copy", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_in", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "text_initcap", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_lower", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_upper", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "textcat_text_text", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "txt1", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "txt2", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "timestamptz_shift", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "timestamp_to_date", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "t", - "cType": "Timestamp", - "canonical": "long" - } - ] - }, - { - "name": "timestamptz_to_date", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "bigintset_in", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "bigintset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "bigintspan_expand", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "bigintspan_in", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "bigintspan_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "bigintspanset_in", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "bigintspanset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "dateset_in", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "dateset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "datespan_in", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "datespan_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "datespanset_in", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "datespanset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "floatset_in", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "floatset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "floatspan_expand", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "floatspan_in", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "floatspan_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "floatspanset_in", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "floatspanset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "intset_in", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "intset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intspan_expand", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "intspan_in", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "intspan_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intspanset_in", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "intspanset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "set_as_hexwkb", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "set_as_wkb", - "file": "meos.h", - "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "set_from_hexwkb", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "set_from_wkb", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" - } - ] - }, - { - "name": "span_as_hexwkb", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "span_as_wkb", - "file": "meos.h", - "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "span_from_hexwkb", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "span_from_wkb", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" - } - ] - }, - { - "name": "spanset_as_hexwkb", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "spanset_as_wkb", - "file": "meos.h", - "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "spanset_from_hexwkb", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "spanset_from_wkb", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" - } - ] - }, - { - "name": "textset_in", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "textset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tstzset_in", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tstzset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tstzspan_in", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tstzspan_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tstzspanset_in", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tstzspanset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "bigintset_make", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "const int64 *", - "canonical": "const long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "bigintspan_make", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "lower", - "cType": "int64", - "canonical": "long" - }, - { - "name": "upper", - "cType": "int64", - "canonical": "long" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "dateset_make", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "const DateADT *", - "canonical": "const int *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "datespan_make", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "lower", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "upper", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "floatset_make", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "floatspan_make", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "lower", - "cType": "double", - "canonical": "double" - }, - { - "name": "upper", - "cType": "double", - "canonical": "double" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "intset_make", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "intspan_make", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "lower", - "cType": "int", - "canonical": "int" - }, - { - "name": "upper", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "set_copy", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "span_copy", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "spanset_copy", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_make", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "spans", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "textset_make", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "text **", - "canonical": "struct varlena **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tstzset_make", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "const TimestampTz *", - "canonical": "const long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tstzspan_make", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "lower", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "upper", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "bigint_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "bigint_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "bigint_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "date_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "date_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "date_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "dateset_to_tstzset", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "datespan_to_tstzspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "datespanset_to_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "float_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "float_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "float_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "floatset_to_intset", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "floatspan_to_intspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "floatspanset_to_intspanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "int_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "int_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "int_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "intset_to_floatset", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intspan_to_floatspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intspanset_to_floatspanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "set_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "span_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "text_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "timestamptz_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "timestamptz_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "timestamptz_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tstzset_to_dateset", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tstzspan_to_datespan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tstzspanset_to_datespanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "bigintset_end_value", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "bigintset_start_value", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "bigintset_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "int64 *", - "canonical": "long *" - } - ] - }, - { - "name": "bigintset_values", - "file": "meos.h", - "returnType": { - "c": "int64 *", - "canonical": "long *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "set_num_values", - "arg": "s" - } - } - } - }, - { - "name": "bigintspan_lower", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "bigintspan_upper", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "bigintspan_width", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "bigintspanset_lower", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "bigintspanset_upper", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "bigintspanset_width", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "dateset_end_value", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "dateset_start_value", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "dateset_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "DateADT *", - "canonical": "int *" - } - ] - }, - { - "name": "dateset_values", - "file": "meos.h", - "returnType": { - "c": "DateADT *", - "canonical": "int *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "set_num_values", - "arg": "s" - } - } - } - }, - { - "name": "datespan_duration", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "datespan_lower", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "datespan_upper", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "datespanset_date_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "DateADT *", - "canonical": "int *" - } - ] - }, - { - "name": "datespanset_dates", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "datespanset_duration", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "datespanset_end_date", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "datespanset_num_dates", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "datespanset_start_date", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "floatset_end_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "floatset_start_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "floatset_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "floatset_values", - "file": "meos.h", - "returnType": { - "c": "double *", - "canonical": "double *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "set_num_values", - "arg": "s" - } - } - } - }, - { - "name": "floatspan_lower", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "floatspan_upper", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "floatspan_width", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "floatspanset_lower", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "floatspanset_upper", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "floatspanset_width", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "intset_end_value", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intset_start_value", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intset_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "intset_values", - "file": "meos.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "set_num_values", - "arg": "s" - } - } - } - }, - { - "name": "intspan_lower", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intspan_upper", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intspan_width", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intspanset_lower", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "intspanset_upper", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "intspanset_width", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "set_hash", - "file": "meos.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_hash_extended", - "file": "meos.h", - "returnType": { - "c": "uint64", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" - } - ] - }, - { - "name": "set_num_values", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "span_hash", - "file": "meos.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_hash_extended", - "file": "meos.h", - "returnType": { - "c": "uint64", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" - } - ] - }, - { - "name": "span_lower_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_upper_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "spanset_end_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_hash", - "file": "meos.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_hash_extended", - "file": "meos.h", - "returnType": { - "c": "uint64", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" - } - ] - }, - { - "name": "spanset_lower_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_num_spans", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_span_n", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "spanset_spanarr", - "file": "meos.h", - "returnType": { - "c": "Span **", - "canonical": "Span **" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "spanset_num_spans", - "arg": "ss" - } - } - } - }, - { - "name": "spanset_start_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_upper_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "textset_end_value", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "textset_start_value", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "textset_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "text **", - "canonical": "struct varlena **" - } - ] - }, - { - "name": "textset_values", - "file": "meos.h", - "returnType": { - "c": "text **", - "canonical": "struct varlena **" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "set_num_values", - "arg": "s" - } - } - } - }, - { - "name": "tstzset_end_value", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tstzset_start_value", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tstzset_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" - } - ] - }, - { - "name": "tstzset_values", - "file": "meos.h", - "returnType": { - "c": "TimestampTz *", - "canonical": "long *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "set_num_values", - "arg": "s" - } - } - } - }, - { - "name": "tstzspan_duration", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tstzspan_lower", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tstzspan_upper", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tstzspanset_duration", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tstzspanset_end_timestamptz", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tstzspanset_lower", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tstzspanset_num_timestamps", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tstzspanset_start_timestamptz", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tstzspanset_timestamps", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tstzspanset_timestamptz_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" - } - ] - }, - { - "name": "tstzspanset_upper", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "bigintset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "shift", - "cType": "int64", - "canonical": "long" - }, - { - "name": "width", - "cType": "int64", - "canonical": "long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "bigintspan_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "shift", - "cType": "int64", - "canonical": "long" - }, - { - "name": "width", - "cType": "int64", - "canonical": "long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "bigintspanset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "shift", - "cType": "int64", - "canonical": "long" - }, - { - "name": "width", - "cType": "int64", - "canonical": "long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "dateset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "datespan_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "datespanset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "floatset_ceil", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "floatset_degrees", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "floatset_floor", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "floatset_radians", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "floatset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "shift", - "cType": "double", - "canonical": "double" - }, - { - "name": "width", - "cType": "double", - "canonical": "double" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "floatspan_ceil", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "floatspan_degrees", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "floatspan_floor", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "floatspan_radians", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "floatspan_round", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "floatspan_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "shift", - "cType": "double", - "canonical": "double" - }, - { - "name": "width", - "cType": "double", - "canonical": "double" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "floatspanset_ceil", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "floatspanset_floor", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "floatspanset_degrees", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "floatspanset_radians", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "floatspanset_round", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "floatspanset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "shift", - "cType": "double", - "canonical": "double" - }, - { - "name": "width", - "cType": "double", - "canonical": "double" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "intset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "intspan_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "intspanset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tstzspan_expand", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "set_round", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "textcat_text_textset", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "textcat_textset_text", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "textset_initcap", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "textset_lower", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "textset_upper", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "timestamptz_tprecision", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tstzset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ], - "shape": { - "nullable": [ - "shift", - "duration" - ] - } - }, - { - "name": "tstzset_tprecision", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tstzspan_shift_scale", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ], - "shape": { - "nullable": [ - "shift", - "duration" - ] - } - }, - { - "name": "tstzspan_tprecision", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tstzspanset_shift_scale", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ], - "shape": { - "nullable": [ - "shift", - "duration" - ] - } - }, - { - "name": "tstzspanset_tprecision", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "set_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_eq", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_ge", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_gt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_le", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_lt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_ne", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "span_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_eq", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_ge", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_gt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_le", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_lt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_ne", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "spanset_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_eq", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_ge", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_gt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_le", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_lt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_ne", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "set_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_split_each_n_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "elems_per_span", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "set_split_n_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "span_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "spanset_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_split_each_n_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "elems_per_span", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "spanset_split_n_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "span_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "adjacent_span_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "adjacent_span_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "adjacent_span_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "adjacent_span_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "adjacent_span_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "adjacent_span_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "adjacent_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "adjacent_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "adjacent_spanset_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "adjacent_spanset_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "adjacent_spanset_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "adjacent_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "adjacent_spanset_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "adjacent_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contained_bigint_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contained_bigint_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_bigint_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contained_date_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contained_date_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_date_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contained_float_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contained_float_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_float_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contained_int_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contained_int_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_int_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contained_set_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contained_span_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_span_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contained_spanset_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contained_text_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contained_timestamptz_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contained_timestamptz_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_timestamptz_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contains_set_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "contains_set_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "contains_set_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "contains_set_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "contains_set_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contains_set_text", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "text *", - "canonical": "struct varlena *" - } - ] - }, - { - "name": "contains_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "contains_span_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "contains_span_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "contains_span_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "contains_span_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "contains_span_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contains_span_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contains_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "contains_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "contains_spanset_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "contains_spanset_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "contains_spanset_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "contains_spanset_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contains_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contains_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "overlaps_set_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overlaps_span_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overlaps_span_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overlaps_spanset_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overlaps_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "after_date_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "after_date_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "after_date_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "after_set_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "after_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "after_span_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "after_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "after_spanset_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "after_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "after_timestamptz_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "after_timestamptz_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "after_timestamptz_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "before_date_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "before_date_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "before_date_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "before_set_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "before_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "before_span_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "before_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "before_spanset_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "before_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "before_timestamptz_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "before_timestamptz_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "before_timestamptz_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "left_bigint_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "left_bigint_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "left_bigint_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "left_float_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "left_float_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "left_float_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "left_int_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "left_int_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "left_int_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "left_set_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "left_set_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "left_set_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "left_set_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "left_set_text", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" - } - ] - }, - { - "name": "left_span_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "left_span_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "left_span_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "left_span_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "left_span_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "left_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "left_spanset_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "left_spanset_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "left_spanset_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "left_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "left_text_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overafter_date_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overafter_date_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overafter_date_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overafter_set_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "overafter_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "overafter_span_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "overafter_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "overafter_spanset_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "overafter_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "overafter_timestamptz_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overafter_timestamptz_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overafter_timestamptz_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overbefore_date_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overbefore_date_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overbefore_date_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overbefore_set_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "overbefore_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "overbefore_span_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "overbefore_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "overbefore_spanset_date", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "overbefore_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "overbefore_timestamptz_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overbefore_timestamptz_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overbefore_timestamptz_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overleft_bigint_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overleft_bigint_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overleft_bigint_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overleft_float_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overleft_float_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overleft_float_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overleft_int_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overleft_int_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overleft_int_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overleft_set_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "overleft_set_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "overleft_set_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "overleft_set_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overleft_set_text", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" - } - ] - }, - { - "name": "overleft_span_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "overleft_span_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "overleft_span_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "overleft_span_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overleft_span_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overleft_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "overleft_spanset_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "overleft_spanset_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "overleft_spanset_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overleft_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overleft_text_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overright_bigint_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overright_bigint_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overright_bigint_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overright_float_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overright_float_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overright_float_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overright_int_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overright_int_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overright_int_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overright_set_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "overright_set_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "overright_set_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "overright_set_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overright_set_text", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" - } - ] - }, - { - "name": "overright_span_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "overright_span_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "overright_span_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "overright_span_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overright_span_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overright_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "overright_spanset_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "overright_spanset_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "overright_spanset_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overright_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overright_text_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "right_bigint_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "right_bigint_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "right_bigint_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "right_float_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "right_float_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "right_float_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "right_int_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "right_int_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "right_int_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "right_set_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "right_set_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "right_set_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "right_set_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "right_set_text", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" - } - ] - }, - { - "name": "right_span_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "right_span_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "right_span_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "right_span_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "right_span_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "right_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "right_spanset_float", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "right_spanset_int", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "right_spanset_span", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "right_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "right_text_set", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_bigint_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_date_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_float_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_int_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_set_bigint", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "intersection_set_date", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "intersection_set_float", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "intersection_set_int", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "intersection_set_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_set_text", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "intersection_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "intersection_span_bigint", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "intersection_span_date", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "intersection_span_float", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "intersection_span_int", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "intersection_span_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intersection_span_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "intersection_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "intersection_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "intersection_spanset_date", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "intersection_spanset_float", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "intersection_spanset_int", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "intersection_spanset_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intersection_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "intersection_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "intersection_text_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_timestamptz_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_bigint_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_bigint_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "minus_bigint_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "minus_date_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_date_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "minus_date_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "minus_float_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_float_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "minus_float_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "minus_int_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_int_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "minus_int_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "minus_set_bigint", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "minus_set_date", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "minus_set_float", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "minus_set_int", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "minus_set_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_set_text", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "minus_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "minus_span_bigint", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "minus_span_date", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "minus_span_float", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "minus_span_int", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "minus_span_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "minus_span_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "minus_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "minus_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "minus_spanset_date", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "minus_spanset_float", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "minus_spanset_int", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "minus_spanset_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "minus_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "minus_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "minus_text_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_timestamptz_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_timestamptz_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "minus_timestamptz_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "union_bigint_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_bigint_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "union_bigint_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - }, - { - "name": "ss", - "cType": "SpanSet *", - "canonical": "SpanSet *" - } - ] - }, - { - "name": "union_date_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_date_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "union_date_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "ss", - "cType": "SpanSet *", - "canonical": "SpanSet *" - } - ] - }, - { - "name": "union_float_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_float_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "union_float_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "ss", - "cType": "SpanSet *", - "canonical": "SpanSet *" - } - ] - }, - { - "name": "union_int_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_int_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "union_int_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "ss", - "cType": "SpanSet *", - "canonical": "SpanSet *" - } - ] - }, - { - "name": "union_set_bigint", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "union_set_date", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "union_set_float", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "union_set_int", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "union_set_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_set_text", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "union_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "union_span_bigint", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "union_span_date", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "union_span_float", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "union_span_int", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "union_span_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "union_span_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "union_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "union_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "union_spanset_date", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "union_spanset_float", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "union_spanset_int", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "union_spanset_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "union_spanset_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "union_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "union_text_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_timestamptz_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_timestamptz_span", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "union_timestamptz_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "ss", - "cType": "SpanSet *", - "canonical": "SpanSet *" - } - ] - }, - { - "name": "distance_bigintset_bigintset", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "distance_bigintspan_bigintspan", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_bigintspanset_bigintspan", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_bigintspanset_bigintspanset", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "distance_dateset_dateset", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "distance_datespan_datespan", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_datespanset_datespan", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_datespanset_datespanset", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "distance_floatset_floatset", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "distance_floatspan_floatspan", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_floatspanset_floatspan", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_floatspanset_floatspanset", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "distance_intset_intset", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "distance_intspan_intspan", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_intspanset_intspan", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_intspanset_intspanset", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "distance_set_bigint", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "distance_set_date", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "distance_set_float", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "distance_set_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "distance_set_timestamptz", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "distance_span_bigint", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "distance_span_date", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "distance_span_float", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "distance_span_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "distance_span_timestamptz", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "distance_spanset_bigint", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "distance_spanset_date", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "distance_spanset_float", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "distance_spanset_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "distance_spanset_timestamptz", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "distance_tstzset_tstzset", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "distance_tstzspan_tstzspan", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_tstzspanset_tstzspan", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_tstzspanset_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "bigint_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "bigint_union_transfn", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "date_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "date_union_transfn", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "float_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "float_union_transfn", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "int_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "int_union_transfn", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "i", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "set_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_union_finalfn", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - } - ] - }, - { - "name": "set_union_transfn", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "s", - "cType": "Set *", - "canonical": "Set *" - } - ] - }, - { - "name": "span_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "span_union_transfn", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "state", - "cType": "SpanSet *", - "canonical": "SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "spanset_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_union_finalfn", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "state", - "cType": "SpanSet *", - "canonical": "SpanSet *" - } - ] - }, - { - "name": "spanset_union_transfn", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "state", - "cType": "SpanSet *", - "canonical": "SpanSet *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "text_union_transfn", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "timestamptz_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ], - "shape": { - "nullable": [ - "p" - ] - } - }, - { - "name": "timestamptz_union_transfn", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "bigint_get_bin", - "file": "meos.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "value", - "cType": "int64", - "canonical": "long" - }, - { - "name": "vsize", - "cType": "int64", - "canonical": "long" - }, - { - "name": "vorigin", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "bigintspan_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "vsize", - "cType": "int64", - "canonical": "long" - }, - { - "name": "vorigin", - "cType": "int64", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "bigintspanset_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "vsize", - "cType": "int64", - "canonical": "long" - }, - { - "name": "vorigin", - "cType": "int64", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "date_get_bin", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "datespan_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "datespanset_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "float_get_bin", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "value", - "cType": "double", - "canonical": "double" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "floatspan_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "floatspanset_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "int_get_bin", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "int", - "canonical": "int" - }, - { - "name": "vsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "vorigin", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "intspan_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "vsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "vorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "intspanset_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "vsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "vorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "timestamptz_get_bin", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tstzspan_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "origin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tstzspanset_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tbox_as_hexwkb", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ], - "shape": { - "outputArrays": [ - { - "param": "size" - } - ] - } - }, - { - "name": "tbox_as_wkb", - "file": "meos.h", - "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "tbox_from_hexwkb", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tbox_from_wkb", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" - } - ] - }, - { - "name": "tbox_in", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tbox_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "float_timestamptz_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "float_tstzspan_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "int_timestamptz_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "int_tstzspan_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "numspan_tstzspan_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "span", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "numspan_timestamptz_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "span", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tbox_copy", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_make", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "p", - "cType": "const Span *", - "canonical": "const Span *" - } - ], - "shape": { - "nullable": [ - "p", - "s" - ] - } - }, - { - "name": "float_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "int_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "set_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "span_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "spanset_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tbox_to_intspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_to_floatspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_to_tstzspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "timestamptz_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tbox_hash", - "file": "meos.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_hash_extended", - "file": "meos.h", - "returnType": { - "c": "uint64", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" - } - ] - }, - { - "name": "tbox_hast", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_hasx", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_tmax", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" - } - ] - }, - { - "name": "tbox_tmax_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "bool *", - "canonical": "_Bool *" - } - ] - }, - { - "name": "tbox_tmin", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" - } - ] - }, - { - "name": "tbox_tmin_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "bool *", - "canonical": "_Bool *" - } - ] - }, - { - "name": "tbox_xmax", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "tbox_xmax_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "bool *", - "canonical": "_Bool *" - } - ] - }, - { - "name": "tbox_xmin", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "tbox_xmin_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "bool *", - "canonical": "_Bool *" - } - ] - }, - { - "name": "tboxfloat_xmax", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "tboxfloat_xmin", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "tboxint_xmax", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tboxint_xmin", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tbox_expand_time", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tbox_round", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tbox_shift_scale_time", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ], - "shape": { - "nullable": [ - "shift", - "duration" - ] - } - }, - { - "name": "tfloatbox_expand", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tfloatbox_shift_scale", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "shift", - "cType": "double", - "canonical": "double" - }, - { - "name": "width", - "cType": "double", - "canonical": "double" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tintbox_expand", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tintbox_shift_scale", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "union_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "intersection_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "adjacent_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "contained_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "contains_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overlaps_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "same_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "after_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "before_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "left_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overafter_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overbefore_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overleft_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overright_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "right_tbox_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_eq", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_ge", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_gt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_le", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_lt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbox_ne", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tbool_from_mfjson", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tbool_in", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tbool_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_as_hexwkb", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "temporal_as_mfjson", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "with_bbox", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "flags", - "cType": "int", - "canonical": "int" - }, - { - "name": "precision", - "cType": "int", - "canonical": "int" - }, - { - "name": "srs", - "cType": "const char *", - "canonical": "const char *" - } - ], - "shape": { - "nullable": [ - "srs" - ] - } - }, - { - "name": "temporal_as_wkb", - "file": "meos.h", - "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "temporal_from_hexwkb", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "temporal_from_wkb", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" - } - ] - }, - { - "name": "tfloat_from_mfjson", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tfloat_in", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tfloat_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tint_from_mfjson", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tint_in", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tint_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_from_mfjson", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "ttext_in", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "ttext_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tbool_from_base_temp", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tboolinst_make", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tboolseq_from_base_tstzset", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tboolseq_from_base_tstzspan", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tboolseqset_from_base_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "temporal_copy", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_from_base_temp", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloatinst_make", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tfloatseq_from_base_tstzset", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tfloatseq_from_base_tstzspan", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tfloatseqset_from_base_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tint_from_base_temp", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tintinst_make", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tintseq_from_base_tstzset", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tintseq_from_base_tstzspan", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tintseqset_from_base_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tsequence_make", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "instants", - "cType": "TInstant **", - "canonical": "TInstant **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_make", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "sequences", - "cType": "TSequence **", - "canonical": "TSequence **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_make_gaps", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "instants", - "cType": "TInstant **", - "canonical": "TInstant **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - }, - { - "name": "maxt", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "maxdist", - "cType": "double", - "canonical": "double" - } - ], - "shape": { - "nullable": [ - "maxt" - ] - } - }, - { - "name": "ttext_from_base_temp", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttextinst_make", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "ttextseq_from_base_tstzset", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "ttextseq_from_base_tstzspan", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "ttextseqset_from_base_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tbool_to_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_to_tstzspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_to_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tint_to_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumber_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumber_to_tbox", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tbool_end_value", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tbool_start_value", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tbool_value_at_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "value", - "cType": "bool *", - "canonical": "_Bool *" - } - ] - }, - { - "name": "tbool_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "bool *", - "canonical": "_Bool *" - } - ] - }, - { - "name": "tbool_values", - "file": "meos.h", - "returnType": { - "c": "bool *", - "canonical": "_Bool *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_duration", - "file": "meos.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_end_instant", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_end_sequence", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_end_timestamptz", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_hash", - "file": "meos.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_instant_n", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temporal_instants", - "file": "meos.h", - "returnType": { - "c": "TInstant **", - "canonical": "TInstant **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_interp", - "file": "meos.h", - "returnType": { - "c": "const char *", - "canonical": "const char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_lower_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_max_instant", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_min_instant", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_num_instants", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_num_sequences", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_num_timestamps", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_segm_duration", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "atleast", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_segments", - "file": "meos.h", - "returnType": { - "c": "TSequence **", - "canonical": "TSequence **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_sequence_n", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temporal_sequences", - "file": "meos.h", - "returnType": { - "c": "TSequence **", - "canonical": "TSequence **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_start_instant", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_start_sequence", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_start_timestamptz", - "file": "meos.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_stops", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdist", - "cType": "double", - "canonical": "double" - }, - { - "name": "minduration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "temporal_subtype", - "file": "meos.h", - "returnType": { - "c": "const char *", - "canonical": "const char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_time", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_timestamps", - "file": "meos.h", - "returnType": { - "c": "TimestampTz *", - "canonical": "long *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_timestamptz_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" - } - ] - }, - { - "name": "temporal_upper_inc", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_avg_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_end_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_min_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_max_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_start_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_value_at_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "value", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "tfloat_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "tfloat_values", - "file": "meos.h", - "returnType": { - "c": "double *", - "canonical": "double *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tint_end_value", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tint_max_value", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tint_min_value", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tint_start_value", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tint_value_at_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "value", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tint_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tint_values", - "file": "meos.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnumber_avg_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumber_integral", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumber_twavg", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumber_valuespans", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_end_value", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_max_value", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_min_value", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_start_value", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_value_at_timestamptz", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "value", - "cType": "text **", - "canonical": "struct varlena **" - } - ] - }, - { - "name": "ttext_value_n", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "text **", - "canonical": "struct varlena **" - } - ] - }, - { - "name": "ttext_values", - "file": "meos.h", - "returnType": { - "c": "text **", - "canonical": "struct varlena **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "param", - "name": "count" - } - } - } - }, - { - "name": "float_degrees", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "value", - "cType": "double", - "canonical": "double" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temparr_round", - "file": "meos.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "Temporal **", - "canonical": "Temporal **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temporal_round", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temporal_scale_time", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "temporal_set_interp", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "temporal_shift_scale_time", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ], - "shape": { - "nullable": [ - "shift", - "duration" - ] - } - }, - { - "name": "temporal_shift_time", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "temporal_to_tinstant", - "file": "meos.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_to_tsequence", - "file": "meos.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "temporal_to_tsequenceset", - "file": "meos.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tfloat_ceil", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_degrees", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tfloat_floor", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_radians", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_scale_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "width", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tfloat_shift_scale_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "shift", - "cType": "double", - "canonical": "double" - }, - { - "name": "width", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tfloat_shift_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "shift", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tint_scale_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tint_shift_scale_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - }, - { - "name": "width", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tint_shift_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "shift", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temporal_append_tinstant", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" - }, - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - }, - { - "name": "maxdist", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxt", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" - } - ], - "shape": { - "nullable": [ - "maxt" - ] - } - }, - { - "name": "temporal_append_tsequence", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" - }, - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_delete_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_delete_tstzset", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_delete_tstzspan", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_delete_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_insert", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_merge", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_merge_array", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temparr", - "cType": "Temporal **", - "canonical": "Temporal **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temporal_update", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tbool_at_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tbool_minus_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_after_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_at_max", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_at_min", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_at_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "temporal_at_tstzset", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "temporal_at_tstzspan", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "temporal_at_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "temporal_at_values", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "temporal_before_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_minus_max", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_minus_min", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_minus_timestamptz", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "temporal_minus_tstzset", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "temporal_minus_tstzspan", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "temporal_minus_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "temporal_minus_values", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tfloat_at_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tfloat_minus_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tint_at_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tint_minus_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tnumber_at_span", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "span", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tnumber_at_spanset", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tnumber_at_tbox", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "tnumber_minus_span", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "span", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tnumber_minus_spanset", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tnumber_minus_tbox", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "ttext_at_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" - } - ] - }, - { - "name": "ttext_minus_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "text *", - "canonical": "struct varlena *" - } - ] - }, - { - "name": "temporal_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_eq", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "ownership": "caller", - "nullable": true, - "doc": "Returns the temporal equality between two temporal values.", - "meos": { - "temporalDim": "any", - "spatialDim": null, - "interpolation": false, - "subtype": "any" - } - }, - { - "name": "temporal_ge", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_gt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_le", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_lt", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_ne", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_bool_tbool", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_tbool_bool", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "always_eq_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "always_eq_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "always_eq_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "always_ge_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ge_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ge_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ge_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ge_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "always_ge_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "always_ge_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "always_gt_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_gt_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_gt_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_gt_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_gt_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "always_gt_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "always_gt_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "always_le_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_le_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_le_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_le_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_le_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "always_le_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "always_le_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "always_lt_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_lt_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_lt_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_lt_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_lt_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "always_lt_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "always_lt_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "always_ne_bool_tbool", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_tbool_bool", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "always_ne_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "always_ne_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "always_ne_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "ever_eq_bool_tbool", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_tbool_bool", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "ever_eq_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "ever_eq_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "ever_eq_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "ever_ge_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ge_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ge_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ge_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ge_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "ever_ge_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "ever_ge_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "ever_gt_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_gt_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_gt_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_gt_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_gt_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "ever_gt_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "ever_gt_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "ever_le_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_le_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_le_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_le_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_le_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "ever_le_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "ever_le_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "ever_lt_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_lt_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_lt_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_lt_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_lt_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "ever_lt_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "ever_lt_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "ever_ne_bool_tbool", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_int_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_tbool_bool", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "ever_ne_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_text_ttext", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "ever_ne_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "ever_ne_ttext_text", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "teq_bool_tbool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "teq_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "teq_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "teq_tbool_bool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "teq_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "teq_text_ttext", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "teq_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "teq_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "teq_ttext_text", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "tge_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tge_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tge_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tge_text_ttext", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tge_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tge_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tge_ttext_text", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "tgt_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgt_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgt_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgt_text_ttext", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgt_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tgt_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tgt_ttext_text", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "tle_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tle_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tle_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tle_text_ttext", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tle_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tle_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tle_ttext_text", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "tlt_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tlt_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tlt_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tlt_text_ttext", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tlt_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tlt_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tlt_ttext_text", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "tne_bool_tbool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tne_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tne_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tne_tbool_bool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tne_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tne_text_ttext", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tne_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tne_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tne_ttext_text", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "temporal_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_split_each_n_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "elem_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_split_n_spans", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "span_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnumber_split_each_n_tboxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "elem_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnumber_split_n_tboxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnumber_tboxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "adjacent_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "adjacent_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "adjacent_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "adjacent_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "adjacent_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "adjacent_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "adjacent_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "adjacent_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contained_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contained_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contained_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contained_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "contained_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contained_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contains_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contains_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contains_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contains_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contains_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contains_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "contains_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contains_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overlaps_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overlaps_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overlaps_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overlaps_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overlaps_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overlaps_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overlaps_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overlaps_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "same_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "same_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "same_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "same_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "same_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "same_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "same_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "same_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "after_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "after_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "after_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "after_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "after_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "after_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "before_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "before_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "before_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "before_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "before_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "before_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "left_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "left_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "left_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "left_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "left_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overafter_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overafter_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overafter_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overafter_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overafter_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overafter_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overbefore_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overbefore_temporal_tstzspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overbefore_temporal_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overbefore_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overbefore_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overbefore_tstzspan_temporal", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overleft_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overleft_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overleft_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overleft_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overleft_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overright_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overright_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overright_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overright_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "overright_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "right_numspan_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "right_tbox_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "right_tnumber_numspan", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "right_tnumber_tbox", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "right_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tand_bool_tbool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tand_tbool_bool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tand_tbool_tbool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tbool_when_true", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnot_tbool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tor_bool_tbool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "b", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tor_tbool_bool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "b", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tor_tbool_tbool", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "add_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "add_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "add_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "add_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "add_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "tnumber2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "div_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "div_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "div_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "div_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "div_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "tnumber2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "mult_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "mult_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "mult_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "mult_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "mult_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "tnumber2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "sub_float_tfloat", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "sub_int_tint", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "sub_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "sub_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "sub_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "tnumber1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "tnumber2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_derivative", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_exp", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_ln", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_log10", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumber_abs", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumber_trend", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "float_angular_difference", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "degrees1", - "cType": "double", - "canonical": "double" - }, - { - "name": "degrees2", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tnumber_angular_difference", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumber_delta_value", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "textcat_text_ttext", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "textcat_ttext_text", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "textcat_ttext_ttext", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_initcap", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_upper", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ttext_lower", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tdistance_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tdistance_tint_int", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tdistance_tnumber_tnumber", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "nad_tboxfloat_tboxfloat", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "nad_tboxint_tboxint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "nad_tfloat_float", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "nad_tfloat_tfloat", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "nad_tfloat_tbox", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "nad_tint_int", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "nad_tint_tbox", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "nad_tint_tint", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tbool_tand_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "tbool_tor_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "temporal_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "p" - ] - } - }, - { - "name": "temporal_tagg_finalfn", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - } - ] - }, - { - "name": "temporal_tcount_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state", - "interval" - ] - } - }, - { - "name": "tfloat_tmax_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "tfloat_tmin_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "tfloat_tsum_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "tfloat_wmax_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tfloat_wmin_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tfloat_wsum_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "timestamptz_tcount_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ], - "shape": { - "nullable": [ - "state", - "interval" - ] - } - }, - { - "name": "tint_tmax_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "tint_tmin_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "tint_tsum_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "tint_wmax_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tint_wmin_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tint_wsum_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tnumber_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "box" - ] - } - }, - { - "name": "tnumber_tavg_finalfn", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - } - ] - }, - { - "name": "tnumber_tavg_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "tnumber_wavg_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tstzset_tcount_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "nullable": [ - "state", - "interval" - ] - } - }, - { - "name": "tstzspan_tcount_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ], - "shape": { - "nullable": [ - "state", - "interval" - ] - } - }, - { - "name": "tstzspanset_tcount_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ], - "shape": { - "nullable": [ - "state", - "interval" - ] - } - }, - { - "name": "ttext_tmax_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "ttext_tmin_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "state" - ] - } - }, - { - "name": "temporal_simplify_dp", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "eps_dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "synchronized", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_simplify_max_dist", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "eps_dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "synchronized", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_simplify_min_dist", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "temporal_simplify_min_tdelta", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "mint", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "temporal_tprecision", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "origin", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "temporal_tsample", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "origin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "temporal_dyntimewarp_distance", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_dyntimewarp_path", - "file": "meos.h", - "returnType": { - "c": "Match *", - "canonical": "Match *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_frechet_distance", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_frechet_path", - "file": "meos.h", - "returnType": { - "c": "Match *", - "canonical": "Match *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_hausdorff_distance", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_time_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "origin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_time_split", - "file": "meos.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "param", - "name": "count" - } - }, - "outputArrays": [ - { - "param": "time_bins" - } - ] - } - }, - { - "name": "tfloat_time_boxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tfloat_value_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tfloat_value_boxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tfloat_value_split", - "file": "meos.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "size", - "cType": "double", - "canonical": "double" - }, - { - "name": "origin", - "cType": "double", - "canonical": "double" - }, - { - "name": "bins", - "cType": "double **", - "canonical": "double **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "param", - "name": "count" - } - }, - "outputArrays": [ - { - "param": "bins" - } - ] - } - }, - { - "name": "tfloat_value_time_boxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tfloat_value_time_split", - "file": "meos.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "value_bins", - "cType": "double **", - "canonical": "double **" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "param", - "name": "count" - } - }, - "outputArrays": [ - { - "param": "value_bins" - }, - { - "param": "time_bins" - } - ] - } - }, - { - "name": "tfloatbox_time_tiles", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tfloatbox_value_tiles", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tfloatbox_value_time_tiles", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "vsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "vorigin", - "cType": "double", - "canonical": "double" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "outputArrays": [ - { - "param": "count" - } - ], - "nullable": [ - "xorigin", - "torigin" - ] - } - }, - { - "name": "tint_time_boxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tint_value_bins", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "vorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tint_value_boxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "vorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tint_value_split", - "file": "meos.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "vorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "bins", - "cType": "int **", - "canonical": "int **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "param", - "name": "count" - } - }, - "outputArrays": [ - { - "param": "bins" - } - ] - } - }, - { - "name": "tint_value_time_boxes", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "vorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tint_value_time_split", - "file": "meos.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "size", - "cType": "int", - "canonical": "int" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "vorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "value_bins", - "cType": "int **", - "canonical": "int **" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "param", - "name": "count" - } - }, - "outputArrays": [ - { - "param": "value_bins" - }, - { - "param": "time_bins" - } - ] - } - }, - { - "name": "tintbox_time_tiles", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tintbox_value_tiles", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "xsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "xorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tintbox_value_time_tiles", - "file": "meos.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "xsize", - "cType": "int", - "canonical": "int" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "xorigin", - "cType": "int", - "canonical": "int" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "outputArrays": [ - { - "param": "count" - } - ], - "nullable": [ - "xorigin", - "torigin" - ] - } - }, - { - "name": "temptype_subtype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "subtype", - "cType": "tempSubtype", - "canonical": "tempSubtype" - } - ] - }, - { - "name": "temptype_subtype_all", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "subtype", - "cType": "tempSubtype", - "canonical": "tempSubtype" - } - ] - }, - { - "name": "tempsubtype_name", - "file": "meos_catalog.h", - "returnType": { - "c": "const char *", - "canonical": "const char *" - }, - "params": [ - { - "name": "subtype", - "cType": "tempSubtype", - "canonical": "tempSubtype" - } - ] - }, - { - "name": "tempsubtype_from_string", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "subtype", - "cType": "int16 *", - "canonical": "short *" - } - ], - "shape": { - "namedOutputs": [ - "subtype" - ] - } - }, - { - "name": "meosoper_name", - "file": "meos_catalog.h", - "returnType": { - "c": "const char *", - "canonical": "const char *" - }, - "params": [ - { - "name": "oper", - "cType": "meosOper", - "canonical": "meosOper" - } - ] - }, - { - "name": "meosoper_from_string", - "file": "meos_catalog.h", - "returnType": { - "c": "meosOper", - "canonical": "meosOper" - }, - "params": [ - { - "name": "name", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "interptype_name", - "file": "meos_catalog.h", - "returnType": { - "c": "const char *", - "canonical": "const char *" - }, - "params": [ - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "interptype_from_string", - "file": "meos_catalog.h", - "returnType": { - "c": "interpType", - "canonical": "interpType" - }, - "params": [ - { - "name": "interp_str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "meostype_name", - "file": "meos_catalog.h", - "returnType": { - "c": "const char *", - "canonical": "const char *" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "temptype_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "meosType", - "canonical": "meosType" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "settype_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "meosType", - "canonical": "meosType" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spantype_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "meosType", - "canonical": "meosType" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spantype_spansettype", - "file": "meos_catalog.h", - "returnType": { - "c": "meosType", - "canonical": "meosType" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spansettype_spantype", - "file": "meos_catalog.h", - "returnType": { - "c": "meosType", - "canonical": "meosType" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "basetype_spantype", - "file": "meos_catalog.h", - "returnType": { - "c": "meosType", - "canonical": "meosType" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "basetype_settype", - "file": "meos_catalog.h", - "returnType": { - "c": "meosType", - "canonical": "meosType" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tnumber_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "geo_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "meos_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "alphanum_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "alphanum_temptype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "time_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "set_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "set_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "numset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_numset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "timeset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "set_spantype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_set_spantype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "alphanumset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "settype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "geoset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_geoset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spatialset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_spatialset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "span_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "span_canon_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "span_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "type_span_bbox", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "span_tbox_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_span_tbox_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "numspan_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "numspan_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_numspan_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "timespan_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "timespan_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spanset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "timespanset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_timespanset_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "temporal_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "temporal_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "temptype_continuous", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "basetype_byvalue", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "basetype_varlength", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "basetype_length", - "file": "meos_catalog.h", - "returnType": { - "c": "int16", - "canonical": "short" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "talphanum_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "talpha_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tnumber_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tnumber_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tnumber_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tnumber_spantype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spatial_basetype", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tspatial_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tspatial_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tpoint_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tpoint_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tgeo_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tgeo_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tgeo_type_all", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tgeo_type_all", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tgeometry_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tgeometry_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tgeodetic_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tgeodetic_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "ensure_tnumber_tpoint_type", - "file": "meos_catalog.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "type", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "geo_get_srid", - "file": "meos_geo.h", - "returnType": { - "c": "int32", - "canonical": "int" - }, - "params": [ - { - "name": "g", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_as_ewkb", - "file": "meos_geo.h", - "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "endian", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "size", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "geo_as_ewkt", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "precision", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_as_geojson", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "option", - "cType": "int", - "canonical": "int" - }, - { - "name": "precision", - "cType": "int", - "canonical": "int" - }, - { - "name": "srs", - "cType": "const char *", - "canonical": "const char *" - } - ], - "shape": { - "nullable": [ - "srs" - ] - } - }, - { - "name": "geo_as_hexewkb", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "endian", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "geo_as_text", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "precision", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_from_ewkb", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "wkb_size", - "cType": "size_t", - "canonical": "unsigned long" - }, - { - "name": "srid", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "geo_from_geojson", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "geojson", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "geo_from_text", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "geo_out", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geog_from_binary", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "wkb_bytea", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "geog_from_hexewkb", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "geog_in", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "geom_from_hexewkb", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "wkt", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "geom_in", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" - } - ] - }, - { - "name": "box3d_make", - "file": "meos_geo.h", - "returnType": { - "c": "BOX3D *", - "canonical": "BOX3D *" - }, - "params": [ - { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "box3d_out", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "box", - "cType": "const BOX3D *", - "canonical": "const BOX3D *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "gbox_make", - "file": "meos_geo.h", - "returnType": { - "c": "GBOX *", - "canonical": "GBOX *" - }, - "params": [ - { - "name": "hasz", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmax", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "gbox_out", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "box", - "cType": "const GBOX *", - "canonical": "const GBOX *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_copy", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "g", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geogpoint_make2d", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geogpoint_make3dz", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - }, - { - "name": "z", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geompoint_make2d", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geompoint_make3dz", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - }, - { - "name": "z", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geom_to_geog", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "geom", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geog_to_geom", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "geog", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_is_empty", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "g", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_is_unitary", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_typename", - "file": "meos_geo.h", - "returnType": { - "c": "const char *", - "canonical": "const char *" - }, - "params": [ - { - "name": "type", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geog_area", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "g", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "geog_centroid", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "g", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "geog_length", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "g", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "geog_perimeter", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "g", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "geom_azimuth", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "geom_length", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_perimeter", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "line_numpoints", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "line_point_n", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "geom", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_reverse", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_round", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_set_srid", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "geo_srid", - "file": "meos_geo.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_transform", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "geom", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "srid_to", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "geo_transform_pipeline", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "pipeline", - "cType": "char *", - "canonical": "char *" - }, - { - "name": "srid_to", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "geo_collect_garray", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gsarr", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_makeline_garray", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gsarr", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_num_points", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_num_geos", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_geo_n", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "geom", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_pointarr", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "geo_points", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_array_union", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gsarr", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geom_boundary", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_buffer", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "size", - "cType": "double", - "canonical": "double" - }, - { - "name": "params", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "geom_centroid", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_convex_hull", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_difference2d", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_intersection2d", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_intersection2d_coll", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_min_bounding_radius", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "geom", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "radius", - "cType": "double *", - "canonical": "double *" - } - ], - "shape": { - "namedOutputs": [ - "radius" - ] - } - }, - { - "name": "geom_shortestline2d", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_shortestline3d", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_unary_union", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "prec", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "line_interpolate_point", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "distance_fraction", - "cType": "double", - "canonical": "double" - }, - { - "name": "repeat", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "line_locate_point", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "line_substring", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "from", - "cType": "double", - "canonical": "double" - }, - { - "name": "to", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geog_dwithin", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "g1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "g2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "tolerance", - "cType": "double", - "canonical": "double" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "geog_intersects", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "use_spheroid", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "geom_contains", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_covers", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_disjoint2d", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_dwithin2d", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "tolerance", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geom_dwithin3d", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "tolerance", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geom_intersects2d", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_intersects3d", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_relate_pattern", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "patt", - "cType": "char *", - "canonical": "char *" - } - ] - }, - { - "name": "geom_touches", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_stboxes", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "geo_split_each_n_stboxes", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "elem_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "geo_split_n_stboxes", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "box_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "geog_distance", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "g1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "g2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_distance2d", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_distance3d", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_equals", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geo_same", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geogset_in", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "geomset_in", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "spatialset_as_text", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "spatialset_as_ewkt", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geoset_make", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_to_set", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geoset_end_value", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "geoset_start_value", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "geoset_value_n", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - } - ] - }, - { - "name": "geoset_values", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "set_num_values", - "arg": "s" - } - } - } - }, - { - "name": "contained_geo_set", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contains_set_geo", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "gs", - "cType": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - } - ] - }, - { - "name": "geo_union_transfn", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "intersection_geo_set", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_set_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "minus_geo_set", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_set_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "union_geo_set", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_set_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "spatialset_set_srid", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "spatialset_srid", - "file": "meos_geo.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "spatialset_transform", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "spatialset_transform_pipeline", - "file": "meos_geo.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "stbox_as_hexwkb", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ], - "shape": { - "outputArrays": [ - { - "param": "size" - } - ] - } - }, - { - "name": "stbox_as_wkb", - "file": "meos_geo.h", - "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "stbox_from_hexwkb", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "stbox_from_wkb", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" - } - ] - }, - { - "name": "stbox_in", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "stbox_out", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_timestamptz_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "geo_tstzspan_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "stbox_copy", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_make", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "hasx", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "hasz", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "geodetic", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "srid", - "cType": "int32", - "canonical": "int" - }, - { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ], - "shape": { - "nullable": [ - "p", - "s" - ] - } - }, - { - "name": "geo_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "spatialset_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "stbox_to_box3d", - "file": "meos_geo.h", - "returnType": { - "c": "BOX3D *", - "canonical": "BOX3D *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_to_gbox", - "file": "meos_geo.h", - "returnType": { - "c": "GBOX *", - "canonical": "GBOX *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_to_geo", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_to_tstzspan", - "file": "meos_geo.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "timestamptz_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tstzset_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tstzspan_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tstzspanset_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "stbox_area", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "spheroid", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "stbox_hash", - "file": "meos_geo.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_hash_extended", - "file": "meos_geo.h", - "returnType": { - "c": "uint64", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" - } - ] - }, - { - "name": "stbox_hast", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_hasx", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_hasz", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_isgeodetic", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_perimeter", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "spheroid", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "stbox_tmax", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" - } - ] - }, - { - "name": "stbox_tmax_inc", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "bool *", - "canonical": "_Bool *" - } - ] - }, - { - "name": "stbox_tmin", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" - } - ] - }, - { - "name": "stbox_tmin_inc", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "bool *", - "canonical": "_Bool *" - } - ] - }, - { - "name": "stbox_volume", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_xmax", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "stbox_xmin", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "stbox_ymax", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "stbox_ymin", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "stbox_zmax", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "stbox_zmin", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "stbox_expand_space", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "stbox_expand_time", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "stbox_get_space", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_quad_split", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "stbox_round", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "stbox_shift_scale_time", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ], - "shape": { - "nullable": [ - "shift", - "duration" - ] - } - }, - { - "name": "stboxarr_round", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "boxarr", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "stbox_set_srid", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "stbox_srid", - "file": "meos_geo.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_transform", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "stbox_transform_pipeline", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "adjacent_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "contained_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "contains_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overlaps_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "same_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "above_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "after_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "back_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "before_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "below_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "front_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "left_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overabove_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overafter_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overback_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overbefore_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overbelow_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overfront_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overleft_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overright_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "right_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "union_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "intersection_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_cmp", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_eq", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_ge", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_gt", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_le", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_lt", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "stbox_ne", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "tgeogpoint_from_mfjson", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeogpoint_in", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeography_from_mfjson", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "mfjson", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeography_in", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeometry_from_mfjson", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeometry_in", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeompoint_from_mfjson", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeompoint_in", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tspatial_as_ewkt", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tspatial_as_text", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tspatial_out", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tgeo_from_base_temp", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeoinst_make", - "file": "meos_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tgeoseq_from_base_tstzset", - "file": "meos_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tgeoseq_from_base_tstzspan", - "file": "meos_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeoseqset_from_base_tstzspanset", - "file": "meos_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tpoint_from_base_temp", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpointinst_make", - "file": "meos_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tpointseq_from_base_tstzset", - "file": "meos_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tpointseq_from_base_tstzspan", - "file": "meos_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tpointseq_make_coords", - "file": "meos_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "xcoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "ycoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "zcoords", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "times", - "cType": "const TimestampTz *", - "canonical": "const long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "srid", - "cType": "int32", - "canonical": "int" - }, - { - "name": "geodetic", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ], - "shape": { - "arrayInputGroup": { - "params": [ - "xcoords", - "ycoords", - "zcoords", - "times" - ], - "count": "count", - "nullable": [ - "zcoords", - "times" - ] - } - } - }, - { - "name": "tpointseqset_from_base_tstzspanset", - "file": "meos_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "box3d_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const BOX3D *", - "canonical": "const BOX3D *" - } - ] - }, - { - "name": "gbox_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "const GBOX *", - "canonical": "const GBOX *" - } - ] - }, - { - "name": "geomeas_to_tpoint", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tgeogpoint_to_tgeography", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeography_to_tgeogpoint", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeography_to_tgeometry", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeometry_to_tgeography", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeometry_to_tgeompoint", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeompoint_to_tgeometry", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_as_mvtgeom", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "extent", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "buffer", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "clip_geom", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "gsarr", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - { - "name": "timesarr", - "cType": "int64 **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "outputArrays": [ - { - "param": "gsarr", - "lengthFrom": { - "kind": "param", - "name": "count" - } - }, - { - "param": "timesarr", - "lengthFrom": { - "kind": "param", - "name": "count" - } - } - ] - } - }, - { - "name": "tpoint_tfloat_to_geomeas", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "tpoint", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "measure", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "segmentize", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "result", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - } - ] - }, - { - "name": "tspatial_to_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "bearing_point_point", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs1", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "gs2", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "bearing_tpoint_point", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "invert", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "bearing_tpoint_tpoint", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeo_centroid", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeo_convex_hull", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeo_end_value", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeo_start_value", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeo_traversed_area", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeo_value_at_timestamptz", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "value", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - } - ] - }, - { - "name": "tgeo_value_n", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - } - ] - }, - { - "name": "tgeo_values", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tpoint_angular_difference", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_azimuth", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_cumulative_length", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_direction", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "result", - "cType": "double *", - "canonical": "double *" - } - ] - }, - { - "name": "tpoint_get_x", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_get_y", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_get_z", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_is_simple", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_length", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_speed", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "ownership": "caller", - "nullable": true, - "doc": "Computes the instantaneous speed of a temporal point.", - "meos": { - "temporalDim": "sequence", - "spatialDim": null, - "interpolation": true, - "subtype": "TPoint" - } - }, - { - "name": "tpoint_trajectory", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tpoint_twcentroid", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tgeo_affine", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "a", - "cType": "const AFFINE *", - "canonical": "const AFFINE *" - } - ] - }, - { - "name": "tgeo_scale", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "scale", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tpoint_make_simple", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tspatial_srid", - "file": "meos_geo.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tspatial_set_srid", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tspatial_transform", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tspatial_transform_pipeline", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "pipelinestr", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "is_forward", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeo_at_geom", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tgeo_at_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeo_at_value", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - } - ] - }, - { - "name": "tgeo_minus_geom", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tgeo_minus_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeo_minus_value", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - } - ] - }, - { - "name": "tpoint_at_geom", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tpoint_at_value", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - } - ] - }, - { - "name": "tpoint_minus_geom", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tpoint_minus_value", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - } - ] - }, - { - "name": "always_eq_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "always_eq_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "always_ne_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "ever_eq_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "ever_ne_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "teq_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "teq_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tne_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tne_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tgeo_stboxes", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tgeo_space_boxes", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tgeo_space_time_boxes", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tgeo_split_each_n_stboxes", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "elem_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tgeo_split_n_stboxes", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "adjacent_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "adjacent_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "adjacent_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contained_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contained_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "contained_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contains_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "contains_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "contains_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overlaps_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overlaps_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overlaps_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "same_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "same_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "same_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "above_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "above_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "above_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "after_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "after_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "after_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "back_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "back_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "back_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "before_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "before_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "before_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "below_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "below_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "below_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "front_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "front_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "front_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "left_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "left_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "left_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overabove_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overabove_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overabove_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overafter_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overafter_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overafter_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overback_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overback_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overback_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overbefore_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overbefore_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overbefore_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overbelow_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overbelow_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overbelow_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overfront_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overfront_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overfront_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overleft_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overleft_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overleft_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overright_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "overright_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "overright_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "right_stbox_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "right_tspatial_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "right_tspatial_tspatial", - "file": "meos_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "acontains_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "acontains_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "acontains_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "adisjoint_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "adisjoint_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "adwithin_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "adwithin_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "aintersects_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "aintersects_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "atouches_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "atouches_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "atouches_tpoint_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "econtains_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "econtains_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "econtains_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ecovers_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ecovers_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "ecovers_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "edisjoint_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "edisjoint_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "edwithin_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "edwithin_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "eintersects_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "eintersects_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "etouches_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "etouches_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "etouches_tpoint_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tcontains_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tcontains_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tcontains_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tcovers_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tcovers_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tcovers_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdisjoint_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdisjoint_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdisjoint_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdwithin_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdwithin_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdwithin_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tintersects_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tintersects_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tintersects_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "ttouches_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "ttouches_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "ttouches_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdistance_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tdistance_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "nad_stbox_geo", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "nad_stbox_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "nad_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "nad_tgeo_stbox", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "nad_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "nai_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "nai_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "shortestline_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "shortestline_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tpoint_tcentroid_finalfn", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - } - ] - }, - { - "name": "tpoint_tcentroid_transfn", - "file": "meos_geo.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" - } - ] - }, - { - "name": "tspatial_extent_transfn", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ], - "shape": { - "nullable": [ - "box" - ] - } - }, - { - "name": "stbox_get_space_tile", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "point", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "stbox_get_space_time_tile", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "point", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "stbox_get_time_tile", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "stbox_space_tiles", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "stbox_space_time_tiles", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "outputArrays": [ - { - "param": "count" - } - ], - "nullable": [ - "duration" - ] - } - }, - { - "name": "stbox_time_tiles", - "file": "meos_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tgeo_space_split", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "space_bins", - "cType": "GSERIALIZED ***", - "canonical": "GSERIALIZED ***" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "param", - "name": "count" - } - }, - "outputArrays": [ - { - "param": "space_bins" - } - ] - } - }, - { - "name": "tgeo_space_time_split", - "file": "meos_geo.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "ysize", - "cType": "double", - "canonical": "double" - }, - { - "name": "zsize", - "cType": "double", - "canonical": "double" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "sorigin", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "space_bins", - "cType": "GSERIALIZED ***", - "canonical": "GSERIALIZED ***" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "param", - "name": "count" - } - }, - "outputArrays": [ - { - "param": "space_bins" - }, - { - "param": "time_bins" - } - ] - } - }, - { - "name": "geo_cluster_kmeans", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "geoms", - "cType": "const GSERIALIZED **", - "canonical": "const GSERIALIZED **" - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" - }, - { - "name": "k", - "cType": "uint32_t", - "canonical": "unsigned int" - } - ] - }, - { - "name": "geo_cluster_dbscan", - "file": "meos_geo.h", - "returnType": { - "c": "uint32_t *", - "canonical": "unsigned int *" - }, - "params": [ - { - "name": "geoms", - "cType": "const GSERIALIZED **", - "canonical": "const GSERIALIZED **" - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" - }, - { - "name": "tolerance", - "cType": "double", - "canonical": "double" - }, - { - "name": "minpoints", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "geo_cluster_intersecting", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - "params": [ - { - "name": "geoms", - "cType": "const GSERIALIZED **", - "canonical": "const GSERIALIZED **" - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "geo_cluster_within", - "file": "meos_geo.h", - "returnType": { - "c": "GSERIALIZED **", - "canonical": "GSERIALIZED **" - }, - "params": [ - { - "name": "geoms", - "cType": "const GSERIALIZED **", - "canonical": "const GSERIALIZED **" - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" - }, - { - "name": "tolerance", - "cType": "double", - "canonical": "double" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "gsl_get_generation_rng", - "file": "meos_internal.h", - "returnType": { - "c": "gsl_rng *", - "canonical": "gsl_rng *" - }, - "params": [] - }, - { - "name": "gsl_get_aggregation_rng", - "file": "meos_internal.h", - "returnType": { - "c": "gsl_rng *", - "canonical": "gsl_rng *" - }, - "params": [] - }, - { - "name": "datum_ceil", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "datum_degrees", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "normalize", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "datum_float_round", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "size", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "datum_floor", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "datum_hash", - "file": "meos_internal.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "datum_hash_extended", - "file": "meos_internal.h", - "returnType": { - "c": "uint64", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" - } - ] - }, - { - "name": "datum_radians", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "floatspan_round_set", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "set_in", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "set_out", - "file": "meos_internal.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "span_in", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "spantype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "span_out", - "file": "meos_internal.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "spanset_in", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "spantype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spanset_out", - "file": "meos_internal.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "set_make", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "const Datum *", - "canonical": "const unsigned long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "order", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "set_make_exp", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "const Datum *", - "canonical": "const unsigned long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxcount", - "cType": "int", - "canonical": "int" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "order", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "set_make_free", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "Datum *", - "canonical": "unsigned long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "order", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "span_make", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "lower", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "upper", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "span_set", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "lower", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "upper", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "spantype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "s", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "spanset_make_exp", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "spans", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxcount", - "cType": "int", - "canonical": "int" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "order", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "spanset_make_free", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "spans", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "order", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "set_span", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "value_set_span", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "s", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "value_set", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "value_span", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "numspan_width", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "numspanset_width", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "set_end_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_mem_size", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_set_subspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "minidx", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxidx", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "set_set_span", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "result", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "set_start_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_value_n", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "set_vals", - "file": "meos_internal.h", - "returnType": { - "c": "Datum *", - "canonical": "unsigned long *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_values", - "file": "meos_internal.h", - "returnType": { - "c": "Datum *", - "canonical": "unsigned long *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "spanset_lower", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_mem_size", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "spanset_sps", - "file": "meos_internal.h", - "returnType": { - "c": "const Span **", - "canonical": "const Span **" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "spanset_num_spans", - "arg": "ss" - } - } - } - }, - { - "name": "spanset_upper", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "datespan_set_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "floatspan_set_intspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "intspan_set_floatspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "numset_shift_scale", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "numspan_expand", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "numspan_shift_scale", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "numspanset_shift_scale", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "set_compact", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "span_expand", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "spanset_compact", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tbox_expand_value", - "file": "meos_internal.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetyp", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "textcat_textset_text_common", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - }, - { - "name": "invert", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tstzspan_set_datespan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "adjacent_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "adjacent_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "adjacent_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contained_value_set", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contained_value_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "contained_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "contains_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "contains_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "contains_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "ovadj_span_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "left_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "left_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "left_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "left_value_set", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "left_value_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "left_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "lfnadj_span_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overleft_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "overleft_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "overleft_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "overleft_value_set", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overleft_value_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overleft_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "overright_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "overright_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "overright_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "overright_value_set", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "overright_value_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "overright_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "right_value_set", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "right_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "right_value_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "right_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "right_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "right_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "bbox_type", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "bboxtype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "bbox_get_size", - "file": "meos_internal.h", - "returnType": { - "c": "size_t", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "bboxtype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "bbox_max_dims", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "bboxtype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "temporal_bbox_eq", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const void *", - "canonical": "const void *" - }, - { - "name": "box2", - "cType": "const void *", - "canonical": "const void *" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "temporal_bbox_cmp", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "box1", - "cType": "const void *", - "canonical": "const void *" - }, - { - "name": "box2", - "cType": "const void *", - "canonical": "const void *" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "bbox_union_span_span", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "result", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "inter_span_span", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "result", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "intersection_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "intersection_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "intersection_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "intersection_value_set", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_value_span", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intersection_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "mi_span_span", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "result", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "minus_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "minus_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "minus_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "minus_value_set", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_value_span", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "minus_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "super_union_span_span", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "union_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "union_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "union_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "union_value_set", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_value_span", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "union_value_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "distance_set_set", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s1", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "s2", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "distance_set_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "distance_span_span", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s1", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "s2", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_span_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "distance_spanset_span", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "distance_spanset_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss1", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "ss2", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "distance_spanset_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "distance_value_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "l", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "r", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spanbase_extent_transfn", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "state", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "value_union_transfn", - "file": "meos_internal.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "number_tstzspan_to_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "number_timestamptz_to_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tbox_set", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "p", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "float_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "int_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "number_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "number_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "numset_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "numspan_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "span", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "timestamptz_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "tstzset_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "tstzspan_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "tbox_shift_scale_value", - "file": "meos_internal.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tbox_expand", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "inter_tbox_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "result", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "tboolinst_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tboolinst_in", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tboolseq_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tboolseq_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tboolseqset_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tboolseqset_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "temporal_in", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "temporal_out", - "file": "meos_internal.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temparr_out", - "file": "meos_internal.h", - "returnType": { - "c": "char **", - "canonical": "char **" - }, - "params": [ - { - "name": "temparr", - "cType": "Temporal **", - "canonical": "Temporal **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tfloatinst_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tfloatinst_in", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tfloatseq_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tfloatseq_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tfloatseqset_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tfloatseqset_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tinstant_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "spatial", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tinstant_in", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tinstant_out", - "file": "meos_internal.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tintinst_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tintinst_in", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tintseq_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tintseq_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tintseqset_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "tintseqset_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tsequence_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "spatial", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequence_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequence_out", - "file": "meos_internal.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tsequenceset_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "spatial", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequenceset_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequenceset_out", - "file": "meos_internal.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "ttextinst_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "ttextinst_in", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "ttextseq_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "ttextseq_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "ttextseqset_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - } - ] - }, - { - "name": "ttextseqset_in", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "temporal_from_mfjson", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "mfjson", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "temporal_from_base_temp", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tinstant_copy", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tinstant_make", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tinstant_make_free", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tsequence_copy", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_from_base_temp", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_from_base_tstzset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tsequence_from_base_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequence_make_exp", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "instants", - "cType": "TInstant **", - "canonical": "TInstant **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxcount", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_make_free", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "instants", - "cType": "TInstant **", - "canonical": "TInstant **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_copy", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tseqsetarr_to_tseqset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "seqsets", - "cType": "TSequenceSet **", - "canonical": "TSequenceSet **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "totalseqs", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tsequenceset_from_base_temp", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_from_base_tstzspanset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temptype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequenceset_make_exp", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "sequences", - "cType": "TSequence **", - "canonical": "TSequence **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "maxcount", - "cType": "int", - "canonical": "int" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_make_free", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "sequences", - "cType": "TSequence **", - "canonical": "TSequence **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "normalize", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_set_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "tinstant_set_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "s", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "tnumber_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "tnumberinst_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "tnumberseq_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "tnumberseqset_set_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "box", - "cType": "TBox *", - "canonical": "TBox *" - } - ] - }, - { - "name": "tsequence_set_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "s", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "tsequenceset_set_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "s", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "temporal_end_inst", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_end_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_inst_n", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temporal_insts_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant **", - "canonical": "const TInstant **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_max_inst_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_max_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_mem_size", - "file": "meos_internal.h", - "returnType": { - "c": "size_t", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_min_inst_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_min_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_sequences_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TSequence **", - "canonical": "const TSequence **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_set_bbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "void *", - "canonical": "void *" - } - ] - }, - { - "name": "temporal_start_inst", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_start_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_values_p", - "file": "meos_internal.h", - "returnType": { - "c": "Datum *", - "canonical": "unsigned long *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_value_n", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "temporal_values", - "file": "meos_internal.h", - "returnType": { - "c": "Datum *", - "canonical": "unsigned long *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tinstant_hash", - "file": "meos_internal.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tinstant_insts", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant **", - "canonical": "const TInstant **" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tinstant_set_bbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "box", - "cType": "void *", - "canonical": "void *" - } - ] - }, - { - "name": "tinstant_time", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tinstant_timestamps", - "file": "meos_internal.h", - "returnType": { - "c": "TimestampTz *", - "canonical": "long *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tinstant_value_p", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tinstant_value", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tinstant_value_at_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "tinstant_values_p", - "file": "meos_internal.h", - "returnType": { - "c": "Datum *", - "canonical": "unsigned long *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnumber_set_span", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "span", - "cType": "Span *", - "canonical": "Span *" - } - ] - }, - { - "name": "tnumberinst_valuespans", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tnumberseq_avg_val", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tnumberseq_valuespans", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tnumberseqset_avg_val", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tnumberseqset_valuespans", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequence_duration", - "file": "meos_internal.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_end_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_hash", - "file": "meos_internal.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_insts_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant **", - "canonical": "const TInstant **" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "temporal_num_instants", - "arg": "seq", - "castTo": "const Temporal *" - } - } - } - }, - { - "name": "tsequence_max_inst_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_max_val", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_min_inst_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_min_val", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_segments", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence **", - "canonical": "TSequence **" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tsequence_seqs", - "file": "meos_internal.h", - "returnType": { - "c": "const TSequence **", - "canonical": "const TSequence **" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tsequence_start_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_time", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_timestamps", - "file": "meos_internal.h", - "returnType": { - "c": "TimestampTz *", - "canonical": "long *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tsequence_value_at_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "tsequence_values_p", - "file": "meos_internal.h", - "returnType": { - "c": "Datum *", - "canonical": "unsigned long *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tsequenceset_duration", - "file": "meos_internal.h", - "returnType": { - "c": "Interval *", - "canonical": "Interval *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "boundspan", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_end_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_hash", - "file": "meos_internal.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_inst_n", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tsequenceset_insts_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant **", - "canonical": "const TInstant **" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "tsequenceset_num_instants", - "arg": "ss" - } - } - } - }, - { - "name": "tsequenceset_max_inst_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_max_val", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_min_inst_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TInstant *", - "canonical": "const TInstant *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_min_val", - "file": "meos_internal.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_num_instants", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_num_timestamps", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_segments", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence **", - "canonical": "TSequence **" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tsequenceset_sequences_p", - "file": "meos_internal.h", - "returnType": { - "c": "const TSequence **", - "canonical": "const TSequence **" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "temporal_num_sequences", - "arg": "ss", - "castTo": "const Temporal *" - } - } - } - }, - { - "name": "tsequenceset_start_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TimestampTz", - "canonical": "long" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_time", - "file": "meos_internal.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_timestamptz_n", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "TimestampTz *", - "canonical": "long *" - } - ] - }, - { - "name": "tsequenceset_timestamps", - "file": "meos_internal.h", - "returnType": { - "c": "TimestampTz *", - "canonical": "long *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tsequenceset_value_at_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "tsequenceset_value_n", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "tsequenceset_values_p", - "file": "meos_internal.h", - "returnType": { - "c": "Datum *", - "canonical": "unsigned long *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "temporal_restart", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "temporal_tsequence", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "temporal_tsequenceset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tinstant_shift_time", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tinstant_to_tsequence", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tinstant_to_tsequence_free", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "inst", - "cType": "TInstant *", - "canonical": "TInstant *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tinstant_to_tsequenceset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tnumber_shift_scale_value", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnumberinst_shift_value", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "tnumberseq_shift_scale_value", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "shift", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnumberseqset_shift_scale_value", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "start", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "width", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "hasshift", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "haswidth", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_restart", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "seq", - "cType": "TSequence *", - "canonical": "TSequence *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tsequence_set_interp", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequence_shift_scale_time", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tsequence_subseq", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "from", - "cType": "int", - "canonical": "int" - }, - { - "name": "to", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_to_tinstant", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_to_tsequenceset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_to_tsequenceset_free", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "seq", - "cType": "TSequence *", - "canonical": "TSequence *" - } - ] - }, - { - "name": "tsequence_to_tsequenceset_interp", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequenceset_restart", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tsequenceset_set_interp", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tsequenceset_shift_scale_time", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "start", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "tsequenceset_to_discrete", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_to_linear", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_to_step", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_to_tinstant", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_to_tsequence", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tinstant_merge", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "inst1", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "inst2", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tinstant_merge_array", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "instants", - "cType": "TInstant **", - "canonical": "TInstant **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tsequence_append_tinstant", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "TSequence *", - "canonical": "TSequence *" - }, - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "maxdist", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxt", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_append_tsequence", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_delete_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_delete_tstzset", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_delete_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_delete_tstzspanset", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_insert", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "connect", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_merge", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_merge_array", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "sequences", - "cType": "TSequence **", - "canonical": "TSequence **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tsequenceset_append_tinstant", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "maxdist", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxt", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_append_tsequence", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "expand", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_delete_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tsequenceset_delete_tstzset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tsequenceset_delete_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "tsequenceset_delete_tstzspanset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "ps", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "tsequenceset_insert", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss1", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "ss2", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_merge", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss1", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "ss2", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_merge_array", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "seqsets", - "cType": "TSequenceSet **", - "canonical": "TSequenceSet **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tsequence_expand_bbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "seq", - "cType": "TSequence *", - "canonical": "TSequence *" - }, - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tsequence_set_bbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "box", - "cType": "void *", - "canonical": "void *" - } - ] - }, - { - "name": "tsequenceset_expand_bbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequenceset_set_bbox", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "box", - "cType": "void *", - "canonical": "void *" - } - ] - }, - { - "name": "tcontseq_after_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tcontseq_before_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tcontseq_restrict_minmax", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "min", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdiscseq_after_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdiscseq_before_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdiscseq_restrict_minmax", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "min", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_bbox_restrict_set", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "temporal_restrict_minmax", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "min", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_restrict_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_restrict_tstzset", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_restrict_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_restrict_tstzspanset", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_restrict_value", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_restrict_values", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "temporal_value_at_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "result", - "cType": "Datum *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "tinstant_after_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tinstant_before_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tinstant_restrict_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "period", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tinstant_restrict_tstzspanset", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tinstant_restrict_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tinstant_restrict_tstzset", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tinstant_restrict_value", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tinstant_restrict_values", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnumber_restrict_span", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "span", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnumber_restrict_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnumberinst_restrict_span", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "span", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnumberinst_restrict_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnumberseqset_restrict_span", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "span", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnumberseqset_restrict_spanset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "spanset", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_at_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tsequence_restrict_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequence_restrict_tstzspanset", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_after_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_before_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "strict", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_restrict_minmax", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "min", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_restrict_tstzspan", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_restrict_tstzspanset", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "ps", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_restrict_timestamptz", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_restrict_tstzset", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_restrict_value", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tsequenceset_restrict_values", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tinstant_cmp", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "inst1", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "inst2", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tinstant_eq", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "inst1", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "inst2", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tsequence_cmp", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequence_eq", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "seq1", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "seq2", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequenceset_cmp", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ss1", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "ss2", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tsequenceset_eq", - "file": "meos_internal.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss1", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "ss2", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "always_eq_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "always_ne_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "always_ge_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ge_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "always_gt_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_gt_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "always_le_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_le_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "always_lt_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_lt_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "ever_eq_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "ever_ne_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "ever_ge_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ge_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "ever_gt_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_gt_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "ever_le_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_le_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "ever_lt_base_temporal", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_lt_temporal_base", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "tnumberinst_abs", - "file": "meos_internal.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tnumberseq_abs", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tnumberseq_angular_difference", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tnumberseq_delta_value", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tnumberseqset_abs", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tnumberseqset_angular_difference", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tnumberseqset_delta_value", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tdistance_tnumber_number", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "nad_tbox_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "box1", - "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "box2", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "nad_tnumber_number", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "nad_tnumber_tbox", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const TBox *", - "canonical": "const TBox *" - } - ] - }, - { - "name": "nad_tnumber_tnumber", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnumberseq_integral", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tnumberseq_twavg", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tnumberseqset_integral", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tnumberseqset_twavg", - "file": "meos_internal.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "temporal_compact", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tsequence_compact", - "file": "meos_internal.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tsequenceset_compact", - "file": "meos_internal.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "temporal_skiplist_make", - "file": "meos_internal.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [] - }, - { - "name": "skiplist_make", - "file": "meos_internal.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "key_size", - "cType": "size_t", - "canonical": "unsigned long" - }, - { - "name": "value_size", - "cType": "size_t", - "canonical": "unsigned long" - }, - { - "name": "comp_fn", - "cType": "int (*)(void *, void *)", - "canonical": "int (*)(void *, void *)" - }, - { - "name": "merge_fn", - "cType": "void *(*)(void *, void *)", - "canonical": "void *(*)(void *, void *)" - } - ] - }, - { - "name": "skiplist_search", - "file": "meos_internal.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "key", - "cType": "void *", - "canonical": "void *" - }, - { - "name": "value", - "cType": "void *", - "canonical": "void *" - } - ] - }, - { - "name": "skiplist_free", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - } - ] - }, - { - "name": "skiplist_splice", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "keys", - "cType": "void **", - "canonical": "void **" - }, - { - "name": "values", - "cType": "void **", - "canonical": "void **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "func", - "cType": "datum_func2", - "canonical": "unsigned long (*)(unsigned long, unsigned long)" - }, - { - "name": "crossings", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "sktype", - "cType": "SkipListType", - "canonical": "SkipListType" - } - ] - }, - { - "name": "temporal_skiplist_splice", - "file": "meos_internal.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "values", - "cType": "void **", - "canonical": "void **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "func", - "cType": "datum_func2", - "canonical": "unsigned long (*)(unsigned long, unsigned long)" - }, - { - "name": "crossings", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "skiplist_values", - "file": "meos_internal.h", - "returnType": { - "c": "void **", - "canonical": "void **" - }, - "params": [ - { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - } - ] - }, - { - "name": "skiplist_keys_values", - "file": "meos_internal.h", - "returnType": { - "c": "void **", - "canonical": "void **" - }, - "params": [ - { - "name": "list", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "values", - "cType": "void **", - "canonical": "void **" - } - ] - }, - { - "name": "temporal_app_tinst_transfn", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "state", - "cType": "Temporal *", - "canonical": "Temporal *" - }, - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - }, - { - "name": "maxdist", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxt", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "temporal_app_tseq_transfn", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "state", - "cType": "Temporal *", - "canonical": "Temporal *" - }, - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "span_bins", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "size", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "origin", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "spanset_bins", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "size", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "origin", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnumber_value_bins", - "file": "meos_internal.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "size", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "origin", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnumber_value_time_boxes", - "file": "meos_internal.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "vorigin", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnumber_value_split", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "vsize", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "vorigin", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "bins", - "cType": "Datum **", - "canonical": "unsigned long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tbox_get_value_time_tile", - "file": "meos_internal.h", - "returnType": { - "c": "TBox *", - "canonical": "TBox *" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "vsize", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "vorigin", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "spantype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "tnumber_value_time_split", - "file": "meos_internal.h", - "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "size", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "vorigin", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "value_bins", - "cType": "Datum **", - "canonical": "unsigned long **" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "proj_get_context", - "file": "meos_internal_geo.h", - "returnType": { - "c": "PJ_CONTEXT *", - "canonical": "struct pj_ctx *" - }, - "params": [] - }, - { - "name": "datum_geo_round", - "file": "meos_internal_geo.h", - "returnType": { - "c": "Datum", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "value", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "size", - "cType": "Datum", - "canonical": "unsigned long" - } - ] - }, - { - "name": "point_round", - "file": "meos_internal_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "stbox_set", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "hasx", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "hasz", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "geodetic", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "srid", - "cType": "int32", - "canonical": "int" - }, - { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "gbox_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "box", - "cType": "const GBOX *", - "canonical": "const GBOX *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "result", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "geo_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "geoarr_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "values", - "cType": "const Datum *", - "canonical": "const unsigned long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "spatial_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "spatialset_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "stbox_set_box3d", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box3d", - "cType": "BOX3D *", - "canonical": "BOX3D *" - } - ] - }, - { - "name": "stbox_set_gbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "gbox", - "cType": "GBOX *", - "canonical": "GBOX *" - } - ] - }, - { - "name": "tstzset_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "tstzspan_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "tstzspanset_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "s", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "stbox_expand", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "inter_stbox_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "result", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "stbox_geo", - "file": "meos_internal_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "tgeogpointinst_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tgeogpointinst_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeogpointseq_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeogpointseq_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeogpointseqset_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeogpointseqset_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeompointinst_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tgeompointinst_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeompointseq_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeompointseq_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeompointseqset_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeompointseqset_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeographyinst_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tgeographyinst_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeographyseq_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeographyseq_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeographyseqset_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeographyseqset_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeometryinst_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tgeometryinst_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tgeometryseq_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeometryseq_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeometryseqset_from_mfjson", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "mfjson", - "cType": "json_object *", - "canonical": "struct json_object *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "interp", - "cType": "interpType", - "canonical": "interpType" - } - ] - }, - { - "name": "tgeometryseqset_in", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tspatial_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "tgeoinst_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "tspatialseq_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "tspatialseqset_set_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" - } - ] - }, - { - "name": "tgeo_restrict_geom", - "file": "meos_internal_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeo_restrict_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeoinst_restrict_geom", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeoinst_restrict_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeoseq_restrict_geom", - "file": "meos_internal_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeoseq_restrict_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeoseqset_restrict_geom", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeoseqset_restrict_stbox", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atfunc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "spatial_srid", - "file": "meos_internal_geo.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - } - ] - }, - { - "name": "spatial_set_srid", - "file": "meos_internal_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "d", - "cType": "Datum", - "canonical": "unsigned long" - }, - { - "name": "basetype", - "cType": "meosType", - "canonical": "meosType" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tspatialinst_srid", - "file": "meos_internal_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - } - ] - }, - { - "name": "tpointseq_azimuth", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tpointseq_cumulative_length", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "prevlength", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "tpointseq_is_simple", - "file": "meos_internal_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tpointseq_length", - "file": "meos_internal_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tpointseq_linear_trajectory", - "file": "meos_internal_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "unary_union", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeoseq_stboxes", - "file": "meos_internal_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tgeoseq_split_n_stboxes", - "file": "meos_internal_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "max_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tpointseqset_azimuth", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tpointseqset_cumulative_length", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tpointseqset_is_simple", - "file": "meos_internal_geo.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tpointseqset_length", - "file": "meos_internal_geo.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "tgeoseqset_stboxes", - "file": "meos_internal_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tgeoseqset_split_n_stboxes", - "file": "meos_internal_geo.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "max_count", - "cType": "int", - "canonical": "int" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tpoint_get_coord", - "file": "meos_internal_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "coord", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tgeominst_tgeoginst", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "inst", - "cType": "const TInstant *", - "canonical": "const TInstant *" - }, - { - "name": "oper", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeomseq_tgeogseq", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence *", - "canonical": "TSequence *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "oper", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeomseqset_tgeogseqset", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "oper", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeom_tgeog", - "file": "meos_internal_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "oper", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tgeo_tpoint", - "file": "meos_internal_geo.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "oper", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tspatialinst_set_srid", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "inst", - "cType": "TInstant *", - "canonical": "TInstant *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tpointseq_make_simple", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence **", - "canonical": "TSequence **" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tspatialseq_set_srid", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "seq", - "cType": "TSequence *", - "canonical": "TSequence *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tpointseqset_make_simple", - "file": "meos_internal_geo.h", - "returnType": { - "c": "TSequence **", - "canonical": "TSequence **" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tspatialseqset_set_srid", - "file": "meos_internal_geo.h", - "returnType": { - "c": "void", - "canonical": "void" - }, - "params": [ - { - "name": "ss", - "cType": "TSequenceSet *", - "canonical": "TSequenceSet *" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - } - ] - }, - { - "name": "tpointseq_twcentroid", - "file": "meos_internal_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "seq", - "cType": "const TSequence *", - "canonical": "const TSequence *" - } - ] - }, - { - "name": "tpointseqset_twcentroid", - "file": "meos_internal_geo.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "ss", - "cType": "const TSequenceSet *", - "canonical": "const TSequenceSet *" - } - ] - }, - { - "name": "npoint_as_ewkt", - "file": "meos_npoint.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "npoint_as_hexwkb", - "file": "meos_npoint.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "npoint_as_text", - "file": "meos_npoint.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "npoint_as_wkb", - "file": "meos_npoint.h", - "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "size_t *", - "canonical": "unsigned long *" - } - ] - }, - { - "name": "npoint_from_hexwkb", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" - }, - "params": [ - { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "npoint_from_wkb", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" - }, - "params": [ - { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", - "cType": "size_t", - "canonical": "unsigned long" - } - ] - }, - { - "name": "npoint_in", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "npoint_out", - "file": "meos_npoint.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "nsegment_in", - "file": "meos_npoint.h", - "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "nsegment_out", - "file": "meos_npoint.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "npoint_make", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" - }, - "params": [ - { - "name": "rid", - "cType": "int64", - "canonical": "long" - }, - { - "name": "pos", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "nsegment_make", - "file": "meos_npoint.h", - "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" - }, - "params": [ - { - "name": "rid", - "cType": "int64", - "canonical": "long" - }, - { - "name": "pos1", - "cType": "double", - "canonical": "double" - }, - { - "name": "pos2", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geompoint_to_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "geom_to_nsegment", - "file": "meos_npoint.h", - "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" - }, - "params": [ - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "npoint_to_geompoint", - "file": "meos_npoint.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_to_nsegment", - "file": "meos_npoint.h", - "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_to_stbox", - "file": "meos_npoint.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "nsegment_to_geom", - "file": "meos_npoint.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_to_stbox", - "file": "meos_npoint.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "np", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "npoint_hash", - "file": "meos_npoint.h", - "returnType": { - "c": "uint32", - "canonical": "unsigned int" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_hash_extended", - "file": "meos_npoint.h", - "returnType": { - "c": "uint64", - "canonical": "unsigned long" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" - } - ] - }, - { - "name": "npoint_position", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_route", - "file": "meos_npoint.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "nsegment_end_position", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_route", - "file": "meos_npoint.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_start_position", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "route_exists", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "rid", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "route_geom", - "file": "meos_npoint.h", - "returnType": { - "c": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - }, - "params": [ - { - "name": "rid", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "route_length", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "rid", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "npoint_round", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "nsegment_round", - "file": "meos_npoint.h", - "returnType": { - "c": "Nsegment *", - "canonical": "Nsegment *" - }, - "params": [ - { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "get_srid_ways", - "file": "meos_npoint.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [] - }, - { - "name": "npoint_srid", - "file": "meos_npoint.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "nsegment_srid", - "file": "meos_npoint.h", - "returnType": { - "c": "int32_t", - "canonical": "int" - }, - "params": [ - { - "name": "ns", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "npoint_timestamptz_to_stbox", - "file": "meos_npoint.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "npoint_tstzspan_to_stbox", - "file": "meos_npoint.h", - "returnType": { - "c": "STBox *", - "canonical": "STBox *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "npoint_cmp", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_eq", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_ge", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_gt", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_le", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_lt", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_ne", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_same", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "np1", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "np2", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "nsegment_cmp", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_eq", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_ge", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_gt", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_le", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_lt", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "nsegment_ne", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "ns1", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - }, - { - "name": "ns2", - "cType": "const Nsegment *", - "canonical": "const Nsegment *" - } - ] - }, - { - "name": "npointset_in", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "npointset_out", - "file": "meos_npoint.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "npointset_make", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "Npoint **", - "canonical": "Npoint **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "npoint_to_set", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npointset_end_value", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "npointset_routes", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "npointset_start_value", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint *", - "canonical": "Npoint *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "npointset_value_n", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "n", - "cType": "int", - "canonical": "int" - }, - { - "name": "result", - "cType": "Npoint **", - "canonical": "Npoint **" - } - ] - }, - { - "name": "npointset_values", - "file": "meos_npoint.h", - "returnType": { - "c": "Npoint **", - "canonical": "Npoint **" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ], - "shape": { - "arrayReturn": { - "lengthFrom": { - "kind": "accessor", - "func": "set_num_values", - "arg": "s" - } - } - } - }, - { - "name": "contained_npoint_set", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "contains_set_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "bool", - "canonical": "bool" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "intersection_npoint_set", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intersection_set_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "minus_npoint_set", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "minus_set_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "npoint_union_transfn", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "state", - "cType": "Set *", - "canonical": "Set *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "union_npoint_set", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "union_set_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "tnpoint_in", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "tnpoint_out", - "file": "meos_npoint.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tnpointinst_make", - "file": "meos_npoint.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tgeompoint_to_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_to_tgeompoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_cumulative_length", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_length", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_positions", - "file": "meos_npoint.h", - "returnType": { - "c": "Nsegment **", - "canonical": "Nsegment **" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "tnpoint_route", - "file": "meos_npoint.h", - "returnType": { - "c": "int64", - "canonical": "long" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_routes", - "file": "meos_npoint.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_speed", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_trajectory", - "file": "meos_npoint.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_twcentroid", - "file": "meos_npoint.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_at_geom", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tnpoint_at_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "tnpoint_at_npointset", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tnpoint_at_stbox", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tnpoint_minus_geom", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tnpoint_minus_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "tnpoint_minus_npointset", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "tnpoint_minus_stbox", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - }, - { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" - } - ] - }, - { - "name": "tdistance_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "tdistance_tnpoint_point", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "tdistance_tnpoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "nad_tnpoint_geo", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "nad_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "nad_tnpoint_stbox", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" - } - ] - }, - { - "name": "nad_tnpoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "nai_tnpoint_geo", - "file": "meos_npoint.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "nai_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "nai_tnpoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "shortestline_tnpoint_geo", - "file": "meos_npoint.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const GSERIALIZED *", - "canonical": "const GSERIALIZED *" - } - ] - }, - { - "name": "shortestline_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "shortestline_tnpoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "GSERIALIZED *", - "canonical": "GSERIALIZED *" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tnpoint_tcentroid_transfn", - "file": "meos_npoint.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" - } - ] - }, - { - "name": "always_eq_npoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_eq_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "always_eq_tnpoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_npoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "always_ne_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "always_ne_tnpoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_npoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_eq_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "ever_eq_tnpoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_npoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ever_ne_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "ever_ne_tnpoint_tnpoint", - "file": "meos_npoint.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "teq_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - }, - { - "name": "tne_tnpoint_npoint", - "file": "meos_npoint.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "np", - "cType": "const Npoint *", - "canonical": "const Npoint *" - } - ] - } - ], - "structs": [ - { - "name": "Interval", - "file": "meos.h", - "fields": [ - { - "name": "time", - "cType": "TimeOffset", - "offset_bits": 0 - }, - { - "name": "day", - "cType": "int32", - "offset_bits": 64 - }, - { - "name": "month", - "cType": "int32", - "offset_bits": 96 - } - ] - }, - { - "name": "varlena", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "char[4]", - "offset_bits": 0 - }, - { - "name": "vl_dat", - "cType": "char[]", - "offset_bits": 32 - } - ] - }, - { - "name": "Set", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, - { - "name": "settype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "basetype", - "cType": "uint8", - "offset_bits": 40 - }, - { - "name": "flags", - "cType": "int16", - "offset_bits": 48 - }, - { - "name": "count", - "cType": "int32", - "offset_bits": 64 - }, - { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 - }, - { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 128 - } - ] - }, - { - "name": "Span", - "file": "meos.h", - "fields": [ - { - "name": "spantype", - "cType": "uint8", - "offset_bits": 0 - }, - { - "name": "basetype", - "cType": "uint8", - "offset_bits": 8 - }, - { - "name": "lower_inc", - "cType": "_Bool", - "offset_bits": 16 - }, - { - "name": "upper_inc", - "cType": "_Bool", - "offset_bits": 24 - }, - { - "name": "padding", - "cType": "char[4]", - "offset_bits": 32 - }, - { - "name": "lower", - "cType": "Datum", - "offset_bits": 64 - }, - { - "name": "upper", - "cType": "Datum", - "offset_bits": 128 - } - ] - }, - { - "name": "SpanSet", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, - { - "name": "spansettype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "spantype", - "cType": "uint8", - "offset_bits": 40 - }, - { - "name": "basetype", - "cType": "uint8", - "offset_bits": 48 - }, - { - "name": "padding", - "cType": "char", - "offset_bits": 56 - }, - { - "name": "count", - "cType": "int32", - "offset_bits": 64 - }, - { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 - }, - { - "name": "span", - "cType": "Span", - "offset_bits": 128 - }, - { - "name": "elems", - "cType": "Span[1]", - "offset_bits": 320 - } - ] - }, - { - "name": "TBox", - "file": "meos.h", - "fields": [ - { - "name": "period", - "cType": "Span", - "offset_bits": 0 - }, - { - "name": "span", - "cType": "Span", - "offset_bits": 192 - }, - { - "name": "flags", - "cType": "int16", - "offset_bits": 384 - } - ] - }, - { - "name": "STBox", - "file": "meos.h", - "fields": [ - { - "name": "period", - "cType": "Span", - "offset_bits": 0 - }, - { - "name": "xmin", - "cType": "double", - "offset_bits": 192 - }, - { - "name": "ymin", - "cType": "double", - "offset_bits": 256 - }, - { - "name": "zmin", - "cType": "double", - "offset_bits": 320 - }, - { - "name": "xmax", - "cType": "double", - "offset_bits": 384 - }, - { - "name": "ymax", - "cType": "double", - "offset_bits": 448 - }, - { - "name": "zmax", - "cType": "double", - "offset_bits": 512 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 576 - }, - { - "name": "flags", - "cType": "int16", - "offset_bits": 608 - } - ] - }, - { - "name": "Temporal", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, - { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 - }, - { - "name": "flags", - "cType": "int16", - "offset_bits": 48 - } - ] - }, - { - "name": "TInstant", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, - { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 - }, - { - "name": "flags", - "cType": "int16", - "offset_bits": 48 - }, - { - "name": "t", - "cType": "TimestampTz", - "offset_bits": 64 - }, - { - "name": "value", - "cType": "Datum", - "offset_bits": 128 - } - ], - "meosType": "TPointInst" - }, - { - "name": "TSequence", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, - { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 - }, - { - "name": "flags", - "cType": "int16", - "offset_bits": 48 - }, - { - "name": "count", - "cType": "int32", - "offset_bits": 64 - }, - { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 - }, - { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 128 - }, - { - "name": "padding", - "cType": "char[6]", - "offset_bits": 144 - }, - { - "name": "period", - "cType": "Span", - "offset_bits": 192 - } - ], - "meosType": "TPointSeq" - }, - { - "name": "TSequenceSet", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, - { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, - { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 - }, - { - "name": "flags", - "cType": "int16", - "offset_bits": 48 - }, - { - "name": "count", - "cType": "int32", - "offset_bits": 64 - }, - { - "name": "totalcount", - "cType": "int32", - "offset_bits": 96 - }, - { - "name": "maxcount", - "cType": "int32", - "offset_bits": 128 - }, - { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 160 - }, - { - "name": "padding", - "cType": "int16", - "offset_bits": 176 - }, - { - "name": "period", - "cType": "Span", - "offset_bits": 192 - } - ] - }, - { - "name": "Match", - "file": "meos.h", - "fields": [ - { - "name": "i", - "cType": "int", - "offset_bits": 0 - }, - { - "name": "j", - "cType": "int", - "offset_bits": 32 - } - ] - }, - { - "name": "SkipList", - "file": "meos.h", - "fields": [] - }, - { - "name": "RTree", - "file": "meos.h", - "fields": [] - }, - { - "name": "temptype_catalog_struct", - "file": "meos_catalog.h", - "fields": [ - { - "name": "temptype", - "cType": "meosType", - "offset_bits": 0 - }, - { - "name": "basetype", - "cType": "meosType", - "offset_bits": 32 - } - ] - }, - { - "name": "settype_catalog_struct", - "file": "meos_catalog.h", - "fields": [ - { - "name": "settype", - "cType": "meosType", - "offset_bits": 0 - }, - { - "name": "basetype", - "cType": "meosType", - "offset_bits": 32 - } - ] - }, - { - "name": "spantype_catalog_struct", - "file": "meos_catalog.h", - "fields": [ - { - "name": "spantype", - "cType": "meosType", - "offset_bits": 0 - }, - { - "name": "basetype", - "cType": "meosType", - "offset_bits": 32 - } - ] - }, - { - "name": "spansettype_catalog_struct", - "file": "meos_catalog.h", - "fields": [ - { - "name": "spansettype", - "cType": "meosType", - "offset_bits": 0 - }, - { - "name": "spantype", - "cType": "meosType", - "offset_bits": 32 - } - ] - }, - { - "name": "AFFINE", - "file": "meos_geo.h", - "fields": [ - { - "name": "afac", - "cType": "double", - "offset_bits": 0 - }, - { - "name": "bfac", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "cfac", - "cType": "double", - "offset_bits": 128 - }, - { - "name": "dfac", - "cType": "double", - "offset_bits": 192 - }, - { - "name": "efac", - "cType": "double", - "offset_bits": 256 - }, - { - "name": "ffac", - "cType": "double", - "offset_bits": 320 - }, - { - "name": "gfac", - "cType": "double", - "offset_bits": 384 - }, - { - "name": "hfac", - "cType": "double", - "offset_bits": 448 - }, - { - "name": "ifac", - "cType": "double", - "offset_bits": 512 - }, - { - "name": "xoff", - "cType": "double", - "offset_bits": 576 - }, - { - "name": "yoff", - "cType": "double", - "offset_bits": 640 - }, - { - "name": "zoff", - "cType": "double", - "offset_bits": 704 - } - ] - }, - { - "name": "BOX3D", - "file": "meos_geo.h", - "fields": [ - { - "name": "xmin", - "cType": "double", - "offset_bits": 0 - }, - { - "name": "ymin", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "zmin", - "cType": "double", - "offset_bits": 128 - }, - { - "name": "xmax", - "cType": "double", - "offset_bits": 192 - }, - { - "name": "ymax", - "cType": "double", - "offset_bits": 256 - }, - { - "name": "zmax", - "cType": "double", - "offset_bits": 320 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 384 - } - ] - }, - { - "name": "GBOX", - "file": "meos_geo.h", - "fields": [ - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 0 - }, - { - "name": "xmin", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "xmax", - "cType": "double", - "offset_bits": 128 - }, - { - "name": "ymin", - "cType": "double", - "offset_bits": 192 - }, - { - "name": "ymax", - "cType": "double", - "offset_bits": 256 - }, - { - "name": "zmin", - "cType": "double", - "offset_bits": 320 - }, - { - "name": "zmax", - "cType": "double", - "offset_bits": 384 - }, - { - "name": "mmin", - "cType": "double", - "offset_bits": 448 - }, - { - "name": "mmax", - "cType": "double", - "offset_bits": 512 - } - ] - }, - { - "name": "SPHEROID", - "file": "meos_geo.h", - "fields": [ - { - "name": "a", - "cType": "double", - "offset_bits": 0 - }, - { - "name": "b", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "f", - "cType": "double", - "offset_bits": 128 - }, - { - "name": "e", - "cType": "double", - "offset_bits": 192 - }, - { - "name": "e_sq", - "cType": "double", - "offset_bits": 256 - }, - { - "name": "radius", - "cType": "double", - "offset_bits": 320 - }, - { - "name": "name", - "cType": "char[20]", - "offset_bits": 384 - } - ] - }, - { - "name": "POINT2D", - "file": "meos_geo.h", - "fields": [ - { - "name": "x", - "cType": "double", - "offset_bits": 0 - }, - { - "name": "y", - "cType": "double", - "offset_bits": 64 - } - ] - }, - { - "name": "POINT3DZ", - "file": "meos_geo.h", - "fields": [ - { - "name": "x", - "cType": "double", - "offset_bits": 0 - }, - { - "name": "y", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "z", - "cType": "double", - "offset_bits": 128 - } - ] - }, - { - "name": "POINT3D", - "file": "meos_geo.h", - "fields": [ - { - "name": "x", - "cType": "double", - "offset_bits": 0 - }, - { - "name": "y", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "z", - "cType": "double", - "offset_bits": 128 - } - ] - }, - { - "name": "POINT3DM", - "file": "meos_geo.h", - "fields": [ - { - "name": "x", - "cType": "double", - "offset_bits": 0 - }, - { - "name": "y", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "m", - "cType": "double", - "offset_bits": 128 - } - ] - }, - { - "name": "POINT4D", - "file": "meos_geo.h", - "fields": [ - { - "name": "x", - "cType": "double", - "offset_bits": 0 - }, - { - "name": "y", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "z", - "cType": "double", - "offset_bits": 128 - }, - { - "name": "m", - "cType": "double", - "offset_bits": 192 - } - ] - }, - { - "name": "POINTARRAY", - "file": "meos_geo.h", - "fields": [ - { - "name": "npoints", - "cType": "uint32_t", - "offset_bits": 0 - }, - { - "name": "maxpoints", - "cType": "uint32_t", - "offset_bits": 32 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 64 - }, - { - "name": "serialized_pointlist", - "cType": "uint8_t *", - "offset_bits": 128 - } - ] - }, - { - "name": "GSERIALIZED", - "file": "meos_geo.h", - "fields": [ - { - "name": "size", - "cType": "uint32_t", - "offset_bits": 0 - }, - { - "name": "srid", - "cType": "uint8_t[3]", - "offset_bits": 32 - }, - { - "name": "gflags", - "cType": "uint8_t", - "offset_bits": 56 - }, - { - "name": "data", - "cType": "uint8_t[1]", - "offset_bits": 64 - } - ] - }, - { - "name": "LWGEOM", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "data", - "cType": "void *", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - } - ] - }, - { - "name": "LWPOINT", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "point", - "cType": "POINTARRAY *", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - } - ] - }, - { - "name": "LWLINE", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "points", - "cType": "POINTARRAY *", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - } - ] - }, - { - "name": "LWTRIANGLE", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "points", - "cType": "POINTARRAY *", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - } - ] - }, - { - "name": "LWCIRCSTRING", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "points", - "cType": "POINTARRAY *", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - } - ] - }, - { - "name": "LWPOLY", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "rings", - "cType": "POINTARRAY **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "nrings", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxrings", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMPOINT", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWPOINT **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMLINE", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWLINE **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMPOLY", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWPOLY **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWCOLLECTION", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWGEOM **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWCOMPOUND", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWGEOM **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWCURVEPOLY", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "rings", - "cType": "LWGEOM **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "nrings", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxrings", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMCURVE", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWGEOM **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWMSURFACE", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWGEOM **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWPSURFACE", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWPOLY **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "LWTIN", - "file": "meos_geo.h", - "fields": [ - { - "name": "bbox", - "cType": "GBOX *", - "offset_bits": 0 - }, - { - "name": "geoms", - "cType": "LWTRIANGLE **", - "offset_bits": 64 - }, - { - "name": "srid", - "cType": "int32_t", - "offset_bits": 128 - }, - { - "name": "flags", - "cType": "lwflags_t", - "offset_bits": 160 - }, - { - "name": "type", - "cType": "uint8_t", - "offset_bits": 176 - }, - { - "name": "pad", - "cType": "char[1]", - "offset_bits": 184 - }, - { - "name": "ngeoms", - "cType": "uint32_t", - "offset_bits": 192 - }, - { - "name": "maxgeoms", - "cType": "uint32_t", - "offset_bits": 224 - } - ] - }, - { - "name": "PJconsts", - "file": "meos_geo.h", - "fields": [] - }, - { - "name": "LWPROJ", - "file": "meos_geo.h", - "fields": [ - { - "name": "pj", - "cType": "PJ *", - "offset_bits": 0 - }, - { - "name": "pipeline_is_forward", - "cType": "_Bool", - "offset_bits": 64 - }, - { - "name": "source_is_latlong", - "cType": "uint8_t", - "offset_bits": 72 - }, - { - "name": "source_semi_major_metre", - "cType": "double", - "offset_bits": 128 - }, - { - "name": "source_semi_minor_metre", - "cType": "double", - "offset_bits": 192 - } - ] - }, - { - "name": "SkipListElem", - "file": "meos_internal.h", - "fields": [ - { - "name": "key", - "cType": "void *", - "offset_bits": 0 - }, - { - "name": "value", - "cType": "void *", - "offset_bits": 64 - }, - { - "name": "height", - "cType": "int", - "offset_bits": 128 - }, - { - "name": "next", - "cType": "int[32]", - "offset_bits": 160 - } - ] - }, - { - "name": "Npoint", - "file": "meos_npoint.h", - "fields": [ - { - "name": "rid", - "cType": "int64", - "offset_bits": 0 - }, - { - "name": "pos", - "cType": "double", - "offset_bits": 64 - } - ] - }, - { - "name": "Nsegment", - "file": "meos_npoint.h", - "fields": [ - { - "name": "rid", - "cType": "int64", - "offset_bits": 0 - }, - { - "name": "pos1", - "cType": "double", - "offset_bits": 64 - }, - { - "name": "pos2", - "cType": "double", - "offset_bits": 128 - } - ] - } - ], - "enums": [ - { - "name": "tempSubtype", - "file": "meos.h", - "values": [ - { - "name": "ANYTEMPSUBTYPE", - "value": 0 - }, - { - "name": "TINSTANT", - "value": 1 - }, - { - "name": "TSEQUENCE", - "value": 2 - }, - { - "name": "TSEQUENCESET", - "value": 3 - } - ] - }, - { - "name": "interpType", - "file": "meos.h", - "values": [ - { - "name": "INTERP_NONE", - "value": 0 - }, - { - "name": "DISCRETE", - "value": 1 - }, - { - "name": "STEP", - "value": 2 - }, - { - "name": "LINEAR", - "value": 3 - } - ] - }, - { - "name": "errorCode", - "file": "meos.h", - "values": [ - { - "name": "MEOS_SUCCESS", - "value": 0 - }, - { - "name": "MEOS_ERR_INTERNAL_ERROR", - "value": 1 - }, - { - "name": "MEOS_ERR_INTERNAL_TYPE_ERROR", - "value": 2 - }, - { - "name": "MEOS_ERR_VALUE_OUT_OF_RANGE", - "value": 3 - }, - { - "name": "MEOS_ERR_DIVISION_BY_ZERO", - "value": 4 - }, - { - "name": "MEOS_ERR_MEMORY_ALLOC_ERROR", - "value": 5 - }, - { - "name": "MEOS_ERR_AGGREGATION_ERROR", - "value": 6 - }, - { - "name": "MEOS_ERR_DIRECTORY_ERROR", - "value": 7 - }, - { - "name": "MEOS_ERR_FILE_ERROR", - "value": 8 - }, - { - "name": "MEOS_ERR_INVALID_ARG", - "value": 10 - }, - { - "name": "MEOS_ERR_INVALID_ARG_TYPE", - "value": 11 - }, - { - "name": "MEOS_ERR_INVALID_ARG_VALUE", - "value": 12 - }, - { - "name": "MEOS_ERR_FEATURE_NOT_SUPPORTED", - "value": 13 - }, - { - "name": "MEOS_ERR_MFJSON_INPUT", - "value": 20 - }, - { - "name": "MEOS_ERR_MFJSON_OUTPUT", - "value": 21 - }, - { - "name": "MEOS_ERR_TEXT_INPUT", - "value": 22 - }, - { - "name": "MEOS_ERR_TEXT_OUTPUT", - "value": 23 - }, - { - "name": "MEOS_ERR_WKB_INPUT", - "value": 24 - }, - { - "name": "MEOS_ERR_WKB_OUTPUT", - "value": 25 - }, - { - "name": "MEOS_ERR_GEOJSON_INPUT", - "value": 26 - }, - { - "name": "MEOS_ERR_GEOJSON_OUTPUT", - "value": 27 - } - ] - }, - { - "name": "meosType", - "file": "meos_catalog.h", - "values": [ - { - "name": "T_UNKNOWN", - "value": 0 - }, - { - "name": "T_BOOL", - "value": 1 - }, - { - "name": "T_DATE", - "value": 2 - }, - { - "name": "T_DATEMULTIRANGE", - "value": 3 - }, - { - "name": "T_DATERANGE", - "value": 4 - }, - { - "name": "T_DATESET", - "value": 5 - }, - { - "name": "T_DATESPAN", - "value": 6 - }, - { - "name": "T_DATESPANSET", - "value": 7 - }, - { - "name": "T_DOUBLE2", - "value": 8 - }, - { - "name": "T_DOUBLE3", - "value": 9 - }, - { - "name": "T_DOUBLE4", - "value": 10 - }, - { - "name": "T_FLOAT8", - "value": 11 - }, - { - "name": "T_FLOATSET", - "value": 12 - }, - { - "name": "T_FLOATSPAN", - "value": 13 - }, - { - "name": "T_FLOATSPANSET", - "value": 14 - }, - { - "name": "T_INT4", - "value": 15 - }, - { - "name": "T_INT4MULTIRANGE", - "value": 16 - }, - { - "name": "T_INT4RANGE", - "value": 17 - }, - { - "name": "T_INTSET", - "value": 18 - }, - { - "name": "T_INTSPAN", - "value": 19 - }, - { - "name": "T_INTSPANSET", - "value": 20 - }, - { - "name": "T_INT8", - "value": 21 - }, - { - "name": "T_INT8MULTIRANGE", - "value": 52 - }, - { - "name": "T_INT8RANGE", - "value": 53 - }, - { - "name": "T_BIGINTSET", - "value": 22 - }, - { - "name": "T_BIGINTSPAN", - "value": 23 - }, - { - "name": "T_BIGINTSPANSET", - "value": 24 - }, - { - "name": "T_STBOX", - "value": 25 - }, - { - "name": "T_TBOOL", - "value": 26 - }, - { - "name": "T_TBOX", - "value": 27 - }, - { - "name": "T_TDOUBLE2", - "value": 28 - }, - { - "name": "T_TDOUBLE3", - "value": 29 - }, - { - "name": "T_TDOUBLE4", - "value": 30 - }, - { - "name": "T_TEXT", - "value": 31 - }, - { - "name": "T_TEXTSET", - "value": 32 - }, - { - "name": "T_TFLOAT", - "value": 33 - }, - { - "name": "T_TIMESTAMPTZ", - "value": 34 - }, - { - "name": "T_TINT", - "value": 35 - }, - { - "name": "T_TSTZMULTIRANGE", - "value": 36 - }, - { - "name": "T_TSTZRANGE", - "value": 37 - }, - { - "name": "T_TSTZSET", - "value": 38 - }, - { - "name": "T_TSTZSPAN", - "value": 39 - }, - { - "name": "T_TSTZSPANSET", - "value": 40 - }, - { - "name": "T_TTEXT", - "value": 41 - }, - { - "name": "T_GEOMETRY", - "value": 42 - }, - { - "name": "T_GEOMSET", - "value": 43 - }, - { - "name": "T_GEOGRAPHY", - "value": 44 - }, - { - "name": "T_GEOGSET", - "value": 45 - }, - { - "name": "T_TGEOMPOINT", - "value": 46 - }, - { - "name": "T_TGEOGPOINT", - "value": 47 - }, - { - "name": "T_NPOINT", - "value": 48 - }, - { - "name": "T_NPOINTSET", - "value": 49 - }, - { - "name": "T_NSEGMENT", - "value": 50 - }, - { - "name": "T_TNPOINT", - "value": 51 - }, - { - "name": "T_POSE", - "value": 54 - }, - { - "name": "T_POSESET", - "value": 55 - }, - { - "name": "T_TPOSE", - "value": 56 - }, - { - "name": "T_CBUFFER", - "value": 57 - }, - { - "name": "T_CBUFFERSET", - "value": 58 - }, - { - "name": "T_TCBUFFER", - "value": 59 - }, - { - "name": "T_TGEOMETRY", - "value": 60 - }, - { - "name": "T_TGEOGRAPHY", - "value": 61 - }, - { - "name": "T_TRGEOMETRY", - "value": 62 - }, - { - "name": "NO_MEOS_TYPES", - "value": 63 - } - ] - }, - { - "name": "meosOper", - "file": "meos_catalog.h", - "values": [ - { - "name": "UNKNOWN_OP", - "value": 0 - }, - { - "name": "EQ_OP", - "value": 1 - }, - { - "name": "NE_OP", - "value": 2 - }, - { - "name": "LT_OP", - "value": 3 - }, - { - "name": "LE_OP", - "value": 4 - }, - { - "name": "GT_OP", - "value": 5 - }, - { - "name": "GE_OP", - "value": 6 - }, - { - "name": "ADJACENT_OP", - "value": 7 - }, - { - "name": "UNION_OP", - "value": 8 - }, - { - "name": "MINUS_OP", - "value": 9 - }, - { - "name": "INTERSECT_OP", - "value": 10 - }, - { - "name": "OVERLAPS_OP", - "value": 11 - }, - { - "name": "CONTAINS_OP", - "value": 12 - }, - { - "name": "CONTAINED_OP", - "value": 13 - }, - { - "name": "SAME_OP", - "value": 14 - }, - { - "name": "LEFT_OP", - "value": 15 - }, - { - "name": "OVERLEFT_OP", - "value": 16 - }, - { - "name": "RIGHT_OP", - "value": 17 - }, - { - "name": "OVERRIGHT_OP", - "value": 18 - }, - { - "name": "BELOW_OP", - "value": 19 - }, - { - "name": "OVERBELOW_OP", - "value": 20 - }, - { - "name": "ABOVE_OP", - "value": 21 - }, - { - "name": "OVERABOVE_OP", - "value": 22 - }, - { - "name": "FRONT_OP", - "value": 23 - }, - { - "name": "OVERFRONT_OP", - "value": 24 - }, - { - "name": "BACK_OP", - "value": 25 - }, - { - "name": "OVERBACK_OP", - "value": 26 - }, - { - "name": "BEFORE_OP", - "value": 27 - }, - { - "name": "OVERBEFORE_OP", - "value": 28 - }, - { - "name": "AFTER_OP", - "value": 29 - }, - { - "name": "OVERAFTER_OP", - "value": 30 - }, - { - "name": "EVEREQ_OP", - "value": 31 - }, - { - "name": "EVERNE_OP", - "value": 32 - }, - { - "name": "EVERLT_OP", - "value": 33 - }, - { - "name": "EVERLE_OP", - "value": 34 - }, - { - "name": "EVERGT_OP", - "value": 35 - }, - { - "name": "EVERGE_OP", - "value": 36 - }, - { - "name": "ALWAYSEQ_OP", - "value": 37 - }, - { - "name": "ALWAYSNE_OP", - "value": 38 - }, - { - "name": "ALWAYSLT_OP", - "value": 39 - }, - { - "name": "ALWAYSLE_OP", - "value": 40 - }, - { - "name": "ALWAYSGT_OP", - "value": 41 - }, - { - "name": "ALWAYSGE_OP", - "value": 42 - } - ] - }, - { - "name": "spatialRel", - "file": "meos_geo.h", - "values": [ - { - "name": "INTERSECTS", - "value": 0 - }, - { - "name": "CONTAINS", - "value": 1 - }, - { - "name": "TOUCHES", - "value": 2 - }, - { - "name": "COVERS", - "value": 3 - } - ] - }, - { - "name": "SkipListType", - "file": "meos_internal.h", - "values": [ - { - "name": "TEMPORAL", - "value": 0 - }, - { - "name": "KEYVALUE", - "value": 1 - } - ] - } - ] -} \ No newline at end of file diff --git a/builder/meos.h b/builder/meos.h deleted file mode 100644 index 4066b3f..0000000 --- a/builder/meos.h +++ /dev/null @@ -1,3511 +0,0 @@ - -typedef struct - { - const char *name; - unsigned long int max; - unsigned long int min; - size_t size; - void (*set) (void *state, unsigned long int seed); - unsigned long int (*get) (void *state); - double (*get_double) (void *state); - } -gsl_rng_type; - -typedef struct - { - const gsl_rng_type * type; - void *state; - } -gsl_rng; - -struct pj_ctx; -typedef struct pj_ctx PJ_CONTEXT; -//-------------------- meos.h -------------------- - - -//#include -//#include - -typedef char *Pointer; -typedef uintptr_t Datum; - -typedef signed char int8; -typedef signed short int16; -typedef signed int int32; -typedef long int int64; - -typedef unsigned char uint8; -typedef unsigned short uint16; -typedef unsigned int uint32; -typedef unsigned long int uint64; - -typedef int32 DateADT; -typedef int64 TimeADT; -typedef int64 Timestamp; -typedef int64 TimestampTz; -typedef int64 TimeOffset; -typedef int32 fsec_t; - -typedef struct -{ - TimeOffset time; - int32 day; - int32 month; -} Interval; - -typedef struct varlena -{ - char vl_len_[4]; - char vl_dat[]; -} varlena; - -typedef varlena text; -typedef struct varlena bytea; - -extern DateADT date_in(const char *str); -extern char *date_out(DateADT d); -extern int interval_cmp(const Interval *interv1, const Interval *interv2); -extern Interval *interval_in(const char *str, int32 typmod); -extern char *interval_out(const Interval *interv); -extern TimeADT time_in(const char *str, int32 typmod); -extern char *time_out(TimeADT t); -extern Timestamp timestamp_in(const char *str, int32 typmod); -extern char *timestamp_out(Timestamp t); -extern TimestampTz timestamptz_in(const char *str, int32 typmod); -extern char *timestamptz_out(TimestampTz t); - - - -typedef struct -{ - int32 vl_len_; - uint8 settype; - uint8 basetype; - int16 flags; - int32 count; - int32 maxcount; - int16 bboxsize; -} Set; - -typedef struct -{ - uint8 spantype; - uint8 basetype; - bool lower_inc; - bool upper_inc; - char padding[4]; - Datum lower; - Datum upper; -} Span; - -typedef struct -{ - int32 vl_len_; - uint8 spansettype; - uint8 spantype; - uint8 basetype; - char padding; - int32 count; - int32 maxcount; - Span span; - Span elems[1]; -} SpanSet; - -typedef struct -{ - Span period; - Span span; - int16 flags; -} TBox; - -typedef struct -{ - Span period; - double xmin; - double ymin; - double zmin; - double xmax; - double ymax; - double zmax; - int32_t srid; - int16 flags; -} STBox; - -typedef enum -{ - ANYTEMPSUBTYPE = 0, - TINSTANT = 1, - TSEQUENCE = 2, - TSEQUENCESET = 3, -} tempSubtype; - -typedef enum -{ - INTERP_NONE = 0, - DISCRETE = 1, - STEP = 2, - LINEAR = 3, -} interpType; - -typedef struct -{ - int32 vl_len_; - uint8 temptype; - uint8 subtype; - int16 flags; - -} Temporal; - -typedef struct -{ - int32 vl_len_; - uint8 temptype; - uint8 subtype; - int16 flags; - TimestampTz t; - Datum value; - -} TInstant; - -typedef struct -{ - int32 vl_len_; - uint8 temptype; - uint8 subtype; - int16 flags; - int32 count; - int32 maxcount; - int16 bboxsize; - char padding[6]; - Span period; - -} TSequence; - -typedef struct -{ - int32 vl_len_; - uint8 temptype; - uint8 subtype; - int16 flags; - int32 count; - int32 totalcount; - int32 maxcount; - int16 bboxsize; - int16 padding; - Span period; - -} TSequenceSet; - -typedef struct -{ - int i; - int j; -} Match; - -typedef struct SkipList SkipList; - -typedef struct RTree RTree; - -extern RTree *rtree_create_intspan(); -extern RTree *rtree_create_bigintspan(); -extern RTree *rtree_create_floatspan(); -extern RTree *rtree_create_datespan(); -extern RTree *rtree_create_tstzspan(); -extern RTree *rtree_create_tbox(); -extern RTree *rtree_create_stbox(); -extern void rtree_free(RTree *rtree); -extern void rtree_insert(RTree *rtree, void *box, int64 id); -extern int *rtree_search(const RTree *rtree,const void *query, int *count); - -typedef enum -{ - MEOS_SUCCESS = 0, - - MEOS_ERR_INTERNAL_ERROR = 1, - MEOS_ERR_INTERNAL_TYPE_ERROR = 2, - MEOS_ERR_VALUE_OUT_OF_RANGE = 3, - MEOS_ERR_DIVISION_BY_ZERO = 4, - MEOS_ERR_MEMORY_ALLOC_ERROR = 5, - MEOS_ERR_AGGREGATION_ERROR = 6, - MEOS_ERR_DIRECTORY_ERROR = 7, - MEOS_ERR_FILE_ERROR = 8, - - MEOS_ERR_INVALID_ARG = 10, - MEOS_ERR_INVALID_ARG_TYPE = 11, - MEOS_ERR_INVALID_ARG_VALUE = 12, - MEOS_ERR_FEATURE_NOT_SUPPORTED = 13, - - MEOS_ERR_MFJSON_INPUT = 20, - MEOS_ERR_MFJSON_OUTPUT = 21, - MEOS_ERR_TEXT_INPUT = 22, - MEOS_ERR_TEXT_OUTPUT = 23, - MEOS_ERR_WKB_INPUT = 24, - MEOS_ERR_WKB_OUTPUT = 25, - MEOS_ERR_GEOJSON_INPUT = 26, - MEOS_ERR_GEOJSON_OUTPUT = 27, - -} errorCode; - -extern void meos_error(int errlevel, int errcode, const char *format, ...); - -extern int meos_errno(void); -extern int meos_errno_set(int err); -extern int meos_errno_restore(int err); -extern int meos_errno_reset(void); - -typedef void (*error_handler_fn)(int, int, const char *); - -extern void meos_initialize_timezone(const char *name); -extern void meos_initialize_error_handler(error_handler_fn err_handler); -extern void meos_finalize_timezone(void); -extern void meos_finalize_projsrs(void); -extern void meos_finalize_ways(void); - -extern bool meos_set_datestyle(const char *newval, void *extra); -extern bool meos_set_intervalstyle(const char *newval, int extra); -extern char *meos_get_datestyle(void); -extern char *meos_get_intervalstyle(void); - -extern void meos_set_spatial_ref_sys_csv(const char* path); - -extern void meos_initialize(void); -extern void meos_finalize(void); - -extern DateADT add_date_int(DateADT d, int32 days); -extern Interval *add_interval_interval(const Interval *interv1, const Interval *interv2); -extern TimestampTz add_timestamptz_interval(TimestampTz t, const Interval *interv); -extern bool bool_in(const char *str); -extern char *bool_out(bool b); -extern text *cstring2text(const char *str); -extern Timestamp date_to_timestamp(DateADT dateVal); -extern TimestampTz date_to_timestamptz(DateADT d); -extern double float_exp(double d); -extern double float_ln(double d); -extern double float_log10(double d); -extern char *float8_out(double d, int maxdd); -extern double float_round(double d, int maxdd); -extern int int32_cmp(int32 l, int32 r); -extern int int64_cmp(int64 l, int64 r); -extern Interval *interval_make(int32 years, int32 months, int32 weeks, int32 days, int32 hours, int32 mins, double secs); -extern int minus_date_date(DateADT d1, DateADT d2); -extern DateADT minus_date_int(DateADT d, int32 days); -extern TimestampTz minus_timestamptz_interval(TimestampTz t, const Interval *interv); -extern Interval *minus_timestamptz_timestamptz(TimestampTz t1, TimestampTz t2); -extern Interval *mul_interval_double(const Interval *interv, double factor); -extern DateADT pg_date_in(const char *str); -extern char *pg_date_out(DateADT d); -extern int pg_interval_cmp(const Interval *interv1, const Interval *interv2); -extern Interval *pg_interval_in(const char *str, int32 typmod); -extern char *pg_interval_out(const Interval *interv); -extern Timestamp pg_timestamp_in(const char *str, int32 typmod); -extern char *pg_timestamp_out(Timestamp t); -extern TimestampTz pg_timestamptz_in(const char *str, int32 typmod); -extern char *pg_timestamptz_out(TimestampTz t); -extern char *text2cstring(const text *txt); -extern int text_cmp(const text *txt1, const text *txt2); -extern text *text_copy(const text *txt); -extern text *text_in(const char *str); -extern text *text_initcap(const text *txt); -extern text *text_lower(const text *txt); -extern char *text_out(const text *txt); -extern text *text_upper(const text *txt); -extern text *textcat_text_text(const text *txt1, const text *txt2); -extern TimestampTz timestamptz_shift(TimestampTz t, const Interval *interv); -extern DateADT timestamp_to_date(Timestamp t); -extern DateADT timestamptz_to_date(TimestampTz t); - -extern Set *bigintset_in(const char *str); -extern char *bigintset_out(const Set *set); -extern Span *bigintspan_expand(const Span *s, int64 value); -extern Span *bigintspan_in(const char *str); -extern char *bigintspan_out(const Span *s); -extern SpanSet *bigintspanset_in(const char *str); -extern char *bigintspanset_out(const SpanSet *ss); -extern Set *dateset_in(const char *str); -extern char *dateset_out(const Set *s); -extern Span *datespan_in(const char *str); -extern char *datespan_out(const Span *s); -extern SpanSet *datespanset_in(const char *str); -extern char *datespanset_out(const SpanSet *ss); -extern Set *floatset_in(const char *str); -extern char *floatset_out(const Set *set, int maxdd); -extern Span *floatspan_expand(const Span *s, double value); -extern Span *floatspan_in(const char *str); -extern char *floatspan_out(const Span *s, int maxdd); -extern SpanSet *floatspanset_in(const char *str); -extern char *floatspanset_out(const SpanSet *ss, int maxdd); -extern Set *intset_in(const char *str); -extern char *intset_out(const Set *set); -extern Span *intspan_expand(const Span *s, int32 value); -extern Span *intspan_in(const char *str); -extern char *intspan_out(const Span *s); -extern SpanSet *intspanset_in(const char *str); -extern char *intspanset_out(const SpanSet *ss); -extern char *set_as_hexwkb(const Set *s, uint8_t variant, size_t *size_out); -extern uint8_t *set_as_wkb(const Set *s, uint8_t variant, size_t *size_out); -extern Set *set_from_hexwkb(const char *hexwkb); -extern Set *set_from_wkb(const uint8_t *wkb, size_t size); -extern char *span_as_hexwkb(const Span *s, uint8_t variant, size_t *size_out); -extern uint8_t *span_as_wkb(const Span *s, uint8_t variant, size_t *size_out); -extern Span *span_from_hexwkb(const char *hexwkb); -extern Span *span_from_wkb(const uint8_t *wkb, size_t size); -extern char *spanset_as_hexwkb(const SpanSet *ss, uint8_t variant, size_t *size_out); -extern uint8_t *spanset_as_wkb(const SpanSet *ss, uint8_t variant, size_t *size_out); -extern SpanSet *spanset_from_hexwkb(const char *hexwkb); -extern SpanSet *spanset_from_wkb(const uint8_t *wkb, size_t size); -extern Set *textset_in(const char *str); -extern char *textset_out(const Set *set); -extern Set *tstzset_in(const char *str); -extern char *tstzset_out(const Set *set); -extern Span *tstzspan_in(const char *str); -extern char *tstzspan_out(const Span *s); -extern SpanSet *tstzspanset_in(const char *str); -extern char *tstzspanset_out(const SpanSet *ss); - -extern Set *bigintset_make(const int64 *values, int count); -extern Span *bigintspan_make(int64 lower, int64 upper, bool lower_inc, bool upper_inc); -extern Set *dateset_make(const DateADT *values, int count); -extern Span *datespan_make(DateADT lower, DateADT upper, bool lower_inc, bool upper_inc); -extern Set *floatset_make(const double *values, int count); -extern Span *floatspan_make(double lower, double upper, bool lower_inc, bool upper_inc); -extern Set *intset_make(const int *values, int count); -extern Span *intspan_make(int lower, int upper, bool lower_inc, bool upper_inc); -extern Set *set_copy(const Set *s); -extern Span *span_copy(const Span *s); -extern SpanSet *spanset_copy(const SpanSet *ss); -extern SpanSet *spanset_make(Span *spans, int count); -extern Set *textset_make(text **values, int count); -extern Set *tstzset_make(const TimestampTz *values, int count); -extern Span *tstzspan_make(TimestampTz lower, TimestampTz upper, bool lower_inc, bool upper_inc); - -extern Set *bigint_to_set(int64 i); -extern Span *bigint_to_span(int i); -extern SpanSet *bigint_to_spanset(int i); -extern Set *date_to_set(DateADT d); -extern Span *date_to_span(DateADT d); -extern SpanSet *date_to_spanset(DateADT d); -extern Set *dateset_to_tstzset(const Set *s); -extern Span *datespan_to_tstzspan(const Span *s); -extern SpanSet *datespanset_to_tstzspanset(const SpanSet *ss); -extern Set *float_to_set(double d); -extern Span *float_to_span(double d); -extern SpanSet *float_to_spanset(double d); -extern Set *floatset_to_intset(const Set *s); -extern Span *floatspan_to_intspan(const Span *s); -extern SpanSet *floatspanset_to_intspanset(const SpanSet *ss); -extern Set *int_to_set(int i); -extern Span *int_to_span(int i); -extern SpanSet *int_to_spanset(int i); -extern Set *intset_to_floatset(const Set *s); -extern Span *intspan_to_floatspan(const Span *s); -extern SpanSet *intspanset_to_floatspanset(const SpanSet *ss); -extern Span *set_to_span(const Set *s); -extern SpanSet *set_to_spanset(const Set *s); -extern SpanSet *span_to_spanset(const Span *s); -extern Set *text_to_set(const text *txt); -extern Set *timestamptz_to_set(TimestampTz t); -extern Span *timestamptz_to_span(TimestampTz t); -extern SpanSet *timestamptz_to_spanset(TimestampTz t); -extern Set *tstzset_to_dateset(const Set *s); -extern Span *tstzspan_to_datespan(const Span *s); -extern SpanSet *tstzspanset_to_datespanset(const SpanSet *ss); - -extern int64 bigintset_end_value(const Set *s); -extern int64 bigintset_start_value(const Set *s); -extern bool bigintset_value_n(const Set *s, int n, int64 *result); -extern int64 *bigintset_values(const Set *s); -extern int64 bigintspan_lower(const Span *s); -extern int64 bigintspan_upper(const Span *s); -extern int64 bigintspan_width(const Span *s); -extern int64 bigintspanset_lower(const SpanSet *ss); -extern int64 bigintspanset_upper(const SpanSet *ss); -extern int64 bigintspanset_width(const SpanSet *ss, bool boundspan); -extern DateADT dateset_end_value(const Set *s); -extern DateADT dateset_start_value(const Set *s); -extern bool dateset_value_n(const Set *s, int n, DateADT *result); -extern DateADT *dateset_values(const Set *s); -extern Interval *datespan_duration(const Span *s); -extern DateADT datespan_lower(const Span *s); -extern DateADT datespan_upper(const Span *s); -extern bool datespanset_date_n(const SpanSet *ss, int n, DateADT *result); -extern Set *datespanset_dates(const SpanSet *ss); -extern Interval *datespanset_duration(const SpanSet *ss, bool boundspan); -extern DateADT datespanset_end_date(const SpanSet *ss); -extern int datespanset_num_dates(const SpanSet *ss); -extern DateADT datespanset_start_date(const SpanSet *ss); -extern double floatset_end_value(const Set *s); -extern double floatset_start_value(const Set *s); -extern bool floatset_value_n(const Set *s, int n, double *result); -extern double *floatset_values(const Set *s); -extern double floatspan_lower(const Span *s); -extern double floatspan_upper(const Span *s); -extern double floatspan_width(const Span *s); -extern double floatspanset_lower(const SpanSet *ss); -extern double floatspanset_upper(const SpanSet *ss); -extern double floatspanset_width(const SpanSet *ss, bool boundspan); -extern int intset_end_value(const Set *s); -extern int intset_start_value(const Set *s); -extern bool intset_value_n(const Set *s, int n, int *result); -extern int *intset_values(const Set *s); -extern int intspan_lower(const Span *s); -extern int intspan_upper(const Span *s); -extern int intspan_width(const Span *s); -extern int intspanset_lower(const SpanSet *ss); -extern int intspanset_upper(const SpanSet *ss); -extern int intspanset_width(const SpanSet *ss, bool boundspan); -extern uint32 set_hash(const Set *s); -extern uint64 set_hash_extended(const Set *s, uint64 seed); -extern int set_num_values(const Set *s); -extern uint32 span_hash(const Span *s); -extern uint64 span_hash_extended(const Span *s, uint64 seed); -extern bool span_lower_inc(const Span *s); -extern bool span_upper_inc(const Span *s); -extern Span *spanset_end_span(const SpanSet *ss); -extern uint32 spanset_hash(const SpanSet *ss); -extern uint64 spanset_hash_extended(const SpanSet *ss, uint64 seed); -extern bool spanset_lower_inc(const SpanSet *ss); -extern int spanset_num_spans(const SpanSet *ss); -extern Span *spanset_span(const SpanSet *ss); -extern Span *spanset_span_n(const SpanSet *ss, int i); -extern Span **spanset_spanarr(const SpanSet *ss); -extern Span *spanset_start_span(const SpanSet *ss); -extern bool spanset_upper_inc(const SpanSet *ss); -extern text *textset_end_value(const Set *s); -extern text *textset_start_value(const Set *s); -extern bool textset_value_n(const Set *s, int n, text **result); -extern text **textset_values(const Set *s); -extern TimestampTz tstzset_end_value(const Set *s); -extern TimestampTz tstzset_start_value(const Set *s); -extern bool tstzset_value_n(const Set *s, int n, TimestampTz *result); -extern TimestampTz *tstzset_values(const Set *s); -extern Interval *tstzspan_duration(const Span *s); -extern TimestampTz tstzspan_lower(const Span *s); -extern TimestampTz tstzspan_upper(const Span *s); -extern Interval *tstzspanset_duration(const SpanSet *ss, bool boundspan); -extern TimestampTz tstzspanset_end_timestamptz(const SpanSet *ss); -extern TimestampTz tstzspanset_lower(const SpanSet *ss); -extern int tstzspanset_num_timestamps(const SpanSet *ss); -extern TimestampTz tstzspanset_start_timestamptz(const SpanSet *ss); -extern Set *tstzspanset_timestamps(const SpanSet *ss); -extern bool tstzspanset_timestamptz_n(const SpanSet *ss, int n, TimestampTz *result); -extern TimestampTz tstzspanset_upper(const SpanSet *ss); - -extern Set *bigintset_shift_scale(const Set *s, int64 shift, int64 width, bool hasshift, bool haswidth); -extern Span *bigintspan_shift_scale(const Span *s, int64 shift, int64 width, bool hasshift, bool haswidth); -extern SpanSet *bigintspanset_shift_scale(const SpanSet *ss, int64 shift, int64 width, bool hasshift, bool haswidth); -extern Set *dateset_shift_scale(const Set *s, int shift, int width, bool hasshift, bool haswidth); -extern Span *datespan_shift_scale(const Span *s, int shift, int width, bool hasshift, bool haswidth); -extern SpanSet *datespanset_shift_scale(const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth); -extern Set *floatset_ceil(const Set *s); -extern Set *floatset_degrees(const Set *s, bool normalize); -extern Set *floatset_floor(const Set *s); -extern Set *floatset_radians(const Set *s); -extern Set *floatset_shift_scale(const Set *s, double shift, double width, bool hasshift, bool haswidth); -extern Span *floatspan_ceil(const Span *s); -extern Span *floatspan_degrees(const Span *s, bool normalize); -extern Span *floatspan_floor(const Span *s); -extern Span *floatspan_radians(const Span *s); -extern Span *floatspan_round(const Span *s, int maxdd); -extern Span *floatspan_shift_scale(const Span *s, double shift, double width, bool hasshift, bool haswidth); -extern SpanSet *floatspanset_ceil(const SpanSet *ss); -extern SpanSet *floatspanset_floor(const SpanSet *ss); -extern SpanSet *floatspanset_degrees(const SpanSet *ss, bool normalize); -extern SpanSet *floatspanset_radians(const SpanSet *ss); -extern SpanSet *floatspanset_round(const SpanSet *ss, int maxdd); -extern SpanSet *floatspanset_shift_scale(const SpanSet *ss, double shift, double width, bool hasshift, bool haswidth); -extern Set *intset_shift_scale(const Set *s, int shift, int width, bool hasshift, bool haswidth); -extern Span *intspan_shift_scale(const Span *s, int shift, int width, bool hasshift, bool haswidth); -extern SpanSet *intspanset_shift_scale(const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth); -extern Span *tstzspan_expand(const Span *s, const Interval *interv); -extern Set *set_round(const Set *s, int maxdd); -extern Set *textcat_text_textset(const text *txt, const Set *s); -extern Set *textcat_textset_text(const Set *s, const text *txt); -extern Set *textset_initcap(const Set *s); -extern Set *textset_lower(const Set *s); -extern Set *textset_upper(const Set *s); -extern TimestampTz timestamptz_tprecision(TimestampTz t, const Interval *duration, TimestampTz torigin); -extern Set *tstzset_shift_scale(const Set *s, const Interval *shift, const Interval *duration); -extern Set *tstzset_tprecision(const Set *s, const Interval *duration, TimestampTz torigin); -extern Span *tstzspan_shift_scale(const Span *s, const Interval *shift, const Interval *duration); -extern Span *tstzspan_tprecision(const Span *s, const Interval *duration, TimestampTz torigin); -extern SpanSet *tstzspanset_shift_scale(const SpanSet *ss, const Interval *shift, const Interval *duration); -extern SpanSet *tstzspanset_tprecision(const SpanSet *ss, const Interval *duration, TimestampTz torigin); - -extern int set_cmp(const Set *s1, const Set *s2); -extern bool set_eq(const Set *s1, const Set *s2); -extern bool set_ge(const Set *s1, const Set *s2); -extern bool set_gt(const Set *s1, const Set *s2); -extern bool set_le(const Set *s1, const Set *s2); -extern bool set_lt(const Set *s1, const Set *s2); -extern bool set_ne(const Set *s1, const Set *s2); -extern int span_cmp(const Span *s1, const Span *s2); -extern bool span_eq(const Span *s1, const Span *s2); -extern bool span_ge(const Span *s1, const Span *s2); -extern bool span_gt(const Span *s1, const Span *s2); -extern bool span_le(const Span *s1, const Span *s2); -extern bool span_lt(const Span *s1, const Span *s2); -extern bool span_ne(const Span *s1, const Span *s2); -extern int spanset_cmp(const SpanSet *ss1, const SpanSet *ss2); -extern bool spanset_eq(const SpanSet *ss1, const SpanSet *ss2); -extern bool spanset_ge(const SpanSet *ss1, const SpanSet *ss2); -extern bool spanset_gt(const SpanSet *ss1, const SpanSet *ss2); -extern bool spanset_le(const SpanSet *ss1, const SpanSet *ss2); -extern bool spanset_lt(const SpanSet *ss1, const SpanSet *ss2); -extern bool spanset_ne(const SpanSet *ss1, const SpanSet *ss2); - -extern Span *set_spans(const Set *s); -extern Span *set_split_each_n_spans(const Set *s, int elems_per_span, int *count); -extern Span *set_split_n_spans(const Set *s, int span_count, int *count); -extern Span *spanset_spans(const SpanSet *ss); -extern Span *spanset_split_each_n_spans(const SpanSet *ss, int elems_per_span, int *count); -extern Span *spanset_split_n_spans(const SpanSet *ss, int span_count, int *count); - -extern bool adjacent_span_bigint(const Span *s, int64 i); -extern bool adjacent_span_date(const Span *s, DateADT d); -extern bool adjacent_span_float(const Span *s, double d); -extern bool adjacent_span_int(const Span *s, int i); -extern bool adjacent_span_span(const Span *s1, const Span *s2); -extern bool adjacent_span_spanset(const Span *s, const SpanSet *ss); -extern bool adjacent_span_timestamptz(const Span *s, TimestampTz t); -extern bool adjacent_spanset_bigint(const SpanSet *ss, int64 i); -extern bool adjacent_spanset_date(const SpanSet *ss, DateADT d); -extern bool adjacent_spanset_float(const SpanSet *ss, double d); -extern bool adjacent_spanset_int(const SpanSet *ss, int i); -extern bool adjacent_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern bool adjacent_spanset_span(const SpanSet *ss, const Span *s); -extern bool adjacent_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern bool contained_bigint_set(int64 i, const Set *s); -extern bool contained_bigint_span(int64 i, const Span *s); -extern bool contained_bigint_spanset(int64 i, const SpanSet *ss); -extern bool contained_date_set(DateADT d, const Set *s); -extern bool contained_date_span(DateADT d, const Span *s); -extern bool contained_date_spanset(DateADT d, const SpanSet *ss); -extern bool contained_float_set(double d, const Set *s); -extern bool contained_float_span(double d, const Span *s); -extern bool contained_float_spanset(double d, const SpanSet *ss); -extern bool contained_int_set(int i, const Set *s); -extern bool contained_int_span(int i, const Span *s); -extern bool contained_int_spanset(int i, const SpanSet *ss); -extern bool contained_set_set(const Set *s1, const Set *s2); -extern bool contained_span_span(const Span *s1, const Span *s2); -extern bool contained_span_spanset(const Span *s, const SpanSet *ss); -extern bool contained_spanset_span(const SpanSet *ss, const Span *s); -extern bool contained_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern bool contained_text_set(const text *txt, const Set *s); -extern bool contained_timestamptz_set(TimestampTz t, const Set *s); -extern bool contained_timestamptz_span(TimestampTz t, const Span *s); -extern bool contained_timestamptz_spanset(TimestampTz t, const SpanSet *ss); -extern bool contains_set_bigint(const Set *s, int64 i); -extern bool contains_set_date(const Set *s, DateADT d); -extern bool contains_set_float(const Set *s, double d); -extern bool contains_set_int(const Set *s, int i); -extern bool contains_set_set(const Set *s1, const Set *s2); -extern bool contains_set_text(const Set *s, text *t); -extern bool contains_set_timestamptz(const Set *s, TimestampTz t); -extern bool contains_span_bigint(const Span *s, int64 i); -extern bool contains_span_date(const Span *s, DateADT d); -extern bool contains_span_float(const Span *s, double d); -extern bool contains_span_int(const Span *s, int i); -extern bool contains_span_span(const Span *s1, const Span *s2); -extern bool contains_span_spanset(const Span *s, const SpanSet *ss); -extern bool contains_span_timestamptz(const Span *s, TimestampTz t); -extern bool contains_spanset_bigint(const SpanSet *ss, int64 i); -extern bool contains_spanset_date(const SpanSet *ss, DateADT d); -extern bool contains_spanset_float(const SpanSet *ss, double d); -extern bool contains_spanset_int(const SpanSet *ss, int i); -extern bool contains_spanset_span(const SpanSet *ss, const Span *s); -extern bool contains_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern bool contains_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern bool overlaps_set_set(const Set *s1, const Set *s2); -extern bool overlaps_span_span(const Span *s1, const Span *s2); -extern bool overlaps_span_spanset(const Span *s, const SpanSet *ss); -extern bool overlaps_spanset_span(const SpanSet *ss, const Span *s); -extern bool overlaps_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); - -extern bool after_date_set(DateADT d, const Set *s); -extern bool after_date_span(DateADT d, const Span *s); -extern bool after_date_spanset(DateADT d, const SpanSet *ss); -extern bool after_set_date(const Set *s, DateADT d); -extern bool after_set_timestamptz(const Set *s, TimestampTz t); -extern bool after_span_date(const Span *s, DateADT d); -extern bool after_span_timestamptz(const Span *s, TimestampTz t); -extern bool after_spanset_date(const SpanSet *ss, DateADT d); -extern bool after_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern bool after_timestamptz_set(TimestampTz t, const Set *s); -extern bool after_timestamptz_span(TimestampTz t, const Span *s); -extern bool after_timestamptz_spanset(TimestampTz t, const SpanSet *ss); -extern bool before_date_set(DateADT d, const Set *s); -extern bool before_date_span(DateADT d, const Span *s); -extern bool before_date_spanset(DateADT d, const SpanSet *ss); -extern bool before_set_date(const Set *s, DateADT d); -extern bool before_set_timestamptz(const Set *s, TimestampTz t); -extern bool before_span_date(const Span *s, DateADT d); -extern bool before_span_timestamptz(const Span *s, TimestampTz t); -extern bool before_spanset_date(const SpanSet *ss, DateADT d); -extern bool before_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern bool before_timestamptz_set(TimestampTz t, const Set *s); -extern bool before_timestamptz_span(TimestampTz t, const Span *s); -extern bool before_timestamptz_spanset(TimestampTz t, const SpanSet *ss); -extern bool left_bigint_set(int64 i, const Set *s); -extern bool left_bigint_span(int64 i, const Span *s); -extern bool left_bigint_spanset(int64 i, const SpanSet *ss); -extern bool left_float_set(double d, const Set *s); -extern bool left_float_span(double d, const Span *s); -extern bool left_float_spanset(double d, const SpanSet *ss); -extern bool left_int_set(int i, const Set *s); -extern bool left_int_span(int i, const Span *s); -extern bool left_int_spanset(int i, const SpanSet *ss); -extern bool left_set_bigint(const Set *s, int64 i); -extern bool left_set_float(const Set *s, double d); -extern bool left_set_int(const Set *s, int i); -extern bool left_set_set(const Set *s1, const Set *s2); -extern bool left_set_text(const Set *s, text *txt); -extern bool left_span_bigint(const Span *s, int64 i); -extern bool left_span_float(const Span *s, double d); -extern bool left_span_int(const Span *s, int i); -extern bool left_span_span(const Span *s1, const Span *s2); -extern bool left_span_spanset(const Span *s, const SpanSet *ss); -extern bool left_spanset_bigint(const SpanSet *ss, int64 i); -extern bool left_spanset_float(const SpanSet *ss, double d); -extern bool left_spanset_int(const SpanSet *ss, int i); -extern bool left_spanset_span(const SpanSet *ss, const Span *s); -extern bool left_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern bool left_text_set(const text *txt, const Set *s); -extern bool overafter_date_set(DateADT d, const Set *s); -extern bool overafter_date_span(DateADT d, const Span *s); -extern bool overafter_date_spanset(DateADT d, const SpanSet *ss); -extern bool overafter_set_date(const Set *s, DateADT d); -extern bool overafter_set_timestamptz(const Set *s, TimestampTz t); -extern bool overafter_span_date(const Span *s, DateADT d); -extern bool overafter_span_timestamptz(const Span *s, TimestampTz t); -extern bool overafter_spanset_date(const SpanSet *ss, DateADT d); -extern bool overafter_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern bool overafter_timestamptz_set(TimestampTz t, const Set *s); -extern bool overafter_timestamptz_span(TimestampTz t, const Span *s); -extern bool overafter_timestamptz_spanset(TimestampTz t, const SpanSet *ss); -extern bool overbefore_date_set(DateADT d, const Set *s); -extern bool overbefore_date_span(DateADT d, const Span *s); -extern bool overbefore_date_spanset(DateADT d, const SpanSet *ss); -extern bool overbefore_set_date(const Set *s, DateADT d); -extern bool overbefore_set_timestamptz(const Set *s, TimestampTz t); -extern bool overbefore_span_date(const Span *s, DateADT d); -extern bool overbefore_span_timestamptz(const Span *s, TimestampTz t); -extern bool overbefore_spanset_date(const SpanSet *ss, DateADT d); -extern bool overbefore_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern bool overbefore_timestamptz_set(TimestampTz t, const Set *s); -extern bool overbefore_timestamptz_span(TimestampTz t, const Span *s); -extern bool overbefore_timestamptz_spanset(TimestampTz t, const SpanSet *ss); -extern bool overleft_bigint_set(int64 i, const Set *s); -extern bool overleft_bigint_span(int64 i, const Span *s); -extern bool overleft_bigint_spanset(int64 i, const SpanSet *ss); -extern bool overleft_float_set(double d, const Set *s); -extern bool overleft_float_span(double d, const Span *s); -extern bool overleft_float_spanset(double d, const SpanSet *ss); -extern bool overleft_int_set(int i, const Set *s); -extern bool overleft_int_span(int i, const Span *s); -extern bool overleft_int_spanset(int i, const SpanSet *ss); -extern bool overleft_set_bigint(const Set *s, int64 i); -extern bool overleft_set_float(const Set *s, double d); -extern bool overleft_set_int(const Set *s, int i); -extern bool overleft_set_set(const Set *s1, const Set *s2); -extern bool overleft_set_text(const Set *s, text *txt); -extern bool overleft_span_bigint(const Span *s, int64 i); -extern bool overleft_span_float(const Span *s, double d); -extern bool overleft_span_int(const Span *s, int i); -extern bool overleft_span_span(const Span *s1, const Span *s2); -extern bool overleft_span_spanset(const Span *s, const SpanSet *ss); -extern bool overleft_spanset_bigint(const SpanSet *ss, int64 i); -extern bool overleft_spanset_float(const SpanSet *ss, double d); -extern bool overleft_spanset_int(const SpanSet *ss, int i); -extern bool overleft_spanset_span(const SpanSet *ss, const Span *s); -extern bool overleft_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern bool overleft_text_set(const text *txt, const Set *s); -extern bool overright_bigint_set(int64 i, const Set *s); -extern bool overright_bigint_span(int64 i, const Span *s); -extern bool overright_bigint_spanset(int64 i, const SpanSet *ss); -extern bool overright_float_set(double d, const Set *s); -extern bool overright_float_span(double d, const Span *s); -extern bool overright_float_spanset(double d, const SpanSet *ss); -extern bool overright_int_set(int i, const Set *s); -extern bool overright_int_span(int i, const Span *s); -extern bool overright_int_spanset(int i, const SpanSet *ss); -extern bool overright_set_bigint(const Set *s, int64 i); -extern bool overright_set_float(const Set *s, double d); -extern bool overright_set_int(const Set *s, int i); -extern bool overright_set_set(const Set *s1, const Set *s2); -extern bool overright_set_text(const Set *s, text *txt); -extern bool overright_span_bigint(const Span *s, int64 i); -extern bool overright_span_float(const Span *s, double d); -extern bool overright_span_int(const Span *s, int i); -extern bool overright_span_span(const Span *s1, const Span *s2); -extern bool overright_span_spanset(const Span *s, const SpanSet *ss); -extern bool overright_spanset_bigint(const SpanSet *ss, int64 i); -extern bool overright_spanset_float(const SpanSet *ss, double d); -extern bool overright_spanset_int(const SpanSet *ss, int i); -extern bool overright_spanset_span(const SpanSet *ss, const Span *s); -extern bool overright_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern bool overright_text_set(const text *txt, const Set *s); -extern bool right_bigint_set(int64 i, const Set *s); -extern bool right_bigint_span(int64 i, const Span *s); -extern bool right_bigint_spanset(int64 i, const SpanSet *ss); -extern bool right_float_set(double d, const Set *s); -extern bool right_float_span(double d, const Span *s); -extern bool right_float_spanset(double d, const SpanSet *ss); -extern bool right_int_set(int i, const Set *s); -extern bool right_int_span(int i, const Span *s); -extern bool right_int_spanset(int i, const SpanSet *ss); -extern bool right_set_bigint(const Set *s, int64 i); -extern bool right_set_float(const Set *s, double d); -extern bool right_set_int(const Set *s, int i); -extern bool right_set_set(const Set *s1, const Set *s2); -extern bool right_set_text(const Set *s, text *txt); -extern bool right_span_bigint(const Span *s, int64 i); -extern bool right_span_float(const Span *s, double d); -extern bool right_span_int(const Span *s, int i); -extern bool right_span_span(const Span *s1, const Span *s2); -extern bool right_span_spanset(const Span *s, const SpanSet *ss); -extern bool right_spanset_bigint(const SpanSet *ss, int64 i); -extern bool right_spanset_float(const SpanSet *ss, double d); -extern bool right_spanset_int(const SpanSet *ss, int i); -extern bool right_spanset_span(const SpanSet *ss, const Span *s); -extern bool right_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern bool right_text_set(const text *txt, const Set *s); - -extern Set *intersection_bigint_set(int64 i, const Set *s); -extern Set *intersection_date_set(DateADT d, const Set *s); -extern Set *intersection_float_set(double d, const Set *s); -extern Set *intersection_int_set(int i, const Set *s); -extern Set *intersection_set_bigint(const Set *s, int64 i); -extern Set *intersection_set_date(const Set *s, DateADT d); -extern Set *intersection_set_float(const Set *s, double d); -extern Set *intersection_set_int(const Set *s, int i); -extern Set *intersection_set_set(const Set *s1, const Set *s2); -extern Set *intersection_set_text(const Set *s, const text *txt); -extern Set *intersection_set_timestamptz(const Set *s, TimestampTz t); -extern Span *intersection_span_bigint(const Span *s, int64 i); -extern Span *intersection_span_date(const Span *s, DateADT d); -extern Span *intersection_span_float(const Span *s, double d); -extern Span *intersection_span_int(const Span *s, int i); -extern Span *intersection_span_span(const Span *s1, const Span *s2); -extern SpanSet *intersection_span_spanset(const Span *s, const SpanSet *ss); -extern Span *intersection_span_timestamptz(const Span *s, TimestampTz t); -extern SpanSet *intersection_spanset_bigint(const SpanSet *ss, int64 i); -extern SpanSet *intersection_spanset_date(const SpanSet *ss, DateADT d); -extern SpanSet *intersection_spanset_float(const SpanSet *ss, double d); -extern SpanSet *intersection_spanset_int(const SpanSet *ss, int i); -extern SpanSet *intersection_spanset_span(const SpanSet *ss, const Span *s); -extern SpanSet *intersection_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern SpanSet *intersection_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern Set *intersection_text_set(const text *txt, const Set *s); -extern Set *intersection_timestamptz_set(TimestampTz t, const Set *s); -extern Set *minus_bigint_set(int64 i, const Set *s); -extern SpanSet *minus_bigint_span(int64 i, const Span *s); -extern SpanSet *minus_bigint_spanset(int64 i, const SpanSet *ss); -extern Set *minus_date_set(DateADT d, const Set *s); -extern SpanSet *minus_date_span(DateADT d, const Span *s); -extern SpanSet *minus_date_spanset(DateADT d, const SpanSet *ss); -extern Set *minus_float_set(double d, const Set *s); -extern SpanSet *minus_float_span(double d, const Span *s); -extern SpanSet *minus_float_spanset(double d, const SpanSet *ss); -extern Set *minus_int_set(int i, const Set *s); -extern SpanSet *minus_int_span(int i, const Span *s); -extern SpanSet *minus_int_spanset(int i, const SpanSet *ss); -extern Set *minus_set_bigint(const Set *s, int64 i); -extern Set *minus_set_date(const Set *s, DateADT d); -extern Set *minus_set_float(const Set *s, double d); -extern Set *minus_set_int(const Set *s, int i); -extern Set *minus_set_set(const Set *s1, const Set *s2); -extern Set *minus_set_text(const Set *s, const text *txt); -extern Set *minus_set_timestamptz(const Set *s, TimestampTz t); -extern SpanSet *minus_span_bigint(const Span *s, int64 i); -extern SpanSet *minus_span_date(const Span *s, DateADT d); -extern SpanSet *minus_span_float(const Span *s, double d); -extern SpanSet *minus_span_int(const Span *s, int i); -extern SpanSet *minus_span_span(const Span *s1, const Span *s2); -extern SpanSet *minus_span_spanset(const Span *s, const SpanSet *ss); -extern SpanSet *minus_span_timestamptz(const Span *s, TimestampTz t); -extern SpanSet *minus_spanset_bigint(const SpanSet *ss, int64 i); -extern SpanSet *minus_spanset_date(const SpanSet *ss, DateADT d); -extern SpanSet *minus_spanset_float(const SpanSet *ss, double d); -extern SpanSet *minus_spanset_int(const SpanSet *ss, int i); -extern SpanSet *minus_spanset_span(const SpanSet *ss, const Span *s); -extern SpanSet *minus_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern SpanSet *minus_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern Set *minus_text_set(const text *txt, const Set *s); -extern Set *minus_timestamptz_set(TimestampTz t, const Set *s); -extern SpanSet *minus_timestamptz_span(TimestampTz t, const Span *s); -extern SpanSet *minus_timestamptz_spanset(TimestampTz t, const SpanSet *ss); -extern Set *union_bigint_set(int64 i, const Set *s); -extern SpanSet *union_bigint_span(const Span *s, int64 i); -extern SpanSet *union_bigint_spanset(int64 i, SpanSet *ss); -extern Set *union_date_set(DateADT d, const Set *s); -extern SpanSet *union_date_span(const Span *s, DateADT d); -extern SpanSet *union_date_spanset(DateADT d, SpanSet *ss); -extern Set *union_float_set(double d, const Set *s); -extern SpanSet *union_float_span(const Span *s, double d); -extern SpanSet *union_float_spanset(double d, SpanSet *ss); -extern Set *union_int_set(int i, const Set *s); -extern SpanSet *union_int_span(int i, const Span *s); -extern SpanSet *union_int_spanset(int i, SpanSet *ss); -extern Set *union_set_bigint(const Set *s, int64 i); -extern Set *union_set_date(const Set *s, DateADT d); -extern Set *union_set_float(const Set *s, double d); -extern Set *union_set_int(const Set *s, int i); -extern Set *union_set_set(const Set *s1, const Set *s2); -extern Set *union_set_text(const Set *s, const text *txt); -extern Set *union_set_timestamptz(const Set *s, TimestampTz t); -extern SpanSet *union_span_bigint(const Span *s, int64 i); -extern SpanSet *union_span_date(const Span *s, DateADT d); -extern SpanSet *union_span_float(const Span *s, double d); -extern SpanSet *union_span_int(const Span *s, int i); -extern SpanSet *union_span_span(const Span *s1, const Span *s2); -extern SpanSet *union_span_spanset(const Span *s, const SpanSet *ss); -extern SpanSet *union_span_timestamptz(const Span *s, TimestampTz t); -extern SpanSet *union_spanset_bigint(const SpanSet *ss, int64 i); -extern SpanSet *union_spanset_date(const SpanSet *ss, DateADT d); -extern SpanSet *union_spanset_float(const SpanSet *ss, double d); -extern SpanSet *union_spanset_int(const SpanSet *ss, int i); -extern SpanSet *union_spanset_span(const SpanSet *ss, const Span *s); -extern SpanSet *union_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern SpanSet *union_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern Set *union_text_set(const text *txt, const Set *s); -extern Set *union_timestamptz_set(TimestampTz t, const Set *s); -extern SpanSet *union_timestamptz_span(TimestampTz t, const Span *s); -extern SpanSet *union_timestamptz_spanset(TimestampTz t, SpanSet *ss); - -extern int64 distance_bigintset_bigintset(const Set *s1, const Set *s2); -extern int64 distance_bigintspan_bigintspan(const Span *s1, const Span *s2); -extern int64 distance_bigintspanset_bigintspan(const SpanSet *ss, const Span *s); -extern int64 distance_bigintspanset_bigintspanset(const SpanSet *ss1, const SpanSet *ss2); -extern int distance_dateset_dateset(const Set *s1, const Set *s2); -extern int distance_datespan_datespan(const Span *s1, const Span *s2); -extern int distance_datespanset_datespan(const SpanSet *ss, const Span *s); -extern int distance_datespanset_datespanset(const SpanSet *ss1, const SpanSet *ss2); -extern double distance_floatset_floatset(const Set *s1, const Set *s2); -extern double distance_floatspan_floatspan(const Span *s1, const Span *s2); -extern double distance_floatspanset_floatspan(const SpanSet *ss, const Span *s); -extern double distance_floatspanset_floatspanset(const SpanSet *ss1, const SpanSet *ss2); -extern int distance_intset_intset(const Set *s1, const Set *s2); -extern int distance_intspan_intspan(const Span *s1, const Span *s2); -extern int distance_intspanset_intspan(const SpanSet *ss, const Span *s); -extern int distance_intspanset_intspanset(const SpanSet *ss1, const SpanSet *ss2); -extern int64 distance_set_bigint(const Set *s, int64 i); -extern int distance_set_date(const Set *s, DateADT d); -extern double distance_set_float(const Set *s, double d); -extern int distance_set_int(const Set *s, int i); -extern double distance_set_timestamptz(const Set *s, TimestampTz t); -extern int64 distance_span_bigint(const Span *s, int64 i); -extern int distance_span_date(const Span *s, DateADT d); -extern double distance_span_float(const Span *s, double d); -extern int distance_span_int(const Span *s, int i); -extern double distance_span_timestamptz(const Span *s, TimestampTz t); -extern int64 distance_spanset_bigint(const SpanSet *ss, int64 i); -extern int distance_spanset_date(const SpanSet *ss, DateADT d); -extern double distance_spanset_float(const SpanSet *ss, double d); -extern int distance_spanset_int(const SpanSet *ss, int i); -extern double distance_spanset_timestamptz(const SpanSet *ss, TimestampTz t); -extern double distance_tstzset_tstzset(const Set *s1, const Set *s2); -extern double distance_tstzspan_tstzspan(const Span *s1, const Span *s2); -extern double distance_tstzspanset_tstzspan(const SpanSet *ss, const Span *s); -extern double distance_tstzspanset_tstzspanset(const SpanSet *ss1, const SpanSet *ss2); - -extern Span *bigint_extent_transfn(Span *state, int64 i); -extern Set *bigint_union_transfn(Set *state, int64 i); -extern Span *date_extent_transfn(Span *state, DateADT d); -extern Set *date_union_transfn(Set *state, DateADT d); -extern Span *float_extent_transfn(Span *state, double d); -extern Set *float_union_transfn(Set *state, double d); -extern Span *int_extent_transfn(Span *state, int i); -extern Set *int_union_transfn(Set *state, int32 i); -extern Span *set_extent_transfn(Span *state, const Set *s); -extern Set *set_union_finalfn(Set *state); -extern Set *set_union_transfn(Set *state, Set *s); -extern Span *span_extent_transfn(Span *state, const Span *s); -extern SpanSet *span_union_transfn(SpanSet *state, const Span *s); -extern Span *spanset_extent_transfn(Span *state, const SpanSet *ss); -extern SpanSet *spanset_union_finalfn(SpanSet *state); -extern SpanSet *spanset_union_transfn(SpanSet *state, const SpanSet *ss); -extern Set *text_union_transfn(Set *state, const text *txt); -extern Span *timestamptz_extent_transfn(Span *state, TimestampTz t); -extern Set *timestamptz_union_transfn(Set *state, TimestampTz t); - -extern int64 bigint_get_bin(int64 value, int64 vsize, int64 vorigin); -extern Span *bigintspan_bins(const Span *s, int64 vsize, int64 vorigin, int *count); -extern Span *bigintspanset_bins(const SpanSet *ss, int64 vsize, int64 vorigin, int *count); -extern DateADT date_get_bin(DateADT d, const Interval *duration, DateADT torigin); -extern Span *datespan_bins(const Span *s, const Interval *duration, DateADT torigin, int *count); -extern Span *datespanset_bins(const SpanSet *ss, const Interval *duration, DateADT torigin, int *count); -extern double float_get_bin(double value, double vsize, double vorigin); -extern Span *floatspan_bins(const Span *s, double vsize, double vorigin, int *count); -extern Span *floatspanset_bins(const SpanSet *ss, double vsize, double vorigin, int *count); -extern int int_get_bin(int value, int vsize, int vorigin); -extern Span *intspan_bins(const Span *s, int vsize, int vorigin, int *count); -extern Span *intspanset_bins(const SpanSet *ss, int vsize, int vorigin, int *count); -extern TimestampTz timestamptz_get_bin(TimestampTz t, const Interval *duration, TimestampTz torigin); -extern Span *tstzspan_bins(const Span *s, const Interval *duration, TimestampTz origin, int *count); -extern Span *tstzspanset_bins(const SpanSet *ss, const Interval *duration, TimestampTz torigin, int *count); - -extern char *tbox_as_hexwkb(const TBox *box, uint8_t variant, size_t *size); -extern uint8_t *tbox_as_wkb(const TBox *box, uint8_t variant, size_t *size_out); -extern TBox *tbox_from_hexwkb(const char *hexwkb); -extern TBox *tbox_from_wkb(const uint8_t *wkb, size_t size); -extern TBox *tbox_in(const char *str); -extern char *tbox_out(const TBox *box, int maxdd); - -extern TBox *float_timestamptz_to_tbox(double d, TimestampTz t); -extern TBox *float_tstzspan_to_tbox(double d, const Span *s); -extern TBox *int_timestamptz_to_tbox(int i, TimestampTz t); -extern TBox *int_tstzspan_to_tbox(int i, const Span *s); -extern TBox *numspan_tstzspan_to_tbox(const Span *span, const Span *s); -extern TBox *numspan_timestamptz_to_tbox(const Span *span, TimestampTz t); -extern TBox *tbox_copy(const TBox *box); -extern TBox *tbox_make(const Span *s, const Span *p); - -extern TBox *float_to_tbox(double d); -extern TBox *int_to_tbox(int i); -extern TBox *set_to_tbox(const Set *s); -extern TBox *span_to_tbox(const Span *s); -extern TBox *spanset_to_tbox(const SpanSet *ss); -extern Span *tbox_to_intspan(const TBox *box); -extern Span *tbox_to_floatspan(const TBox *box); -extern Span *tbox_to_tstzspan(const TBox *box); -extern TBox *timestamptz_to_tbox(TimestampTz t); - -extern uint32 tbox_hash(const TBox *box); -extern uint64 tbox_hash_extended(const TBox *box, uint64 seed); -extern bool tbox_hast(const TBox *box); -extern bool tbox_hasx(const TBox *box); -extern bool tbox_tmax(const TBox *box, TimestampTz *result); -extern bool tbox_tmax_inc(const TBox *box, bool *result); -extern bool tbox_tmin(const TBox *box, TimestampTz *result); -extern bool tbox_tmin_inc(const TBox *box, bool *result); -extern bool tbox_xmax(const TBox *box, double *result); -extern bool tbox_xmax_inc(const TBox *box, bool *result); -extern bool tbox_xmin(const TBox *box, double *result); -extern bool tbox_xmin_inc(const TBox *box, bool *result); -extern bool tboxfloat_xmax(const TBox *box, double *result); -extern bool tboxfloat_xmin(const TBox *box, double *result); -extern bool tboxint_xmax(const TBox *box, int *result); -extern bool tboxint_xmin(const TBox *box, int *result); - -extern TBox *tbox_expand_time(const TBox *box, const Interval *interv); -extern TBox *tbox_round(const TBox *box, int maxdd); -extern TBox *tbox_shift_scale_time(const TBox *box, const Interval *shift, const Interval *duration); -extern TBox *tfloatbox_expand(const TBox *box, double d); -extern TBox *tfloatbox_shift_scale(const TBox *box, double shift, double width, bool hasshift, bool haswidth); -extern TBox *tintbox_expand(const TBox *box, int i); -extern TBox *tintbox_shift_scale(const TBox *box, int shift, int width, bool hasshift, bool haswidth); - -extern TBox *union_tbox_tbox(const TBox *box1, const TBox *box2, bool strict); -extern TBox *intersection_tbox_tbox(const TBox *box1, const TBox *box2); - -extern bool adjacent_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool contained_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool contains_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool overlaps_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool same_tbox_tbox(const TBox *box1, const TBox *box2); - -extern bool after_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool before_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool left_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool overafter_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool overbefore_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool overleft_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool overright_tbox_tbox(const TBox *box1, const TBox *box2); -extern bool right_tbox_tbox(const TBox *box1, const TBox *box2); - -extern int tbox_cmp(const TBox *box1, const TBox *box2); -extern bool tbox_eq(const TBox *box1, const TBox *box2); -extern bool tbox_ge(const TBox *box1, const TBox *box2); -extern bool tbox_gt(const TBox *box1, const TBox *box2); -extern bool tbox_le(const TBox *box1, const TBox *box2); -extern bool tbox_lt(const TBox *box1, const TBox *box2); -extern bool tbox_ne(const TBox *box1, const TBox *box2); - -extern Temporal *tbool_from_mfjson(const char *str); -extern Temporal *tbool_in(const char *str); -extern char *tbool_out(const Temporal *temp); -extern char *temporal_as_hexwkb(const Temporal *temp, uint8_t variant, size_t *size_out); -extern char *temporal_as_mfjson(const Temporal *temp, bool with_bbox, int flags, int precision, const char *srs); -extern uint8_t *temporal_as_wkb(const Temporal *temp, uint8_t variant, size_t *size_out); -extern Temporal *temporal_from_hexwkb(const char *hexwkb); -extern Temporal *temporal_from_wkb(const uint8_t *wkb, size_t size); -extern Temporal *tfloat_from_mfjson(const char *str); -extern Temporal *tfloat_in(const char *str); -extern char *tfloat_out(const Temporal *temp, int maxdd); -extern Temporal *tint_from_mfjson(const char *str); -extern Temporal *tint_in(const char *str); -extern char *tint_out(const Temporal *temp); -extern Temporal *ttext_from_mfjson(const char *str); -extern Temporal *ttext_in(const char *str); -extern char *ttext_out(const Temporal *temp); - -extern Temporal *tbool_from_base_temp(bool b, const Temporal *temp); -extern TInstant *tboolinst_make(bool b, TimestampTz t); -extern TSequence *tboolseq_from_base_tstzset(bool b, const Set *s); -extern TSequence *tboolseq_from_base_tstzspan(bool b, const Span *s); -extern TSequenceSet *tboolseqset_from_base_tstzspanset(bool b, const SpanSet *ss); -extern Temporal *temporal_copy(const Temporal *temp); -extern Temporal *tfloat_from_base_temp(double d, const Temporal *temp); -extern TInstant *tfloatinst_make(double d, TimestampTz t); -extern TSequence *tfloatseq_from_base_tstzset(double d, const Set *s); -extern TSequence *tfloatseq_from_base_tstzspan(double d, const Span *s, interpType interp); -extern TSequenceSet *tfloatseqset_from_base_tstzspanset(double d, const SpanSet *ss, interpType interp); -extern Temporal *tint_from_base_temp(int i, const Temporal *temp); -extern TInstant *tintinst_make(int i, TimestampTz t); -extern TSequence *tintseq_from_base_tstzset(int i, const Set *s); -extern TSequence *tintseq_from_base_tstzspan(int i, const Span *s); -extern TSequenceSet *tintseqset_from_base_tstzspanset(int i, const SpanSet *ss); -extern TSequence *tsequence_make(TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize); -extern TSequenceSet *tsequenceset_make(TSequence **sequences, int count, bool normalize); -extern TSequenceSet *tsequenceset_make_gaps(TInstant **instants, int count, interpType interp, const Interval *maxt, double maxdist); -extern Temporal *ttext_from_base_temp(const text *txt, const Temporal *temp); -extern TInstant *ttextinst_make(const text *txt, TimestampTz t); -extern TSequence *ttextseq_from_base_tstzset(const text *txt, const Set *s); -extern TSequence *ttextseq_from_base_tstzspan(const text *txt, const Span *s); -extern TSequenceSet *ttextseqset_from_base_tstzspanset(const text *txt, const SpanSet *ss); - -extern Temporal *tbool_to_tint(const Temporal *temp); -extern Span *temporal_to_tstzspan(const Temporal *temp); -extern Temporal *tfloat_to_tint(const Temporal *temp); -extern Temporal *tint_to_tfloat(const Temporal *temp); -extern Span *tnumber_to_span(const Temporal *temp); -extern TBox *tnumber_to_tbox (const Temporal *temp); - -extern bool tbool_end_value(const Temporal *temp); -extern bool tbool_start_value(const Temporal *temp); -extern bool tbool_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, bool *value); -extern bool tbool_value_n(const Temporal *temp, int n, bool *result); -extern bool *tbool_values(const Temporal *temp, int *count); -extern Interval *temporal_duration(const Temporal *temp, bool boundspan); -extern TInstant *temporal_end_instant(const Temporal *temp); -extern TSequence *temporal_end_sequence(const Temporal *temp); -extern TimestampTz temporal_end_timestamptz(const Temporal *temp); -extern uint32 temporal_hash(const Temporal *temp); -extern TInstant *temporal_instant_n(const Temporal *temp, int n); -extern TInstant **temporal_instants(const Temporal *temp, int *count); -extern const char *temporal_interp(const Temporal *temp); -extern bool temporal_lower_inc(const Temporal *temp); -extern TInstant *temporal_max_instant(const Temporal *temp); -extern TInstant *temporal_min_instant(const Temporal *temp); -extern int temporal_num_instants(const Temporal *temp); -extern int temporal_num_sequences(const Temporal *temp); -extern int temporal_num_timestamps(const Temporal *temp); -extern TSequenceSet *temporal_segm_duration(const Temporal *temp, const Interval *duration, bool atleast, bool strict); -extern TSequence **temporal_segments(const Temporal *temp, int *count); -extern TSequence *temporal_sequence_n(const Temporal *temp, int i); -extern TSequence **temporal_sequences(const Temporal *temp, int *count); -extern TInstant *temporal_start_instant(const Temporal *temp); -extern TSequence *temporal_start_sequence(const Temporal *temp); -extern TimestampTz temporal_start_timestamptz(const Temporal *temp); -extern TSequenceSet *temporal_stops(const Temporal *temp, double maxdist, const Interval *minduration); -extern const char *temporal_subtype(const Temporal *temp); -extern SpanSet *temporal_time(const Temporal *temp); -extern TimestampTz *temporal_timestamps(const Temporal *temp, int *count); -extern bool temporal_timestamptz_n(const Temporal *temp, int n, TimestampTz *result); -extern bool temporal_upper_inc(const Temporal *temp); -/* extern double tfloat_avg_value(const Temporal *temp); (undefined) */ -extern double tfloat_end_value(const Temporal *temp); -extern double tfloat_min_value(const Temporal *temp); -extern double tfloat_max_value(const Temporal *temp); -extern double tfloat_start_value(const Temporal *temp); -extern bool tfloat_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, double *value); -extern bool tfloat_value_n(const Temporal *temp, int n, double *result); -extern double *tfloat_values(const Temporal *temp, int *count); -extern int tint_end_value(const Temporal *temp); -extern int tint_max_value(const Temporal *temp); -extern int tint_min_value(const Temporal *temp); -extern int tint_start_value(const Temporal *temp); -extern bool tint_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, int *value); -extern bool tint_value_n(const Temporal *temp, int n, int *result); -extern int *tint_values(const Temporal *temp, int *count); -extern double tnumber_avg_value(const Temporal *temp); -extern double tnumber_integral(const Temporal *temp); -extern double tnumber_twavg(const Temporal *temp); -extern SpanSet *tnumber_valuespans(const Temporal *temp); -extern text *ttext_end_value(const Temporal *temp); -extern text *ttext_max_value(const Temporal *temp); -extern text *ttext_min_value(const Temporal *temp); -extern text *ttext_start_value(const Temporal *temp); -extern bool ttext_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, text **value); -extern bool ttext_value_n(const Temporal *temp, int n, text **result); -extern text **ttext_values(const Temporal *temp, int *count); - -extern double float_degrees(double value, bool normalize); -extern Temporal **temparr_round(Temporal **temp, int count, int maxdd); -extern Temporal *temporal_round(const Temporal *temp, int maxdd); -extern Temporal *temporal_scale_time(const Temporal *temp, const Interval *duration); -extern Temporal *temporal_set_interp(const Temporal *temp, interpType interp); -extern Temporal *temporal_shift_scale_time(const Temporal *temp, const Interval *shift, const Interval *duration); -extern Temporal *temporal_shift_time(const Temporal *temp, const Interval *shift); -extern TInstant *temporal_to_tinstant(const Temporal *temp); -extern TSequence *temporal_to_tsequence(const Temporal *temp, interpType interp); -extern TSequenceSet *temporal_to_tsequenceset(const Temporal *temp, interpType interp); -extern Temporal *tfloat_ceil(const Temporal *temp); -extern Temporal *tfloat_degrees(const Temporal *temp, bool normalize); -extern Temporal *tfloat_floor(const Temporal *temp); -extern Temporal *tfloat_radians(const Temporal *temp); -extern Temporal *tfloat_scale_value(const Temporal *temp, double width); -extern Temporal *tfloat_shift_scale_value(const Temporal *temp, double shift, double width); -extern Temporal *tfloat_shift_value(const Temporal *temp, double shift); -extern Temporal *tint_scale_value(const Temporal *temp, int width); -extern Temporal *tint_shift_scale_value(const Temporal *temp, int shift, int width); -extern Temporal *tint_shift_value(const Temporal *temp, int shift); - -extern Temporal *temporal_append_tinstant(Temporal *temp, const TInstant *inst, interpType interp, double maxdist, const Interval *maxt, bool expand); -extern Temporal *temporal_append_tsequence(Temporal *temp, const TSequence *seq, bool expand); -extern Temporal *temporal_delete_timestamptz(const Temporal *temp, TimestampTz t, bool connect); -extern Temporal *temporal_delete_tstzset(const Temporal *temp, const Set *s, bool connect); -extern Temporal *temporal_delete_tstzspan(const Temporal *temp, const Span *s, bool connect); -extern Temporal *temporal_delete_tstzspanset(const Temporal *temp, const SpanSet *ss, bool connect); -extern Temporal *temporal_insert(const Temporal *temp1, const Temporal *temp2, bool connect); -extern Temporal *temporal_merge(const Temporal *temp1, const Temporal *temp2); -extern Temporal *temporal_merge_array(Temporal **temparr, int count); -extern Temporal *temporal_update(const Temporal *temp1, const Temporal *temp2, bool connect); - -extern Temporal *tbool_at_value(const Temporal *temp, bool b); -extern Temporal *tbool_minus_value(const Temporal *temp, bool b); -extern Temporal *temporal_after_timestamptz(const Temporal *temp, TimestampTz t, bool strict); -extern Temporal *temporal_at_max(const Temporal *temp); -extern Temporal *temporal_at_min(const Temporal *temp); -extern Temporal *temporal_at_timestamptz(const Temporal *temp, TimestampTz t); -extern Temporal *temporal_at_tstzset(const Temporal *temp, const Set *s); -extern Temporal *temporal_at_tstzspan(const Temporal *temp, const Span *s); -extern Temporal *temporal_at_tstzspanset(const Temporal *temp, const SpanSet *ss); -extern Temporal *temporal_at_values(const Temporal *temp, const Set *set); -extern Temporal *temporal_before_timestamptz(const Temporal *temp, TimestampTz t, bool strict); -extern Temporal *temporal_minus_max(const Temporal *temp); -extern Temporal *temporal_minus_min(const Temporal *temp); -extern Temporal *temporal_minus_timestamptz(const Temporal *temp, TimestampTz t); -extern Temporal *temporal_minus_tstzset(const Temporal *temp, const Set *s); -extern Temporal *temporal_minus_tstzspan(const Temporal *temp, const Span *s); -extern Temporal *temporal_minus_tstzspanset(const Temporal *temp, const SpanSet *ss); -extern Temporal *temporal_minus_values(const Temporal *temp, const Set *set); -extern Temporal *tfloat_at_value(const Temporal *temp, double d); -extern Temporal *tfloat_minus_value(const Temporal *temp, double d); -extern Temporal *tint_at_value(const Temporal *temp, int i); -extern Temporal *tint_minus_value(const Temporal *temp, int i); -extern Temporal *tnumber_at_span(const Temporal *temp, const Span *span); -extern Temporal *tnumber_at_spanset(const Temporal *temp, const SpanSet *ss); -extern Temporal *tnumber_at_tbox(const Temporal *temp, const TBox *box); -extern Temporal *tnumber_minus_span(const Temporal *temp, const Span *span); -extern Temporal *tnumber_minus_spanset(const Temporal *temp, const SpanSet *ss); -extern Temporal *tnumber_minus_tbox(const Temporal *temp, const TBox *box); -extern Temporal *ttext_at_value(const Temporal *temp, text *txt); -extern Temporal *ttext_minus_value(const Temporal *temp, text *txt); - -extern int temporal_cmp(const Temporal *temp1, const Temporal *temp2); -extern bool temporal_eq(const Temporal *temp1, const Temporal *temp2); -extern bool temporal_ge(const Temporal *temp1, const Temporal *temp2); -extern bool temporal_gt(const Temporal *temp1, const Temporal *temp2); -extern bool temporal_le(const Temporal *temp1, const Temporal *temp2); -extern bool temporal_lt(const Temporal *temp1, const Temporal *temp2); -extern bool temporal_ne(const Temporal *temp1, const Temporal *temp2); - -extern int always_eq_bool_tbool(bool b, const Temporal *temp); -extern int always_eq_float_tfloat(double d, const Temporal *temp); -extern int always_eq_int_tint(int i, const Temporal *temp); -extern int always_eq_tbool_bool(const Temporal *temp, bool b); -extern int always_eq_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int always_eq_text_ttext(const text *txt, const Temporal *temp); -extern int always_eq_tfloat_float(const Temporal *temp, double d); -extern int always_eq_tint_int(const Temporal *temp, int i); -extern int always_eq_ttext_text(const Temporal *temp, const text *txt); -extern int always_ge_float_tfloat(double d, const Temporal *temp); -extern int always_ge_int_tint(int i, const Temporal *temp); -extern int always_ge_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int always_ge_text_ttext(const text *txt, const Temporal *temp); -extern int always_ge_tfloat_float(const Temporal *temp, double d); -extern int always_ge_tint_int(const Temporal *temp, int i); -extern int always_ge_ttext_text(const Temporal *temp, const text *txt); -extern int always_gt_float_tfloat(double d, const Temporal *temp); -extern int always_gt_int_tint(int i, const Temporal *temp); -extern int always_gt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int always_gt_text_ttext(const text *txt, const Temporal *temp); -extern int always_gt_tfloat_float(const Temporal *temp, double d); -extern int always_gt_tint_int(const Temporal *temp, int i); -extern int always_gt_ttext_text(const Temporal *temp, const text *txt); -extern int always_le_float_tfloat(double d, const Temporal *temp); -extern int always_le_int_tint(int i, const Temporal *temp); -extern int always_le_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int always_le_text_ttext(const text *txt, const Temporal *temp); -extern int always_le_tfloat_float(const Temporal *temp, double d); -extern int always_le_tint_int(const Temporal *temp, int i); -extern int always_le_ttext_text(const Temporal *temp, const text *txt); -extern int always_lt_float_tfloat(double d, const Temporal *temp); -extern int always_lt_int_tint(int i, const Temporal *temp); -extern int always_lt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int always_lt_text_ttext(const text *txt, const Temporal *temp); -extern int always_lt_tfloat_float(const Temporal *temp, double d); -extern int always_lt_tint_int(const Temporal *temp, int i); -extern int always_lt_ttext_text(const Temporal *temp, const text *txt); -extern int always_ne_bool_tbool(bool b, const Temporal *temp); -extern int always_ne_float_tfloat(double d, const Temporal *temp); -extern int always_ne_int_tint(int i, const Temporal *temp); -extern int always_ne_tbool_bool(const Temporal *temp, bool b); -extern int always_ne_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int always_ne_text_ttext(const text *txt, const Temporal *temp); -extern int always_ne_tfloat_float(const Temporal *temp, double d); -extern int always_ne_tint_int(const Temporal *temp, int i); -extern int always_ne_ttext_text(const Temporal *temp, const text *txt); -extern int ever_eq_bool_tbool(bool b, const Temporal *temp); -extern int ever_eq_float_tfloat(double d, const Temporal *temp); -extern int ever_eq_int_tint(int i, const Temporal *temp); -extern int ever_eq_tbool_bool(const Temporal *temp, bool b); -extern int ever_eq_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int ever_eq_text_ttext(const text *txt, const Temporal *temp); -extern int ever_eq_tfloat_float(const Temporal *temp, double d); -extern int ever_eq_tint_int(const Temporal *temp, int i); -extern int ever_eq_ttext_text(const Temporal *temp, const text *txt); -extern int ever_ge_float_tfloat(double d, const Temporal *temp); -extern int ever_ge_int_tint(int i, const Temporal *temp); -extern int ever_ge_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int ever_ge_text_ttext(const text *txt, const Temporal *temp); -extern int ever_ge_tfloat_float(const Temporal *temp, double d); -extern int ever_ge_tint_int(const Temporal *temp, int i); -extern int ever_ge_ttext_text(const Temporal *temp, const text *txt); -extern int ever_gt_float_tfloat(double d, const Temporal *temp); -extern int ever_gt_int_tint(int i, const Temporal *temp); -extern int ever_gt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int ever_gt_text_ttext(const text *txt, const Temporal *temp); -extern int ever_gt_tfloat_float(const Temporal *temp, double d); -extern int ever_gt_tint_int(const Temporal *temp, int i); -extern int ever_gt_ttext_text(const Temporal *temp, const text *txt); -extern int ever_le_float_tfloat(double d, const Temporal *temp); -extern int ever_le_int_tint(int i, const Temporal *temp); -extern int ever_le_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int ever_le_text_ttext(const text *txt, const Temporal *temp); -extern int ever_le_tfloat_float(const Temporal *temp, double d); -extern int ever_le_tint_int(const Temporal *temp, int i); -extern int ever_le_ttext_text(const Temporal *temp, const text *txt); -extern int ever_lt_float_tfloat(double d, const Temporal *temp); -extern int ever_lt_int_tint(int i, const Temporal *temp); -extern int ever_lt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int ever_lt_text_ttext(const text *txt, const Temporal *temp); -extern int ever_lt_tfloat_float(const Temporal *temp, double d); -extern int ever_lt_tint_int(const Temporal *temp, int i); -extern int ever_lt_ttext_text(const Temporal *temp, const text *txt); -extern int ever_ne_bool_tbool(bool b, const Temporal *temp); -extern int ever_ne_float_tfloat(double d, const Temporal *temp); -extern int ever_ne_int_tint(int i, const Temporal *temp); -extern int ever_ne_tbool_bool(const Temporal *temp, bool b); -extern int ever_ne_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern int ever_ne_text_ttext(const text *txt, const Temporal *temp); -extern int ever_ne_tfloat_float(const Temporal *temp, double d); -extern int ever_ne_tint_int(const Temporal *temp, int i); -extern int ever_ne_ttext_text(const Temporal *temp, const text *txt); - -extern Temporal *teq_bool_tbool(bool b, const Temporal *temp); -extern Temporal *teq_float_tfloat(double d, const Temporal *temp); -extern Temporal *teq_int_tint(int i, const Temporal *temp); -extern Temporal *teq_tbool_bool(const Temporal *temp, bool b); -extern Temporal *teq_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern Temporal *teq_text_ttext(const text *txt, const Temporal *temp); -extern Temporal *teq_tfloat_float(const Temporal *temp, double d); -extern Temporal *teq_tint_int(const Temporal *temp, int i); -extern Temporal *teq_ttext_text(const Temporal *temp, const text *txt); -extern Temporal *tge_float_tfloat(double d, const Temporal *temp); -extern Temporal *tge_int_tint(int i, const Temporal *temp); -extern Temporal *tge_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern Temporal *tge_text_ttext(const text *txt, const Temporal *temp); -extern Temporal *tge_tfloat_float(const Temporal *temp, double d); -extern Temporal *tge_tint_int(const Temporal *temp, int i); -extern Temporal *tge_ttext_text(const Temporal *temp, const text *txt); -extern Temporal *tgt_float_tfloat(double d, const Temporal *temp); -extern Temporal *tgt_int_tint(int i, const Temporal *temp); -extern Temporal *tgt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern Temporal *tgt_text_ttext(const text *txt, const Temporal *temp); -extern Temporal *tgt_tfloat_float(const Temporal *temp, double d); -extern Temporal *tgt_tint_int(const Temporal *temp, int i); -extern Temporal *tgt_ttext_text(const Temporal *temp, const text *txt); -extern Temporal *tle_float_tfloat(double d, const Temporal *temp); -extern Temporal *tle_int_tint(int i, const Temporal *temp); -extern Temporal *tle_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern Temporal *tle_text_ttext(const text *txt, const Temporal *temp); -extern Temporal *tle_tfloat_float(const Temporal *temp, double d); -extern Temporal *tle_tint_int(const Temporal *temp, int i); -extern Temporal *tle_ttext_text(const Temporal *temp, const text *txt); -extern Temporal *tlt_float_tfloat(double d, const Temporal *temp); -extern Temporal *tlt_int_tint(int i, const Temporal *temp); -extern Temporal *tlt_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern Temporal *tlt_text_ttext(const text *txt, const Temporal *temp); -extern Temporal *tlt_tfloat_float(const Temporal *temp, double d); -extern Temporal *tlt_tint_int(const Temporal *temp, int i); -extern Temporal *tlt_ttext_text(const Temporal *temp, const text *txt); -extern Temporal *tne_bool_tbool(bool b, const Temporal *temp); -extern Temporal *tne_float_tfloat(double d, const Temporal *temp); -extern Temporal *tne_int_tint(int i, const Temporal *temp); -extern Temporal *tne_tbool_bool(const Temporal *temp, bool b); -extern Temporal *tne_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern Temporal *tne_text_ttext(const text *txt, const Temporal *temp); -extern Temporal *tne_tfloat_float(const Temporal *temp, double d); -extern Temporal *tne_tint_int(const Temporal *temp, int i); -extern Temporal *tne_ttext_text(const Temporal *temp, const text *txt); - -extern Span *temporal_spans(const Temporal *temp, int *count); -extern Span *temporal_split_each_n_spans(const Temporal *temp, int elem_count, int *count); -extern Span *temporal_split_n_spans(const Temporal *temp, int span_count, int *count); -extern TBox *tnumber_split_each_n_tboxes(const Temporal *temp, int elem_count, int *count); -extern TBox *tnumber_split_n_tboxes(const Temporal *temp, int box_count, int *count); -extern TBox *tnumber_tboxes(const Temporal *temp, int *count); - -extern bool adjacent_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool adjacent_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool adjacent_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool adjacent_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool adjacent_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool adjacent_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool adjacent_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool adjacent_tstzspan_temporal(const Span *s, const Temporal *temp); -extern bool contained_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool contained_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool contained_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool contained_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool contained_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool contained_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool contained_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool contained_tstzspan_temporal(const Span *s, const Temporal *temp); -extern bool contains_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool contains_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool contains_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool contains_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool contains_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool contains_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool contains_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool contains_tstzspan_temporal(const Span *s, const Temporal *temp); -extern bool overlaps_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool overlaps_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool overlaps_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool overlaps_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool overlaps_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool overlaps_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool overlaps_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool overlaps_tstzspan_temporal(const Span *s, const Temporal *temp); -extern bool same_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool same_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool same_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool same_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool same_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool same_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool same_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool same_tstzspan_temporal(const Span *s, const Temporal *temp); - -extern bool after_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool after_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool after_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool after_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool after_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool after_tstzspan_temporal(const Span *s, const Temporal *temp); -extern bool before_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool before_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool before_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool before_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool before_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool before_tstzspan_temporal(const Span *s, const Temporal *temp); -extern bool left_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool left_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool left_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool left_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool left_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool overafter_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool overafter_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool overafter_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool overafter_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool overafter_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool overafter_tstzspan_temporal(const Span *s, const Temporal *temp); -extern bool overbefore_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool overbefore_temporal_tstzspan(const Temporal *temp, const Span *s); -extern bool overbefore_temporal_temporal(const Temporal *temp1, const Temporal *temp2); -extern bool overbefore_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool overbefore_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool overbefore_tstzspan_temporal(const Span *s, const Temporal *temp); -extern bool overleft_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool overleft_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool overleft_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool overleft_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool overleft_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool overright_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool overright_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool overright_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool overright_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool overright_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern bool right_numspan_tnumber(const Span *s, const Temporal *temp); -extern bool right_tbox_tnumber(const TBox *box, const Temporal *temp); -extern bool right_tnumber_numspan(const Temporal *temp, const Span *s); -extern bool right_tnumber_tbox(const Temporal *temp, const TBox *box); -extern bool right_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); - -extern Temporal *tand_bool_tbool(bool b, const Temporal *temp); -extern Temporal *tand_tbool_bool(const Temporal *temp, bool b); -extern Temporal *tand_tbool_tbool(const Temporal *temp1, const Temporal *temp2); -extern SpanSet *tbool_when_true(const Temporal *temp); -extern Temporal *tnot_tbool(const Temporal *temp); -extern Temporal *tor_bool_tbool(bool b, const Temporal *temp); -extern Temporal *tor_tbool_bool(const Temporal *temp, bool b); -extern Temporal *tor_tbool_tbool(const Temporal *temp1, const Temporal *temp2); - -extern Temporal *add_float_tfloat(double d, const Temporal *tnumber); -extern Temporal *add_int_tint(int i, const Temporal *tnumber); -extern Temporal *add_tfloat_float(const Temporal *tnumber, double d); -extern Temporal *add_tint_int(const Temporal *tnumber, int i); -extern Temporal *add_tnumber_tnumber(const Temporal *tnumber1, const Temporal *tnumber2); -extern Temporal *div_float_tfloat(double d, const Temporal *tnumber); -extern Temporal *div_int_tint(int i, const Temporal *tnumber); -extern Temporal *div_tfloat_float(const Temporal *tnumber, double d); -extern Temporal *div_tint_int(const Temporal *tnumber, int i); -extern Temporal *div_tnumber_tnumber(const Temporal *tnumber1, const Temporal *tnumber2); -extern Temporal *mult_float_tfloat(double d, const Temporal *tnumber); -extern Temporal *mult_int_tint(int i, const Temporal *tnumber); -extern Temporal *mult_tfloat_float(const Temporal *tnumber, double d); -extern Temporal *mult_tint_int(const Temporal *tnumber, int i); -extern Temporal *mult_tnumber_tnumber(const Temporal *tnumber1, const Temporal *tnumber2); -extern Temporal *sub_float_tfloat(double d, const Temporal *tnumber); -extern Temporal *sub_int_tint(int i, const Temporal *tnumber); -extern Temporal *sub_tfloat_float(const Temporal *tnumber, double d); -extern Temporal *sub_tint_int(const Temporal *tnumber, int i); -extern Temporal *sub_tnumber_tnumber(const Temporal *tnumber1, const Temporal *tnumber2); -extern Temporal *temporal_derivative(const Temporal *temp); -extern Temporal *tfloat_exp(const Temporal *temp); -extern Temporal *tfloat_ln(const Temporal *temp); -extern Temporal *tfloat_log10(const Temporal *temp); -extern Temporal *tnumber_abs(const Temporal *temp); -extern Temporal *tnumber_trend(const Temporal *temp); -extern double float_angular_difference(double degrees1, double degrees2); -extern Temporal *tnumber_angular_difference(const Temporal *temp); -extern Temporal *tnumber_delta_value(const Temporal *temp); - -extern Temporal *textcat_text_ttext(const text *txt, const Temporal *temp); -extern Temporal *textcat_ttext_text(const Temporal *temp, const text *txt); -extern Temporal *textcat_ttext_ttext(const Temporal *temp1, const Temporal *temp2); -extern Temporal *ttext_initcap(const Temporal *temp); -extern Temporal *ttext_upper(const Temporal *temp); -extern Temporal *ttext_lower(const Temporal *temp); - -extern Temporal *tdistance_tfloat_float(const Temporal *temp, double d); -extern Temporal *tdistance_tint_int(const Temporal *temp, int i); -extern Temporal *tdistance_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); -extern double nad_tboxfloat_tboxfloat(const TBox *box1, const TBox *box2); -extern int nad_tboxint_tboxint(const TBox *box1, const TBox *box2); -extern double nad_tfloat_float(const Temporal *temp, double d); -extern double nad_tfloat_tfloat(const Temporal *temp1, const Temporal *temp2); -extern double nad_tfloat_tbox(const Temporal *temp, const TBox *box); -extern int nad_tint_int(const Temporal *temp, int i); -extern int nad_tint_tbox(const Temporal *temp, const TBox *box); -extern int nad_tint_tint(const Temporal *temp1, const Temporal *temp2); - -extern SkipList *tbool_tand_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tbool_tor_transfn(SkipList *state, const Temporal *temp); -extern Span *temporal_extent_transfn(Span *s, const Temporal *temp); -extern Temporal *temporal_tagg_finalfn(SkipList *state); -extern SkipList *temporal_tcount_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tfloat_tmax_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tfloat_tmin_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tfloat_tsum_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tfloat_wmax_transfn(SkipList *state, const Temporal *temp, const Interval *interv); -extern SkipList *tfloat_wmin_transfn(SkipList *state, const Temporal *temp, const Interval *interv); -extern SkipList *tfloat_wsum_transfn(SkipList *state, const Temporal *temp, const Interval *interv); -extern SkipList *timestamptz_tcount_transfn(SkipList *state, TimestampTz t); -extern SkipList *tint_tmax_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tint_tmin_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tint_tsum_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tint_wmax_transfn(SkipList *state, const Temporal *temp, const Interval *interv); -extern SkipList *tint_wmin_transfn(SkipList *state, const Temporal *temp, const Interval *interv); -extern SkipList *tint_wsum_transfn(SkipList *state, const Temporal *temp, const Interval *interv); -extern TBox *tnumber_extent_transfn(TBox *box, const Temporal *temp); -extern Temporal *tnumber_tavg_finalfn(SkipList *state); -extern SkipList *tnumber_tavg_transfn(SkipList *state, const Temporal *temp); -extern SkipList *tnumber_wavg_transfn(SkipList *state, const Temporal *temp, const Interval *interv); -extern SkipList *tstzset_tcount_transfn(SkipList *state, const Set *s); -extern SkipList *tstzspan_tcount_transfn(SkipList *state, const Span *s); -extern SkipList *tstzspanset_tcount_transfn(SkipList *state, const SpanSet *ss); -extern SkipList *ttext_tmax_transfn(SkipList *state, const Temporal *temp); -extern SkipList *ttext_tmin_transfn(SkipList *state, const Temporal *temp); - -extern Temporal *temporal_simplify_dp(const Temporal *temp, double eps_dist, bool synchronized); -extern Temporal *temporal_simplify_max_dist(const Temporal *temp, double eps_dist, bool synchronized); -extern Temporal *temporal_simplify_min_dist(const Temporal *temp, double dist); -extern Temporal *temporal_simplify_min_tdelta(const Temporal *temp, const Interval *mint); - -extern Temporal *temporal_tprecision(const Temporal *temp, const Interval *duration, TimestampTz origin); -extern Temporal *temporal_tsample(const Temporal *temp, const Interval *duration, TimestampTz origin, interpType interp); - -extern double temporal_dyntimewarp_distance(const Temporal *temp1, const Temporal *temp2); -extern Match *temporal_dyntimewarp_path(const Temporal *temp1, const Temporal *temp2, int *count); -extern double temporal_frechet_distance(const Temporal *temp1, const Temporal *temp2); -extern Match *temporal_frechet_path(const Temporal *temp1, const Temporal *temp2, int *count); -extern double temporal_hausdorff_distance(const Temporal *temp1, const Temporal *temp2); - -extern Span *temporal_time_bins(const Temporal *temp, const Interval *duration, TimestampTz origin, int *count); -extern Temporal **temporal_time_split(const Temporal *temp, const Interval *duration, TimestampTz torigin, TimestampTz **time_bins, int *count); -extern TBox *tfloat_time_boxes(const Temporal *temp, const Interval *duration, TimestampTz torigin, int *count); -extern Span *tfloat_value_bins(const Temporal *temp, double vsize, double vorigin, int *count); -extern TBox *tfloat_value_boxes(const Temporal *temp, double vsize, double vorigin, int *count); -extern Temporal **tfloat_value_split(const Temporal *temp, double size, double origin, double **bins, int *count); -extern TBox *tfloat_value_time_boxes(const Temporal *temp, double vsize, const Interval *duration, double vorigin, TimestampTz torigin, int *count); -extern Temporal **tfloat_value_time_split(const Temporal *temp, double vsize, const Interval *duration, double vorigin, TimestampTz torigin, double **value_bins, TimestampTz **time_bins, int *count); -extern TBox *tfloatbox_time_tiles(const TBox *box, const Interval *duration, TimestampTz torigin, int *count); -extern TBox *tfloatbox_value_tiles(const TBox *box, double vsize, double vorigin, int *count); -extern TBox *tfloatbox_value_time_tiles(const TBox *box, double vsize, const Interval *duration, double vorigin, TimestampTz torigin, int *count); -extern TBox *tint_time_boxes(const Temporal *temp, const Interval *duration, TimestampTz torigin, int *count); -extern Span *tint_value_bins(const Temporal *temp, int vsize, int vorigin, int *count); -extern TBox *tint_value_boxes(const Temporal *temp, int vsize, int vorigin, int *count); -extern Temporal **tint_value_split(const Temporal *temp, int vsize, int vorigin, int **bins, int *count); -extern TBox *tint_value_time_boxes(const Temporal *temp, int vsize, const Interval *duration, int vorigin, TimestampTz torigin, int *count); -extern Temporal **tint_value_time_split(const Temporal *temp, int size, const Interval *duration, int vorigin, TimestampTz torigin, int **value_bins, TimestampTz **time_bins, int *count); -extern TBox *tintbox_time_tiles(const TBox *box, const Interval *duration, TimestampTz torigin, int *count); -extern TBox *tintbox_value_tiles(const TBox *box, int xsize, int xorigin, int *count); -extern TBox *tintbox_value_time_tiles(const TBox *box, int xsize, const Interval *duration, int xorigin, TimestampTz torigin, int *count); - -//-------------------- meos_catalog.h -------------------- - - -//#include - -typedef signed short int16; - -//#include - -typedef enum -{ - T_UNKNOWN = 0, - T_BOOL = 1, - T_DATE = 2, - T_DATEMULTIRANGE = 3, - T_DATERANGE = 4, - T_DATESET = 5, - T_DATESPAN = 6, - T_DATESPANSET = 7, - T_DOUBLE2 = 8, - T_DOUBLE3 = 9, - T_DOUBLE4 = 10, - T_FLOAT8 = 11, - T_FLOATSET = 12, - T_FLOATSPAN = 13, - T_FLOATSPANSET = 14, - T_INT4 = 15, - T_INT4MULTIRANGE = 16, - T_INT4RANGE = 17, - T_INTSET = 18, - T_INTSPAN = 19, - T_INTSPANSET = 20, - T_INT8 = 21, - T_INT8MULTIRANGE = 52, - T_INT8RANGE = 53, - T_BIGINTSET = 22, - T_BIGINTSPAN = 23, - T_BIGINTSPANSET = 24, - T_STBOX = 25, - T_TBOOL = 26, - T_TBOX = 27, - T_TDOUBLE2 = 28, - T_TDOUBLE3 = 29, - T_TDOUBLE4 = 30, - T_TEXT = 31, - T_TEXTSET = 32, - T_TFLOAT = 33, - T_TIMESTAMPTZ = 34, - T_TINT = 35, - T_TSTZMULTIRANGE = 36, - T_TSTZRANGE = 37, - T_TSTZSET = 38, - T_TSTZSPAN = 39, - T_TSTZSPANSET = 40, - T_TTEXT = 41, - T_GEOMETRY = 42, - T_GEOMSET = 43, - T_GEOGRAPHY = 44, - T_GEOGSET = 45, - T_TGEOMPOINT = 46, - T_TGEOGPOINT = 47, - T_NPOINT = 48, - T_NPOINTSET = 49, - T_NSEGMENT = 50, - T_TNPOINT = 51, - T_POSE = 54, - T_POSESET = 55, - T_TPOSE = 56, - T_CBUFFER = 57, - T_CBUFFERSET = 58, - T_TCBUFFER = 59, - T_TGEOMETRY = 60, - T_TGEOGRAPHY = 61, - T_TRGEOMETRY = 62, - NO_MEOS_TYPES -} meosType; - -typedef enum -{ - UNKNOWN_OP = 0, - EQ_OP = 1, - NE_OP = 2, - LT_OP = 3, - LE_OP = 4, - GT_OP = 5, - GE_OP = 6, - ADJACENT_OP = 7, - UNION_OP = 8, - MINUS_OP = 9, - INTERSECT_OP = 10, - OVERLAPS_OP = 11, - CONTAINS_OP = 12, - CONTAINED_OP = 13, - SAME_OP = 14, - LEFT_OP = 15, - OVERLEFT_OP = 16, - RIGHT_OP = 17, - OVERRIGHT_OP = 18, - BELOW_OP = 19, - OVERBELOW_OP = 20, - ABOVE_OP = 21, - OVERABOVE_OP = 22, - FRONT_OP = 23, - OVERFRONT_OP = 24, - BACK_OP = 25, - OVERBACK_OP = 26, - BEFORE_OP = 27, - OVERBEFORE_OP = 28, - AFTER_OP = 29, - OVERAFTER_OP = 30, - EVEREQ_OP = 31, - EVERNE_OP = 32, - EVERLT_OP = 33, - EVERLE_OP = 34, - EVERGT_OP = 35, - EVERGE_OP = 36, - ALWAYSEQ_OP = 37, - ALWAYSNE_OP = 38, - ALWAYSLT_OP = 39, - ALWAYSLE_OP = 40, - ALWAYSGT_OP = 41, - ALWAYSGE_OP = 42, -} meosOper; - -typedef struct -{ - meosType temptype; - meosType basetype; -} temptype_catalog_struct; - -typedef struct -{ - meosType settype; - meosType basetype; -} settype_catalog_struct; - -typedef struct -{ - meosType spantype; - meosType basetype; -} spantype_catalog_struct; - -typedef struct -{ - meosType spansettype; - meosType spantype; -} spansettype_catalog_struct; - -/* extern bool temptype_subtype(tempSubtype subtype); (undefined) */ -/* extern bool temptype_subtype_all(tempSubtype subtype); (undefined) */ - -extern const char *tempsubtype_name(tempSubtype subtype); -extern bool tempsubtype_from_string(const char *str, int16 *subtype); -extern const char *meosoper_name(meosOper oper); -extern meosOper meosoper_from_string(const char *name); -extern const char *interptype_name(interpType interp); -extern interpType interptype_from_string(const char *interp_str); - -extern const char *meostype_name(meosType type); -extern meosType temptype_basetype(meosType type); -extern meosType settype_basetype(meosType type); -extern meosType spantype_basetype(meosType type); -extern meosType spantype_spansettype(meosType type); -extern meosType spansettype_spantype(meosType type); -extern meosType basetype_spantype(meosType type); -extern meosType basetype_settype(meosType type); - -extern bool tnumber_basetype(meosType type); -extern bool geo_basetype(meosType type); -/* extern bool meos_basetype(meosType type); (undefined) */ -/* extern bool alphanum_basetype(meosType type); (undefined) */ -/* extern bool alphanum_temptype(meosType type); (undefined) */ - -extern bool time_type(meosType type); -/* extern bool set_basetype(meosType type); (undefined) */ - -extern bool set_type(meosType type); -extern bool numset_type(meosType type); -extern bool ensure_numset_type(meosType type); -extern bool timeset_type(meosType type); -extern bool set_spantype(meosType type); -extern bool ensure_set_spantype(meosType type); -extern bool alphanumset_type(meosType settype); -extern bool geoset_type(meosType type); -extern bool ensure_geoset_type(meosType type); -extern bool spatialset_type(meosType type); -extern bool ensure_spatialset_type(meosType type); - -extern bool span_basetype(meosType type); -extern bool span_canon_basetype(meosType type); -extern bool span_type(meosType type); -extern bool type_span_bbox(meosType type); -extern bool span_tbox_type(meosType type); -extern bool ensure_span_tbox_type(meosType type); -extern bool numspan_basetype(meosType type); -extern bool numspan_type(meosType type); -extern bool ensure_numspan_type(meosType type); -extern bool timespan_basetype(meosType type); -extern bool timespan_type(meosType type); - -extern bool spanset_type(meosType type); -extern bool timespanset_type(meosType type); -extern bool ensure_timespanset_type(meosType type); - -extern bool temporal_type(meosType type); -/* extern bool temporal_basetype(meosType type); (undefined) */ - -extern bool temptype_continuous(meosType type); -extern bool basetype_byvalue(meosType type); -extern bool basetype_varlength(meosType type); -extern int16 basetype_length(meosType type); -/* extern bool talphanum_type(meosType type); (undefined) */ - -extern bool talpha_type(meosType type); -extern bool tnumber_type(meosType type); -extern bool ensure_tnumber_type(meosType type); -extern bool ensure_tnumber_basetype(meosType type); -extern bool tnumber_spantype(meosType type); -extern bool spatial_basetype(meosType type); -extern bool tspatial_type(meosType type); -extern bool ensure_tspatial_type(meosType type); -extern bool tpoint_type(meosType type); -extern bool ensure_tpoint_type(meosType type); -extern bool tgeo_type(meosType type); -extern bool ensure_tgeo_type(meosType type); -extern bool tgeo_type_all(meosType type); -extern bool ensure_tgeo_type_all(meosType type); -extern bool tgeometry_type(meosType type); -extern bool ensure_tgeometry_type(meosType type); -extern bool tgeodetic_type(meosType type); -extern bool ensure_tgeodetic_type(meosType type); -extern bool ensure_tnumber_tpoint_type(meosType type); - - - -//-------------------- meos_geo.h -------------------- - - -//#include -//#include - -typedef uint16_t lwflags_t; - -typedef struct { - double afac, bfac, cfac, dfac, efac, ffac, gfac, hfac, ifac, xoff, yoff, zoff; -} AFFINE; - -typedef struct -{ - double xmin, ymin, zmin; - double xmax, ymax, zmax; - int32_t srid; -} -BOX3D; - -typedef struct -{ - lwflags_t flags; - double xmin; - double xmax; - double ymin; - double ymax; - double zmin; - double zmax; - double mmin; - double mmax; -} GBOX; - -typedef struct -{ - double a; - double b; - double f; - double e; - double e_sq; - double radius; - char name[20]; -} -SPHEROID; - -typedef struct -{ - double x, y; -} -POINT2D; - -typedef struct -{ - double x, y, z; -} -POINT3DZ; - -typedef struct -{ - double x, y, z; -} -POINT3D; - -typedef struct -{ - double x, y, m; -} -POINT3DM; - -typedef struct -{ - double x, y, z, m; -} -POINT4D; - -typedef struct -{ - uint32_t npoints; - uint32_t maxpoints; - - - lwflags_t flags; - - - uint8_t *serialized_pointlist; -} -POINTARRAY; - -typedef struct -{ - uint32_t size; - uint8_t srid[3]; - uint8_t gflags; - uint8_t data[1]; -} GSERIALIZED; - -typedef struct -{ - GBOX *bbox; - void *data; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; -} -LWGEOM; - -typedef struct -{ - GBOX *bbox; - POINTARRAY *point; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; -} -LWPOINT; - -typedef struct -{ - GBOX *bbox; - POINTARRAY *points; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; -} -LWLINE; - -typedef struct -{ - GBOX *bbox; - POINTARRAY *points; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; -} -LWTRIANGLE; - -typedef struct -{ - GBOX *bbox; - POINTARRAY *points; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; -} -LWCIRCSTRING; - -typedef struct -{ - GBOX *bbox; - POINTARRAY **rings; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t nrings; - uint32_t maxrings; -} -LWPOLY; - -typedef struct -{ - GBOX *bbox; - LWPOINT **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWMPOINT; - -typedef struct -{ - GBOX *bbox; - LWLINE **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWMLINE; - -typedef struct -{ - GBOX *bbox; - LWPOLY **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWMPOLY; - -typedef struct -{ - GBOX *bbox; - LWGEOM **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWCOLLECTION; - -typedef struct -{ - GBOX *bbox; - LWGEOM **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWCOMPOUND; - -typedef struct -{ - GBOX *bbox; - LWGEOM **rings; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t nrings; - uint32_t maxrings; -} -LWCURVEPOLY; - -typedef struct -{ - GBOX *bbox; - LWGEOM **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWMCURVE; - -typedef struct -{ - GBOX *bbox; - LWGEOM **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWMSURFACE; - -typedef struct -{ - GBOX *bbox; - LWPOLY **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWPSURFACE; - -typedef struct -{ - GBOX *bbox; - LWTRIANGLE **geoms; - int32_t srid; - lwflags_t flags; - uint8_t type; - char pad[1]; - uint32_t ngeoms; - uint32_t maxgeoms; -} -LWTIN; - -/* extern int32 geo_get_srid(const GSERIALIZED *g); (undefined) */ - -struct PJconsts; -typedef struct PJconsts PJ; - -typedef struct LWPROJ -{ - PJ* pj; - - - bool pipeline_is_forward; - - - uint8_t source_is_latlong; - - double source_semi_major_metre; - double source_semi_minor_metre; -} LWPROJ; - - - -//#include - -typedef enum -{ - INTERSECTS = 0, - CONTAINS = 1, - TOUCHES = 2, - COVERS = 3, -} spatialRel; - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - -extern uint8_t *geo_as_ewkb(const GSERIALIZED *gs, const char *endian, size_t *size); -extern char *geo_as_ewkt(const GSERIALIZED *gs, int precision); -extern char *geo_as_geojson(const GSERIALIZED *gs, int option, int precision, const char *srs); -extern char *geo_as_hexewkb(const GSERIALIZED *gs, const char *endian); -extern char *geo_as_text(const GSERIALIZED *gs, int precision); -extern GSERIALIZED *geo_from_ewkb(const uint8_t *wkb, size_t wkb_size, int32 srid); -extern GSERIALIZED *geo_from_geojson(const char *geojson); -extern GSERIALIZED *geo_from_text(const char *wkt, int32_t srid); -extern char *geo_out(const GSERIALIZED *gs); -/* extern GSERIALIZED *geog_from_binary(const char *wkb_bytea); (undefined) */ -extern GSERIALIZED *geog_from_hexewkb(const char *wkt); -extern GSERIALIZED *geog_in(const char *str, int32 typmod); -extern GSERIALIZED *geom_from_hexewkb(const char *wkt); -extern GSERIALIZED *geom_in(const char *str, int32 typmod); - -extern BOX3D *box3d_make(double xmin, double xmax, double ymin, double ymax, - double zmin, double zmax, int32_t srid); -extern char *box3d_out(const BOX3D *box, int maxdd); -extern GBOX *gbox_make(bool hasz, double xmin, double xmax, double ymin, - double ymax, double zmin, double zmax); -extern char *gbox_out(const GBOX *box, int maxdd); - -extern GSERIALIZED *geo_copy(const GSERIALIZED *g); -extern GSERIALIZED *geogpoint_make2d(int32_t srid, double x, double y); -extern GSERIALIZED *geogpoint_make3dz(int32_t srid, double x, double y, double z); -extern GSERIALIZED *geompoint_make2d(int32_t srid, double x, double y); -extern GSERIALIZED *geompoint_make3dz(int32_t srid, double x, double y, double z); - -extern GSERIALIZED *geom_to_geog(const GSERIALIZED *geom); -extern GSERIALIZED *geog_to_geom(const GSERIALIZED *geog); - -extern bool geo_is_empty(const GSERIALIZED *g); -extern bool geo_is_unitary(const GSERIALIZED *gs); -extern const char *geo_typename(int type); -extern double geog_area(const GSERIALIZED *g, bool use_spheroid); -extern GSERIALIZED *geog_centroid(const GSERIALIZED *g, bool use_spheroid); -extern double geog_length(const GSERIALIZED *g, bool use_spheroid); -extern double geog_perimeter(const GSERIALIZED *g, bool use_spheroid); -extern bool geom_azimuth(const GSERIALIZED *gs1, const GSERIALIZED *gs2, double *result); -extern double geom_length(const GSERIALIZED *gs); -extern double geom_perimeter(const GSERIALIZED *gs); -extern int line_numpoints(const GSERIALIZED *gs); -extern GSERIALIZED *line_point_n(const GSERIALIZED *geom, int n); - -extern GSERIALIZED *geo_reverse(const GSERIALIZED *gs); -extern GSERIALIZED *geo_round(const GSERIALIZED *gs, int maxdd); - -extern GSERIALIZED *geo_set_srid(const GSERIALIZED *gs, int32_t srid); -extern int32_t geo_srid(const GSERIALIZED *gs); -extern GSERIALIZED *geo_transform(const GSERIALIZED *geom, int32_t srid_to); -extern GSERIALIZED *geo_transform_pipeline(const GSERIALIZED *gs, char *pipeline, int32_t srid_to, bool is_forward); - -extern GSERIALIZED *geo_collect_garray(GSERIALIZED **gsarr, int count); -extern GSERIALIZED *geo_makeline_garray(GSERIALIZED **gsarr, int count); -extern int geo_num_points(const GSERIALIZED *gs); -extern int geo_num_geos(const GSERIALIZED *gs); -extern GSERIALIZED *geo_geo_n(const GSERIALIZED *geom, int n); -extern GSERIALIZED **geo_pointarr(const GSERIALIZED *gs, int *count); -extern GSERIALIZED *geo_points(const GSERIALIZED *gs); -extern GSERIALIZED *geom_array_union(GSERIALIZED **gsarr, int count); -extern GSERIALIZED *geom_boundary(const GSERIALIZED *gs); -extern GSERIALIZED *geom_buffer(const GSERIALIZED *gs, double size, const char *params); -extern GSERIALIZED *geom_centroid(const GSERIALIZED *gs); -extern GSERIALIZED *geom_convex_hull(const GSERIALIZED *gs); -extern GSERIALIZED *geom_difference2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern GSERIALIZED *geom_intersection2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern GSERIALIZED *geom_intersection2d_coll(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern GSERIALIZED *geom_min_bounding_radius(const GSERIALIZED *geom, double *radius); -extern GSERIALIZED *geom_shortestline2d(const GSERIALIZED *gs1, const GSERIALIZED *s2); -extern GSERIALIZED *geom_shortestline3d(const GSERIALIZED *gs1, const GSERIALIZED *s2); -extern GSERIALIZED *geom_unary_union(const GSERIALIZED *gs, double prec); -extern GSERIALIZED *line_interpolate_point(const GSERIALIZED *gs, double distance_fraction, bool repeat); -extern double line_locate_point(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern GSERIALIZED *line_substring(const GSERIALIZED *gs, double from, double to); - -extern bool geog_dwithin(const GSERIALIZED *g1, const GSERIALIZED *g2, double tolerance, bool use_spheroid); -extern bool geog_intersects(const GSERIALIZED *gs1, const GSERIALIZED *gs2, bool use_spheroid); -extern bool geom_contains(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern bool geom_covers(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern bool geom_disjoint2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern bool geom_dwithin2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2, double tolerance); -extern bool geom_dwithin3d(const GSERIALIZED *gs1, const GSERIALIZED *gs2, double tolerance); -extern bool geom_intersects2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern bool geom_intersects3d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern bool geom_relate_pattern(const GSERIALIZED *gs1, const GSERIALIZED *gs2, char *patt); -extern bool geom_touches(const GSERIALIZED *gs1, const GSERIALIZED *gs2); - -extern STBox *geo_stboxes(const GSERIALIZED *gs, int *count); -extern STBox *geo_split_each_n_stboxes(const GSERIALIZED *gs, int elem_count, int *count); -extern STBox *geo_split_n_stboxes(const GSERIALIZED *gs, int box_count, int *count); - -extern double geog_distance(const GSERIALIZED *g1, const GSERIALIZED *g2); -extern double geom_distance2d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern double geom_distance3d(const GSERIALIZED *gs1, const GSERIALIZED *gs2); - -extern int geo_equals(const GSERIALIZED *gs1, const GSERIALIZED *gs2); -extern bool geo_same(const GSERIALIZED *gs1, const GSERIALIZED *gs2); - -extern Set *geogset_in(const char *str); -extern Set *geomset_in(const char *str); -extern char *spatialset_as_text(const Set *set, int maxdd); -extern char *spatialset_as_ewkt(const Set *set, int maxdd); - -extern Set *geoset_make(GSERIALIZED **values, int count); - -extern Set *geo_to_set(const GSERIALIZED *gs); - -extern GSERIALIZED *geoset_end_value(const Set *s); -extern GSERIALIZED *geoset_start_value(const Set *s); -extern bool geoset_value_n(const Set *s, int n, GSERIALIZED **result); -extern GSERIALIZED **geoset_values(const Set *s); - -extern bool contained_geo_set(const GSERIALIZED *gs, const Set *s); -extern bool contains_set_geo(const Set *s, GSERIALIZED *gs); -extern Set *geo_union_transfn(Set *state, const GSERIALIZED *gs); -extern Set *intersection_geo_set(const GSERIALIZED *gs, const Set *s); -extern Set *intersection_set_geo(const Set *s, const GSERIALIZED *gs); -extern Set *minus_geo_set(const GSERIALIZED *gs, const Set *s); -extern Set *minus_set_geo(const Set *s, const GSERIALIZED *gs); -extern Set *union_geo_set(const GSERIALIZED *gs, const Set *s); -extern Set *union_set_geo(const Set *s, const GSERIALIZED *gs); - -extern Set *spatialset_set_srid(const Set *s, int32_t srid); -extern int32_t spatialset_srid(const Set *s); -extern Set *spatialset_transform(const Set *s, int32_t srid); -extern Set *spatialset_transform_pipeline(const Set *s, const char *pipelinestr, int32_t srid, bool is_forward); - -extern char *stbox_as_hexwkb(const STBox *box, uint8_t variant, size_t *size); -extern uint8_t *stbox_as_wkb(const STBox *box, uint8_t variant, size_t *size_out); -extern STBox *stbox_from_hexwkb(const char *hexwkb); -extern STBox *stbox_from_wkb(const uint8_t *wkb, size_t size); -extern STBox *stbox_in(const char *str); -extern char *stbox_out(const STBox *box, int maxdd); - -extern STBox *geo_timestamptz_to_stbox(const GSERIALIZED *gs, TimestampTz t); -extern STBox *geo_tstzspan_to_stbox(const GSERIALIZED *gs, const Span *s); -extern STBox *stbox_copy(const STBox *box); -extern STBox *stbox_make(bool hasx, bool hasz, bool geodetic, int32 srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, const Span *s); - -extern STBox *geo_to_stbox(const GSERIALIZED *gs); -extern STBox *spatialset_to_stbox(const Set *s); -extern BOX3D *stbox_to_box3d(const STBox *box); -extern GBOX *stbox_to_gbox(const STBox *box); -extern GSERIALIZED *stbox_to_geo(const STBox *box); -extern Span *stbox_to_tstzspan(const STBox *box); -extern STBox *timestamptz_to_stbox(TimestampTz t); -extern STBox *tstzset_to_stbox(const Set *s); -extern STBox *tstzspan_to_stbox(const Span *s); -extern STBox *tstzspanset_to_stbox(const SpanSet *ss); - -extern double stbox_area(const STBox *box, bool spheroid); -extern uint32 stbox_hash(const STBox *box); -extern uint64 stbox_hash_extended(const STBox *box, uint64 seed); -extern bool stbox_hast(const STBox *box); -extern bool stbox_hasx(const STBox *box); -extern bool stbox_hasz(const STBox *box); -extern bool stbox_isgeodetic(const STBox *box); -extern double stbox_perimeter(const STBox *box, bool spheroid); -extern bool stbox_tmax(const STBox *box, TimestampTz *result); -extern bool stbox_tmax_inc(const STBox *box, bool *result); -extern bool stbox_tmin(const STBox *box, TimestampTz *result); -extern bool stbox_tmin_inc(const STBox *box, bool *result); -extern double stbox_volume(const STBox *box); -extern bool stbox_xmax(const STBox *box, double *result); -extern bool stbox_xmin(const STBox *box, double *result); -extern bool stbox_ymax(const STBox *box, double *result); -extern bool stbox_ymin(const STBox *box, double *result); -extern bool stbox_zmax(const STBox *box, double *result); -extern bool stbox_zmin(const STBox *box, double *result); - -extern STBox *stbox_expand_space(const STBox *box, double d); -extern STBox *stbox_expand_time(const STBox *box, const Interval *interv); -extern STBox *stbox_get_space(const STBox *box); -extern STBox *stbox_quad_split(const STBox *box, int *count); -extern STBox *stbox_round(const STBox *box, int maxdd); -extern STBox *stbox_shift_scale_time(const STBox *box, const Interval *shift, const Interval *duration); -extern STBox *stboxarr_round(const STBox *boxarr, int count, int maxdd); - -extern STBox *stbox_set_srid(const STBox *box, int32_t srid); -extern int32_t stbox_srid(const STBox *box); -extern STBox *stbox_transform(const STBox *box, int32_t srid); -extern STBox *stbox_transform_pipeline(const STBox *box, const char *pipelinestr, int32_t srid, bool is_forward); - -extern bool adjacent_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool contained_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool contains_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overlaps_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool same_stbox_stbox(const STBox *box1, const STBox *box2); - -extern bool above_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool after_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool back_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool before_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool below_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool front_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool left_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overabove_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overafter_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overback_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overbefore_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overbelow_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overfront_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overleft_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool overright_stbox_stbox(const STBox *box1, const STBox *box2); -extern bool right_stbox_stbox(const STBox *box1, const STBox *box2); - -extern STBox *union_stbox_stbox(const STBox *box1, const STBox *box2, bool strict); -extern STBox *intersection_stbox_stbox(const STBox *box1, const STBox *box2); - -extern int stbox_cmp(const STBox *box1, const STBox *box2); -extern bool stbox_eq(const STBox *box1, const STBox *box2); -extern bool stbox_ge(const STBox *box1, const STBox *box2); -extern bool stbox_gt(const STBox *box1, const STBox *box2); -extern bool stbox_le(const STBox *box1, const STBox *box2); -extern bool stbox_lt(const STBox *box1, const STBox *box2); -extern bool stbox_ne(const STBox *box1, const STBox *box2); - -extern Temporal *tgeogpoint_from_mfjson(const char *str); -extern Temporal *tgeogpoint_in(const char *str); -extern Temporal *tgeography_from_mfjson(const char *mfjson); -extern Temporal *tgeography_in(const char *str); -extern Temporal *tgeometry_from_mfjson(const char *str); -extern Temporal *tgeometry_in(const char *str); -extern Temporal *tgeompoint_from_mfjson(const char *str); -extern Temporal *tgeompoint_in(const char *str); -extern char *tspatial_as_ewkt(const Temporal *temp, int maxdd); -extern char *tspatial_as_text(const Temporal *temp, int maxdd); -extern char *tspatial_out(const Temporal *temp, int maxdd); - -extern Temporal *tgeo_from_base_temp(const GSERIALIZED *gs, const Temporal *temp); -extern TInstant *tgeoinst_make(const GSERIALIZED *gs, TimestampTz t); -extern TSequence *tgeoseq_from_base_tstzset(const GSERIALIZED *gs, const Set *s); -extern TSequence *tgeoseq_from_base_tstzspan(const GSERIALIZED *gs, const Span *s, interpType interp); -extern TSequenceSet *tgeoseqset_from_base_tstzspanset(const GSERIALIZED *gs, const SpanSet *ss, interpType interp); -extern Temporal *tpoint_from_base_temp(const GSERIALIZED *gs, const Temporal *temp); -extern TInstant *tpointinst_make(const GSERIALIZED *gs, TimestampTz t); -extern TSequence *tpointseq_from_base_tstzset(const GSERIALIZED *gs, const Set *s); -extern TSequence *tpointseq_from_base_tstzspan(const GSERIALIZED *gs, const Span *s, interpType interp); -extern TSequence *tpointseq_make_coords(const double *xcoords, const double *ycoords, const double *zcoords, const TimestampTz *times, int count, int32 srid, bool geodetic, bool lower_inc, bool upper_inc, interpType interp, bool normalize); -extern TSequenceSet *tpointseqset_from_base_tstzspanset(const GSERIALIZED *gs, const SpanSet *ss, interpType interp); - -extern STBox *box3d_to_stbox(const BOX3D *box); -extern STBox *gbox_to_stbox(const GBOX *box); -extern Temporal *geomeas_to_tpoint(const GSERIALIZED *gs); -extern Temporal *tgeogpoint_to_tgeography(const Temporal *temp); -extern Temporal *tgeography_to_tgeogpoint(const Temporal *temp); -extern Temporal *tgeography_to_tgeometry(const Temporal *temp); -extern Temporal *tgeometry_to_tgeography(const Temporal *temp); -extern Temporal *tgeometry_to_tgeompoint(const Temporal *temp); -extern Temporal *tgeompoint_to_tgeometry(const Temporal *temp); -extern bool tpoint_as_mvtgeom(const Temporal *temp, const STBox *bounds, int32_t extent, int32_t buffer, bool clip_geom, GSERIALIZED **gsarr, int64 **timesarr, int *count); -extern bool tpoint_tfloat_to_geomeas(const Temporal *tpoint, const Temporal *measure, bool segmentize, GSERIALIZED **result); -extern STBox *tspatial_to_stbox(const Temporal *temp); - -extern bool bearing_point_point(const GSERIALIZED *gs1, const GSERIALIZED *gs2, double *result); -extern Temporal *bearing_tpoint_point(const Temporal *temp, const GSERIALIZED *gs, bool invert); -extern Temporal *bearing_tpoint_tpoint(const Temporal *temp1, const Temporal *temp2); -extern Temporal *tgeo_centroid(const Temporal *temp); -extern GSERIALIZED *tgeo_convex_hull(const Temporal *temp); -extern GSERIALIZED *tgeo_end_value(const Temporal *temp); -extern GSERIALIZED *tgeo_start_value(const Temporal *temp); -extern GSERIALIZED *tgeo_traversed_area(const Temporal *temp, bool unary_union); -extern bool tgeo_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, GSERIALIZED **value); -extern bool tgeo_value_n(const Temporal *temp, int n, GSERIALIZED **result); -extern GSERIALIZED **tgeo_values(const Temporal *temp, int *count); -extern Temporal *tpoint_angular_difference(const Temporal *temp); -extern Temporal *tpoint_azimuth(const Temporal *temp); -extern Temporal *tpoint_cumulative_length(const Temporal *temp); -extern bool tpoint_direction(const Temporal *temp, double *result); -extern Temporal *tpoint_get_x(const Temporal *temp); -extern Temporal *tpoint_get_y(const Temporal *temp); -extern Temporal *tpoint_get_z(const Temporal *temp); -extern bool tpoint_is_simple(const Temporal *temp); -extern double tpoint_length(const Temporal *temp); -extern Temporal *tpoint_speed(const Temporal *temp); -extern GSERIALIZED *tpoint_trajectory(const Temporal *temp, bool unary_union); -extern GSERIALIZED *tpoint_twcentroid(const Temporal *temp); - -extern Temporal *tgeo_affine(const Temporal *temp, const AFFINE *a); -extern Temporal *tgeo_scale(const Temporal *temp, const GSERIALIZED *scale, const GSERIALIZED *sorigin); -extern Temporal **tpoint_make_simple(const Temporal *temp, int *count); - -int32_t tspatial_srid(const Temporal *temp); -extern Temporal *tspatial_set_srid(const Temporal *temp, int32_t srid); -extern Temporal *tspatial_transform(const Temporal *temp, int32_t srid); -extern Temporal *tspatial_transform_pipeline(const Temporal *temp, const char *pipelinestr, int32_t srid, bool is_forward); - -extern Temporal *tgeo_at_geom(const Temporal *temp, const GSERIALIZED *gs); -extern Temporal *tgeo_at_stbox(const Temporal *temp, const STBox *box, bool border_inc); -extern Temporal *tgeo_at_value(const Temporal *temp, GSERIALIZED *gs); -extern Temporal *tgeo_minus_geom(const Temporal *temp, const GSERIALIZED *gs); -extern Temporal *tgeo_minus_stbox(const Temporal *temp, const STBox *box, bool border_inc); -extern Temporal *tgeo_minus_value(const Temporal *temp, GSERIALIZED *gs); -extern Temporal *tpoint_at_geom(const Temporal *temp, const GSERIALIZED *gs, const Span *zspan); -extern Temporal *tpoint_at_value(const Temporal *temp, GSERIALIZED *gs); -extern Temporal *tpoint_minus_geom(const Temporal *temp, const GSERIALIZED *gs, const Span *zspan); -extern Temporal *tpoint_minus_value(const Temporal *temp, GSERIALIZED *gs); - -extern int always_eq_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern int always_eq_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int always_eq_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int always_ne_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern int always_ne_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int always_ne_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int ever_eq_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern int ever_eq_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int ever_eq_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int ever_ne_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern int ever_ne_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int ever_ne_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); - -extern Temporal *teq_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern Temporal *teq_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern Temporal *tne_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern Temporal *tne_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); - -extern STBox *tgeo_stboxes(const Temporal *temp, int *count); -extern STBox *tgeo_space_boxes(const Temporal *temp, double xsize, double ysize, double zsize, const GSERIALIZED *sorigin, bool bitmatrix, bool border_inc, int *count); -extern STBox *tgeo_space_time_boxes(const Temporal *temp, double xsize, double ysize, double zsize, const Interval *duration, const GSERIALIZED *sorigin, TimestampTz torigin, bool bitmatrix, bool border_inc, int *count); -extern STBox *tgeo_split_each_n_stboxes(const Temporal *temp, int elem_count, int *count); -extern STBox *tgeo_split_n_stboxes(const Temporal *temp, int box_count, int *count); - -extern bool adjacent_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool adjacent_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool adjacent_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool contained_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool contained_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool contained_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool contains_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool contains_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool contains_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overlaps_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overlaps_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overlaps_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool same_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool same_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool same_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); - -extern bool above_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool above_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool above_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool after_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool after_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool after_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool back_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool back_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool back_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool before_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool before_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool before_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool below_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool below_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool below_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool front_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool front_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool front_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool left_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool left_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool left_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overabove_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overabove_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overabove_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overafter_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overafter_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overafter_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overback_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overback_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overback_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overbefore_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overbefore_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overbefore_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overbelow_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overbelow_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overbelow_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overfront_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overfront_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overfront_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overleft_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overleft_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overleft_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool overright_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool overright_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool overright_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); -extern bool right_stbox_tspatial(const STBox *box, const Temporal *temp); -extern bool right_tspatial_stbox(const Temporal *temp, const STBox *box); -extern bool right_tspatial_tspatial(const Temporal *temp1, const Temporal *temp2); - -extern int acontains_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern int acontains_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int acontains_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int adisjoint_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int adisjoint_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int adwithin_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, double dist); -extern int adwithin_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, double dist); -extern int aintersects_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int aintersects_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int atouches_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int atouches_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int atouches_tpoint_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int econtains_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern int econtains_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int econtains_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int ecovers_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp); -extern int ecovers_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int ecovers_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int edisjoint_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int edisjoint_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int edwithin_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, double dist); -extern int edwithin_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, double dist); -extern int eintersects_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int eintersects_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int etouches_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern int etouches_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern int etouches_tpoint_geo(const Temporal *temp, const GSERIALIZED *gs); - -extern Temporal *tcontains_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue); -extern Temporal *tcontains_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue); -extern Temporal *tcontains_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue); -extern Temporal *tcovers_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue); -extern Temporal *tcovers_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue); -extern Temporal *tcovers_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue); -extern Temporal *tdisjoint_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue); -extern Temporal *tdisjoint_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue); -extern Temporal *tdisjoint_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue); -extern Temporal *tdwithin_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, double dist, bool restr, bool atvalue); -extern Temporal *tdwithin_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, double dist, bool restr, bool atvalue); -extern Temporal *tdwithin_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, double dist, bool restr, bool atvalue); -extern Temporal *tintersects_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue); -extern Temporal *tintersects_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue); -extern Temporal *tintersects_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue); -extern Temporal *ttouches_geo_tgeo(const GSERIALIZED *gs, const Temporal *temp, bool restr, bool atvalue); -extern Temporal *ttouches_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs, bool restr, bool atvalue); -extern Temporal *ttouches_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2, bool restr, bool atvalue); - -extern Temporal *tdistance_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern Temporal *tdistance_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern double nad_stbox_geo(const STBox *box, const GSERIALIZED *gs); -extern double nad_stbox_stbox(const STBox *box1, const STBox *box2); -extern double nad_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern double nad_tgeo_stbox(const Temporal *temp, const STBox *box); -extern double nad_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern TInstant *nai_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern TInstant *nai_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); -extern GSERIALIZED *shortestline_tgeo_geo(const Temporal *temp, const GSERIALIZED *gs); -extern GSERIALIZED *shortestline_tgeo_tgeo(const Temporal *temp1, const Temporal *temp2); - -extern Temporal *tpoint_tcentroid_finalfn(SkipList *state); -extern SkipList *tpoint_tcentroid_transfn(SkipList *state, Temporal *temp); -extern STBox *tspatial_extent_transfn(STBox *box, const Temporal *temp); - -extern STBox *stbox_get_space_tile(const GSERIALIZED *point, double xsize, double ysize, double zsize, const GSERIALIZED *sorigin); -extern STBox *stbox_get_space_time_tile(const GSERIALIZED *point, TimestampTz t, double xsize, double ysize, double zsize, const Interval *duration, const GSERIALIZED *sorigin, TimestampTz torigin); -extern STBox *stbox_get_time_tile(TimestampTz t, const Interval *duration, TimestampTz torigin); -extern STBox *stbox_space_tiles(const STBox *bounds, double xsize, double ysize, double zsize, const GSERIALIZED *sorigin, bool border_inc, int *count); -extern STBox *stbox_space_time_tiles(const STBox *bounds, double xsize, double ysize, double zsize, const Interval *duration, const GSERIALIZED *sorigin, TimestampTz torigin, bool border_inc, int *count); -extern STBox *stbox_time_tiles(const STBox *bounds, const Interval *duration, TimestampTz torigin, bool border_inc, int *count); -extern Temporal **tgeo_space_split(const Temporal *temp, double xsize, double ysize, double zsize, const GSERIALIZED *sorigin, bool bitmatrix, bool border_inc, GSERIALIZED ***space_bins, int *count); -extern Temporal **tgeo_space_time_split(const Temporal *temp, double xsize, double ysize, double zsize, const Interval *duration, const GSERIALIZED *sorigin, TimestampTz torigin, bool bitmatrix, bool border_inc, GSERIALIZED ***space_bins, TimestampTz **time_bins, int *count); - -extern int *geo_cluster_kmeans(const GSERIALIZED **geoms, uint32_t ngeoms, uint32_t k); -extern uint32_t *geo_cluster_dbscan(const GSERIALIZED **geoms, uint32_t ngeoms, double tolerance, int minpoints, int *count); -extern GSERIALIZED **geo_cluster_intersecting(const GSERIALIZED **geoms, uint32_t ngeoms, int *count); -extern GSERIALIZED **geo_cluster_within(const GSERIALIZED **geoms, uint32_t ngeoms, double tolerance, int *count); - -//-------------------- meos_internal.h -------------------- - - -//#include - -//#include - -//#include -//#include - -//#include - -//#include -//#include "meos_catalog.h" - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - - //#else - - -/* extern void *SET_BBOX_PTR(const Set *s); (undefined) */ -/* extern size_t *SET_OFFSETS_PTR(const Set *s); (undefined) */ -/* extern Datum SET_VAL_N(const Set *s, int index); (undefined) */ -/* extern const Span *SPANSET_SP_N(const SpanSet *ss, int index); (undefined) */ -//#else - -/* extern size_t *TSEQUENCE_OFFSETS_PTR(const TSequence *seq); (undefined) */ -/* extern const TInstant *TSEQUENCE_INST_N(const TSequence *seq, int index); (undefined) */ -/* extern size_t *TSEQUENCESET_OFFSETS_PTR(const TSequenceSet *ss); (undefined) */ -/* extern const TSequence *TSEQUENCESET_SEQ_N(const TSequenceSet *ss, int index); (undefined) */ -//#else - - - -#define SKIPLIST_MAXLEVEL 32 -typedef struct -{ - void *key; - void *value; - int height; - int next[SKIPLIST_MAXLEVEL]; -} SkipListElem; - -struct SkipList -{ - size_t key_size; - size_t value_size; - int capacity; - int length; - int next; - int tail; - int *freed; - int freecount; - int freecap; - void *extra; - size_t extrasize; - int (*comp_fn)(void *, void *); - void *(*merge_fn)(void *, void *); - SkipListElem *elems; -}; - -typedef enum -{ - TEMPORAL, - KEYVALUE -} SkipListType; - -typedef Datum (*datum_func1) (Datum); -typedef Datum (*datum_func2) (Datum, Datum); -typedef Datum (*datum_func3) (Datum, Datum, Datum); - -extern gsl_rng *gsl_get_generation_rng(void); -extern gsl_rng *gsl_get_aggregation_rng(void); - - - -extern Datum datum_ceil(Datum d); -extern Datum datum_degrees(Datum d, Datum normalize); -extern Datum datum_float_round(Datum value, Datum size); -extern Datum datum_floor(Datum d); -extern uint32 datum_hash(Datum d, meosType basetype); -extern uint64 datum_hash_extended(Datum d, meosType basetype, uint64 seed); -extern Datum datum_radians(Datum d); -extern void floatspan_round_set(const Span *s, int maxdd, Span *result); - -extern Set *set_in(const char *str, meosType basetype); -extern char *set_out(const Set *s, int maxdd); -extern Span *span_in(const char *str, meosType spantype); -extern char *span_out(const Span *s, int maxdd); -extern SpanSet *spanset_in(const char *str, meosType spantype); -extern char *spanset_out(const SpanSet *ss, int maxdd); - -extern Set *set_make(const Datum *values, int count, meosType basetype, bool order); -extern Set *set_make_exp(const Datum *values, int count, int maxcount, meosType basetype, bool order); -extern Set *set_make_free(Datum *values, int count, meosType basetype, bool order); -extern Span *span_make(Datum lower, Datum upper, bool lower_inc, bool upper_inc, meosType basetype); -extern void span_set(Datum lower, Datum upper, bool lower_inc, bool upper_inc, meosType basetype, meosType spantype, Span *s); -extern SpanSet *spanset_make_exp(Span *spans, int count, int maxcount, bool normalize, bool order); -extern SpanSet *spanset_make_free(Span *spans, int count, bool normalize, bool order); - -extern Span *set_span(const Set *s); -extern SpanSet *set_spanset(const Set *s); -extern void value_set_span(Datum value, meosType basetype, Span *s); -extern Set *value_set(Datum d, meosType basetype); -extern Span *value_span(Datum d, meosType basetype); -extern SpanSet *value_spanset(Datum d, meosType basetype); - -extern Datum numspan_width(const Span *s); -extern Datum numspanset_width(const SpanSet *ss, bool boundspan); -extern Datum set_end_value(const Set *s); -extern int set_mem_size(const Set *s); -extern void set_set_subspan(const Set *s, int minidx, int maxidx, Span *result); -extern void set_set_span(const Set *s, Span *result); -extern Datum set_start_value(const Set *s); -extern bool set_value_n(const Set *s, int n, Datum *result); -extern Datum *set_vals(const Set *s); -extern Datum *set_values(const Set *s); -extern Datum spanset_lower(const SpanSet *ss); -extern int spanset_mem_size(const SpanSet *ss); -extern const Span **spanset_sps(const SpanSet *ss); -extern Datum spanset_upper(const SpanSet *ss); - -extern void datespan_set_tstzspan(const Span *s1, Span *s2); -extern void floatspan_set_intspan(const Span *s1, Span *s2); -extern void intspan_set_floatspan(const Span *s1, Span *s2); -extern Set *numset_shift_scale(const Set *s, Datum shift, Datum width, bool hasshift, bool haswidth); -extern Span *numspan_expand(const Span *s, Datum value); -extern Span *numspan_shift_scale(const Span *s, Datum shift, Datum width, bool hasshift, bool haswidth); -extern SpanSet *numspanset_shift_scale(const SpanSet *ss, Datum shift, Datum width, bool hasshift, bool haswidth); -extern Set *set_compact(const Set *s); -extern void span_expand(const Span *s1, Span *s2); -extern SpanSet *spanset_compact(const SpanSet *ss); -extern TBox *tbox_expand_value(const TBox *box, Datum value, meosType basetyp); -extern Set *textcat_textset_text_common(const Set *s, const text *txt, bool invert); -extern void tstzspan_set_datespan(const Span *s1, Span *s2); - -extern bool adjacent_span_value(const Span *s, Datum value); -extern bool adjacent_spanset_value(const SpanSet *ss, Datum value); -extern bool adjacent_value_spanset(Datum value, const SpanSet *ss); -extern bool contained_value_set(Datum value, const Set *s); -extern bool contained_value_span(Datum value, const Span *s); -extern bool contained_value_spanset(Datum value, const SpanSet *ss); -extern bool contains_set_value(const Set *s, Datum value); -extern bool contains_span_value(const Span *s, Datum value); -extern bool contains_spanset_value(const SpanSet *ss, Datum value); -extern bool ovadj_span_span(const Span *s1, const Span *s2); - -extern bool left_set_value(const Set *s, Datum value); -extern bool left_span_value(const Span *s, Datum value); -extern bool left_spanset_value(const SpanSet *ss, Datum value); -extern bool left_value_set(Datum value, const Set *s); -extern bool left_value_span(Datum value, const Span *s); -extern bool left_value_spanset(Datum value, const SpanSet *ss); -extern bool lfnadj_span_span(const Span *s1, const Span *s2); -extern bool overleft_set_value(const Set *s, Datum value); -extern bool overleft_span_value(const Span *s, Datum value); -extern bool overleft_spanset_value(const SpanSet *ss, Datum value); -extern bool overleft_value_set(Datum value, const Set *s); -extern bool overleft_value_span(Datum value, const Span *s); -extern bool overleft_value_spanset(Datum value, const SpanSet *ss); -extern bool overright_set_value(const Set *s, Datum value); -extern bool overright_span_value(const Span *s, Datum value); -extern bool overright_spanset_value(const SpanSet *ss, Datum value); -extern bool overright_value_set(Datum value, const Set *s); -extern bool overright_value_span(Datum value, const Span *s); -extern bool overright_value_spanset(Datum value, const SpanSet *ss); -extern bool right_value_set(Datum value, const Set *s); -extern bool right_set_value(const Set *s, Datum value); -extern bool right_value_span(Datum value, const Span *s); -extern bool right_value_spanset(Datum value, const SpanSet *ss); -extern bool right_span_value(const Span *s, Datum value); -extern bool right_spanset_value(const SpanSet *ss, Datum value); - -extern bool bbox_type(meosType bboxtype); -extern size_t bbox_get_size(meosType bboxtype); -extern int bbox_max_dims(meosType bboxtype); -extern bool temporal_bbox_eq(const void *box1, const void *box2, - meosType temptype); -extern int temporal_bbox_cmp(const void *box1, const void *box2, - meosType temptype); - -extern void bbox_union_span_span(const Span *s1, const Span *s2, Span *result); -extern bool inter_span_span(const Span *s1, const Span *s2, Span *result); -extern Set *intersection_set_value(const Set *s, Datum value); -extern Span *intersection_span_value(const Span *s, Datum value); -extern SpanSet *intersection_spanset_value(const SpanSet *ss, Datum value); -extern Set *intersection_value_set(Datum value, const Set *s); -extern Span *intersection_value_span(Datum value, const Span *s); -extern SpanSet *intersection_value_spanset(Datum value, const SpanSet *ss); -extern int mi_span_span(const Span *s1, const Span *s2, Span *result); -extern Set *minus_set_value(const Set *s, Datum value); -extern SpanSet *minus_span_value(const Span *s, Datum value); -extern SpanSet *minus_spanset_value(const SpanSet *ss, Datum value); -extern Set *minus_value_set(Datum value, const Set *s); -extern SpanSet *minus_value_span(Datum value, const Span *s); -extern SpanSet *minus_value_spanset(Datum value, const SpanSet *ss); -extern Span *super_union_span_span(const Span *s1, const Span *s2); -extern Set *union_set_value(const Set *s, Datum value); -extern SpanSet *union_span_value(const Span *s, Datum value); -extern SpanSet *union_spanset_value(const SpanSet *ss, Datum value); -extern Set *union_value_set(Datum value, const Set *s); -extern SpanSet *union_value_span(Datum value, const Span *s); -extern SpanSet *union_value_spanset(Datum value, const SpanSet *ss); - -extern Datum distance_set_set(const Set *s1, const Set *s2); -extern Datum distance_set_value(const Set *s, Datum value); -extern Datum distance_span_span(const Span *s1, const Span *s2); -extern Datum distance_span_value(const Span *s, Datum value); -extern Datum distance_spanset_span(const SpanSet *ss, const Span *s); -extern Datum distance_spanset_spanset(const SpanSet *ss1, const SpanSet *ss2); -extern Datum distance_spanset_value(const SpanSet *ss, Datum value); -extern Datum distance_value_value(Datum l, Datum r, meosType basetype); - -extern Span *spanbase_extent_transfn(Span *state, Datum value, meosType basetype); -extern Set *value_union_transfn(Set *state, Datum value, meosType basetype); - -extern TBox *number_tstzspan_to_tbox(Datum d, meosType basetype, const Span *s); -extern TBox *number_timestamptz_to_tbox(Datum d, meosType basetype, TimestampTz t); -extern void tbox_set(const Span *s, const Span *p, TBox *box); - -extern void float_set_tbox(double d, TBox *box); -extern void int_set_tbox(int i, TBox *box); -extern void number_set_tbox(Datum d, meosType basetype, TBox *box); -extern TBox *number_tbox(Datum value, meosType basetype); -extern void numset_set_tbox(const Set *s, TBox *box); -extern void numspan_set_tbox(const Span *span, TBox *box); -extern void timestamptz_set_tbox(TimestampTz t, TBox *box); -extern void tstzset_set_tbox(const Set *s, TBox *box); -extern void tstzspan_set_tbox(const Span *s, TBox *box); - -extern TBox *tbox_shift_scale_value(const TBox *box, Datum shift, Datum width, bool hasshift, bool haswidth); -extern void tbox_expand(const TBox *box1, TBox *box2); - -extern bool inter_tbox_tbox(const TBox *box1, const TBox *box2, TBox *result); - -/* extern TInstant *tboolinst_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TInstant *tboolinst_in(const char *str); -/* extern TSequence *tboolseq_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TSequence *tboolseq_in(const char *str, interpType interp); -/* extern TSequenceSet *tboolseqset_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TSequenceSet *tboolseqset_in(const char *str); -extern Temporal *temporal_in(const char *str, meosType temptype); -extern char *temporal_out(const Temporal *temp, int maxdd); -extern char **temparr_out(Temporal **temparr, int count, int maxdd); -/* extern TInstant *tfloatinst_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TInstant *tfloatinst_in(const char *str); -/* extern TSequence *tfloatseq_from_mfjson(json_object *mfjson, interpType interp); (undefined type json_object) */ -extern TSequence *tfloatseq_in(const char *str, interpType interp); -/* extern TSequenceSet *tfloatseqset_from_mfjson(json_object *mfjson, interpType interp); (undefined type json_object) */ -extern TSequenceSet *tfloatseqset_in(const char *str); -/* extern TInstant *tinstant_from_mfjson(json_object *mfjson, bool spatial, int32_t srid, meosType temptype); (undefined type json_object) */ -extern TInstant *tinstant_in(const char *str, meosType temptype); -extern char *tinstant_out(const TInstant *inst, int maxdd); -/* extern TInstant *tintinst_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TInstant *tintinst_in(const char *str); -/* extern TSequence *tintseq_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TSequence *tintseq_in(const char *str, interpType interp); -/* extern TSequenceSet *tintseqset_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TSequenceSet *tintseqset_in(const char *str); -/* extern TSequence *tsequence_from_mfjson(json_object *mfjson, bool spatial, int32_t srid, meosType temptype, interpType interp); (undefined type json_object) */ -extern TSequence *tsequence_in(const char *str, meosType temptype, interpType interp); -extern char *tsequence_out(const TSequence *seq, int maxdd); -/* extern TSequenceSet *tsequenceset_from_mfjson(json_object *mfjson, bool spatial, int32_t srid, meosType temptype, interpType interp); (undefined type json_object) */ -extern TSequenceSet *tsequenceset_in(const char *str, meosType temptype, interpType interp); -extern char *tsequenceset_out(const TSequenceSet *ss, int maxdd); -/* extern TInstant *ttextinst_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TInstant *ttextinst_in(const char *str); -/* extern TSequence *ttextseq_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TSequence *ttextseq_in(const char *str, interpType interp); -/* extern TSequenceSet *ttextseqset_from_mfjson(json_object *mfjson); (undefined type json_object) */ -extern TSequenceSet *ttextseqset_in(const char *str); -extern Temporal *temporal_from_mfjson(const char *mfjson, meosType temptype); - -extern Temporal *temporal_from_base_temp(Datum value, meosType temptype, const Temporal *temp); -extern TInstant *tinstant_copy(const TInstant *inst); -extern TInstant *tinstant_make(Datum value, meosType temptype, TimestampTz t); -extern TInstant *tinstant_make_free(Datum value, meosType temptype, TimestampTz t); -extern TSequence *tsequence_copy(const TSequence *seq); -extern TSequence *tsequence_from_base_temp(Datum value, meosType temptype, const TSequence *seq); -extern TSequence *tsequence_from_base_tstzset(Datum value, meosType temptype, const Set *s); -extern TSequence *tsequence_from_base_tstzspan(Datum value, meosType temptype, const Span *s, interpType interp); -extern TSequence *tsequence_make_exp(TInstant **instants, int count, int maxcount, bool lower_inc, bool upper_inc, interpType interp, bool normalize); -extern TSequence *tsequence_make_free(TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize); -extern TSequenceSet *tsequenceset_copy(const TSequenceSet *ss); -extern TSequenceSet *tseqsetarr_to_tseqset(TSequenceSet **seqsets, int count, int totalseqs); -extern TSequenceSet *tsequenceset_from_base_temp(Datum value, meosType temptype, const TSequenceSet *ss); -extern TSequenceSet *tsequenceset_from_base_tstzspanset(Datum value, meosType temptype, const SpanSet *ss, interpType interp); -extern TSequenceSet *tsequenceset_make_exp(TSequence **sequences, int count, int maxcount, bool normalize); -extern TSequenceSet *tsequenceset_make_free(TSequence **sequences, int count, bool normalize); - -extern void temporal_set_tstzspan(const Temporal *temp, Span *s); -extern void tinstant_set_tstzspan(const TInstant *inst, Span *s); -extern void tnumber_set_tbox(const Temporal *temp, TBox *box); -extern void tnumberinst_set_tbox(const TInstant *inst, TBox *box); -extern void tnumberseq_set_tbox(const TSequence *seq, TBox *box); -extern void tnumberseqset_set_tbox(const TSequenceSet *ss, TBox *box); -extern void tsequence_set_tstzspan(const TSequence *seq, Span *s); -extern void tsequenceset_set_tstzspan(const TSequenceSet *ss, Span *s); - -extern const TInstant *temporal_end_inst(const Temporal *temp); -extern Datum temporal_end_value(const Temporal *temp); -extern const TInstant *temporal_inst_n(const Temporal *temp, int n); -extern const TInstant **temporal_insts_p(const Temporal *temp, int *count); -extern const TInstant *temporal_max_inst_p(const Temporal *temp); -extern Datum temporal_max_value(const Temporal *temp); -extern size_t temporal_mem_size(const Temporal *temp); -extern const TInstant *temporal_min_inst_p(const Temporal *temp); -extern Datum temporal_min_value(const Temporal *temp); -extern const TSequence **temporal_sequences_p(const Temporal *temp, int *count); -extern void temporal_set_bbox(const Temporal *temp, void *box); -extern const TInstant *temporal_start_inst(const Temporal *temp); -extern Datum temporal_start_value(const Temporal *temp); -extern Datum *temporal_values_p(const Temporal *temp, int *count); -extern bool temporal_value_n(const Temporal *temp, int n, Datum *result); -extern Datum *temporal_values(const Temporal *temp, int *count); -extern uint32 tinstant_hash(const TInstant *inst); -extern const TInstant **tinstant_insts(const TInstant *inst, int *count); -extern void tinstant_set_bbox(const TInstant *inst, void *box); -extern SpanSet *tinstant_time(const TInstant *inst); -extern TimestampTz *tinstant_timestamps(const TInstant *inst, int *count); -extern Datum tinstant_value_p(const TInstant *inst); -extern Datum tinstant_value(const TInstant *inst); -extern bool tinstant_value_at_timestamptz(const TInstant *inst, TimestampTz t, Datum *result); -extern Datum *tinstant_values_p(const TInstant *inst, int *count); -extern void tnumber_set_span(const Temporal *temp, Span *span); -extern SpanSet *tnumberinst_valuespans(const TInstant *inst); -extern double tnumberseq_avg_val(const TSequence *seq); -extern SpanSet *tnumberseq_valuespans(const TSequence *seq); -extern double tnumberseqset_avg_val(const TSequenceSet *ss); -extern SpanSet *tnumberseqset_valuespans(const TSequenceSet *ss); -extern Interval *tsequence_duration(const TSequence *seq); -extern TimestampTz tsequence_end_timestamptz(const TSequence *seq); -extern uint32 tsequence_hash(const TSequence *seq); -extern const TInstant **tsequence_insts_p(const TSequence *seq); -extern const TInstant *tsequence_max_inst_p(const TSequence *seq); -extern Datum tsequence_max_val(const TSequence *seq); -extern const TInstant *tsequence_min_inst_p(const TSequence *seq); -extern Datum tsequence_min_val(const TSequence *seq); -extern TSequence **tsequence_segments(const TSequence *seq, int *count); -extern const TSequence **tsequence_seqs(const TSequence *seq, int *count); -extern TimestampTz tsequence_start_timestamptz(const TSequence *seq); -extern SpanSet *tsequence_time(const TSequence *seq); -extern TimestampTz *tsequence_timestamps(const TSequence *seq, int *count); -extern bool tsequence_value_at_timestamptz(const TSequence *seq, TimestampTz t, bool strict, Datum *result); -extern Datum *tsequence_values_p(const TSequence *seq, int *count); -extern Interval *tsequenceset_duration(const TSequenceSet *ss, bool boundspan); -extern TimestampTz tsequenceset_end_timestamptz(const TSequenceSet *ss); -extern uint32 tsequenceset_hash(const TSequenceSet *ss); -extern const TInstant *tsequenceset_inst_n(const TSequenceSet *ss, int n); -extern const TInstant **tsequenceset_insts_p(const TSequenceSet *ss); -extern const TInstant *tsequenceset_max_inst_p(const TSequenceSet *ss); -extern Datum tsequenceset_max_val(const TSequenceSet *ss); -extern const TInstant *tsequenceset_min_inst_p(const TSequenceSet *ss); -extern Datum tsequenceset_min_val(const TSequenceSet *ss); -extern int tsequenceset_num_instants(const TSequenceSet *ss); -extern int tsequenceset_num_timestamps(const TSequenceSet *ss); -extern TSequence **tsequenceset_segments(const TSequenceSet *ss, int *count); -extern const TSequence **tsequenceset_sequences_p(const TSequenceSet *ss); -extern TimestampTz tsequenceset_start_timestamptz(const TSequenceSet *ss); -extern SpanSet *tsequenceset_time(const TSequenceSet *ss); -extern bool tsequenceset_timestamptz_n(const TSequenceSet *ss, int n, TimestampTz *result); -extern TimestampTz *tsequenceset_timestamps(const TSequenceSet *ss, int *count); -extern bool tsequenceset_value_at_timestamptz(const TSequenceSet *ss, TimestampTz t, bool strict, Datum *result); -extern bool tsequenceset_value_n(const TSequenceSet *ss, int n, Datum *result); -extern Datum *tsequenceset_values_p(const TSequenceSet *ss, int *count); - -extern void temporal_restart(Temporal *temp, int count); -extern TSequence *temporal_tsequence(const Temporal *temp, interpType interp); -extern TSequenceSet *temporal_tsequenceset(const Temporal *temp, interpType interp); -extern TInstant *tinstant_shift_time(const TInstant *inst, const Interval *interv); -extern TSequence *tinstant_to_tsequence(const TInstant *inst, interpType interp); -extern TSequence *tinstant_to_tsequence_free(TInstant *inst, interpType interp); -extern TSequenceSet *tinstant_to_tsequenceset(const TInstant *inst, interpType interp); -extern Temporal *tnumber_shift_scale_value(const Temporal *temp, Datum shift, Datum width, bool hasshift, bool haswidth); -extern TInstant *tnumberinst_shift_value(const TInstant *inst, Datum shift); -extern TSequence *tnumberseq_shift_scale_value(const TSequence *seq, Datum shift, Datum width, bool hasshift, bool haswidth); -extern TSequenceSet *tnumberseqset_shift_scale_value(const TSequenceSet *ss, Datum start, Datum width, bool hasshift, bool haswidth); -extern void tsequence_restart(TSequence *seq, int count); -extern Temporal *tsequence_set_interp(const TSequence *seq, interpType interp); -extern TSequence *tsequence_shift_scale_time(const TSequence *seq, const Interval *shift, const Interval *duration); -extern TSequence *tsequence_subseq(const TSequence *seq, int from, int to, bool lower_inc, bool upper_inc); -extern TInstant *tsequence_to_tinstant(const TSequence *seq); -extern TSequenceSet *tsequence_to_tsequenceset(const TSequence *seq); -extern TSequenceSet *tsequence_to_tsequenceset_free(TSequence *seq); -extern TSequenceSet *tsequence_to_tsequenceset_interp(const TSequence *seq, interpType interp); -extern void tsequenceset_restart(TSequenceSet *ss, int count); -extern Temporal *tsequenceset_set_interp(const TSequenceSet *ss, interpType interp); -extern TSequenceSet *tsequenceset_shift_scale_time(const TSequenceSet *ss, const Interval *start, const Interval *duration); -extern TSequence *tsequenceset_to_discrete(const TSequenceSet *ss); -extern TSequenceSet *tsequenceset_to_linear(const TSequenceSet *ss); -extern TSequenceSet *tsequenceset_to_step(const TSequenceSet *ss); -extern TInstant *tsequenceset_to_tinstant(const TSequenceSet *ss); -extern TSequence *tsequenceset_to_tsequence(const TSequenceSet *ss); - -extern Temporal *tinstant_merge(const TInstant *inst1, const TInstant *inst2); -extern Temporal *tinstant_merge_array(TInstant **instants, int count); -extern Temporal *tsequence_append_tinstant(TSequence *seq, const TInstant *inst, double maxdist, const Interval *maxt, bool expand); -extern Temporal *tsequence_append_tsequence(const TSequence *seq1, const TSequence *seq2, bool expand); -extern Temporal *tsequence_delete_timestamptz(const TSequence *seq, TimestampTz t, bool connect); -extern Temporal *tsequence_delete_tstzset(const TSequence *seq, const Set *s, bool connect); -extern Temporal *tsequence_delete_tstzspan(const TSequence *seq, const Span *s, bool connect); -extern Temporal *tsequence_delete_tstzspanset(const TSequence *seq, const SpanSet *ss, bool connect); -extern Temporal *tsequence_insert(const TSequence *seq1, const TSequence *seq2, bool connect); -extern Temporal *tsequence_merge(const TSequence *seq1, const TSequence *seq2); -extern Temporal *tsequence_merge_array(TSequence **sequences, int count); -extern TSequenceSet *tsequenceset_append_tinstant(TSequenceSet *ss, const TInstant *inst, double maxdist, const Interval *maxt, bool expand); -extern TSequenceSet *tsequenceset_append_tsequence(TSequenceSet *ss, const TSequence *seq, bool expand); -extern TSequenceSet *tsequenceset_delete_timestamptz(const TSequenceSet *ss, TimestampTz t); -extern TSequenceSet *tsequenceset_delete_tstzset(const TSequenceSet *ss, const Set *s); -extern TSequenceSet *tsequenceset_delete_tstzspan(const TSequenceSet *ss, const Span *s); -extern TSequenceSet *tsequenceset_delete_tstzspanset(const TSequenceSet *ss, const SpanSet *ps); -extern TSequenceSet *tsequenceset_insert(const TSequenceSet *ss1, const TSequenceSet *ss2); -extern TSequenceSet *tsequenceset_merge(const TSequenceSet *ss1, const TSequenceSet *ss2); -extern TSequenceSet *tsequenceset_merge_array(TSequenceSet **seqsets, int count); - -extern void tsequence_expand_bbox(TSequence *seq, const TInstant *inst); -extern void tsequence_set_bbox(const TSequence *seq, void *box); -extern void tsequenceset_expand_bbox(TSequenceSet *ss, const TSequence *seq); -extern void tsequenceset_set_bbox(const TSequenceSet *ss, void *box); - -extern TSequence *tcontseq_after_timestamptz(const TSequence *seq, TimestampTz t, bool strict); -extern TSequence *tcontseq_before_timestamptz(const TSequence *seq, TimestampTz t, bool strict); -extern TSequenceSet *tcontseq_restrict_minmax(const TSequence *seq, bool min, bool atfunc); -extern TSequence *tdiscseq_after_timestamptz(const TSequence *seq, TimestampTz t, bool strict); -extern TSequence *tdiscseq_before_timestamptz(const TSequence *seq, TimestampTz t, bool strict); -extern TSequence *tdiscseq_restrict_minmax(const TSequence *seq, bool min, bool atfunc); -extern bool temporal_bbox_restrict_set(const Temporal *temp, const Set *set); -extern Temporal *temporal_restrict_minmax(const Temporal *temp, bool min, bool atfunc); -extern Temporal *temporal_restrict_timestamptz(const Temporal *temp, TimestampTz t, bool atfunc); -extern Temporal *temporal_restrict_tstzset(const Temporal *temp, const Set *s, bool atfunc); -extern Temporal *temporal_restrict_tstzspan(const Temporal *temp, const Span *s, bool atfunc); -extern Temporal *temporal_restrict_tstzspanset(const Temporal *temp, const SpanSet *ss, bool atfunc); -extern Temporal *temporal_restrict_value(const Temporal *temp, Datum value, bool atfunc); -extern Temporal *temporal_restrict_values(const Temporal *temp, const Set *set, bool atfunc); -extern bool temporal_value_at_timestamptz(const Temporal *temp, TimestampTz t, bool strict, Datum *result); -extern TInstant *tinstant_after_timestamptz(const TInstant *inst, TimestampTz t, bool strict); -extern TInstant *tinstant_before_timestamptz(const TInstant *inst, TimestampTz t, bool strict); -extern TInstant *tinstant_restrict_tstzspan(const TInstant *inst, const Span *period, bool atfunc); -extern TInstant *tinstant_restrict_tstzspanset(const TInstant *inst, const SpanSet *ss, bool atfunc); -extern TInstant *tinstant_restrict_timestamptz(const TInstant *inst, TimestampTz t, bool atfunc); -extern TInstant *tinstant_restrict_tstzset(const TInstant *inst, const Set *s, bool atfunc); -extern TInstant *tinstant_restrict_value(const TInstant *inst, Datum value, bool atfunc); -extern TInstant *tinstant_restrict_values(const TInstant *inst, const Set *set, bool atfunc); -extern Temporal *tnumber_restrict_span(const Temporal *temp, const Span *span, bool atfunc); -extern Temporal *tnumber_restrict_spanset(const Temporal *temp, const SpanSet *ss, bool atfunc); -extern TInstant *tnumberinst_restrict_span(const TInstant *inst, const Span *span, bool atfunc); -extern TInstant *tnumberinst_restrict_spanset(const TInstant *inst, const SpanSet *ss, bool atfunc); -extern TSequenceSet *tnumberseqset_restrict_span(const TSequenceSet *ss, const Span *span, bool atfunc); -extern TSequenceSet *tnumberseqset_restrict_spanset(const TSequenceSet *ss, const SpanSet *spanset, bool atfunc); -extern TInstant *tsequence_at_timestamptz(const TSequence *seq, TimestampTz t); -extern Temporal *tsequence_restrict_tstzspan(const TSequence *seq, const Span *s, bool atfunc); -extern Temporal *tsequence_restrict_tstzspanset(const TSequence *seq, const SpanSet *ss, bool atfunc); -extern TSequenceSet *tsequenceset_after_timestamptz(const TSequenceSet *ss, TimestampTz t, bool strict); -extern TSequenceSet *tsequenceset_before_timestamptz(const TSequenceSet *ss, TimestampTz t, bool strict); -extern TSequenceSet *tsequenceset_restrict_minmax(const TSequenceSet *ss, bool min, bool atfunc); -extern TSequenceSet *tsequenceset_restrict_tstzspan(const TSequenceSet *ss, const Span *s, bool atfunc); -extern TSequenceSet *tsequenceset_restrict_tstzspanset(const TSequenceSet *ss, const SpanSet *ps, bool atfunc); -extern Temporal *tsequenceset_restrict_timestamptz(const TSequenceSet *ss, TimestampTz t, bool atfunc); -extern Temporal *tsequenceset_restrict_tstzset(const TSequenceSet *ss, const Set *s, bool atfunc); -extern TSequenceSet *tsequenceset_restrict_value(const TSequenceSet *ss, Datum value, bool atfunc); -extern TSequenceSet *tsequenceset_restrict_values(const TSequenceSet *ss, const Set *s, bool atfunc); - -extern int tinstant_cmp(const TInstant *inst1, const TInstant *inst2); -extern bool tinstant_eq(const TInstant *inst1, const TInstant *inst2); -extern int tsequence_cmp(const TSequence *seq1, const TSequence *seq2); -extern bool tsequence_eq(const TSequence *seq1, const TSequence *seq2); -extern int tsequenceset_cmp(const TSequenceSet *ss1, const TSequenceSet *ss2); -extern bool tsequenceset_eq(const TSequenceSet *ss1, const TSequenceSet *ss2); - -extern int always_eq_base_temporal(Datum value, const Temporal *temp); -extern int always_eq_temporal_base(const Temporal *temp, Datum value); -extern int always_ne_base_temporal(Datum value, const Temporal *temp); -extern int always_ne_temporal_base(const Temporal *temp, Datum value); -extern int always_ge_base_temporal(Datum value, const Temporal *temp); -extern int always_ge_temporal_base(const Temporal *temp, Datum value); -extern int always_gt_base_temporal(Datum value, const Temporal *temp); -extern int always_gt_temporal_base(const Temporal *temp, Datum value); -extern int always_le_base_temporal(Datum value, const Temporal *temp); -extern int always_le_temporal_base(const Temporal *temp, Datum value); -extern int always_lt_base_temporal(Datum value, const Temporal *temp); -extern int always_lt_temporal_base(const Temporal *temp, Datum value); -extern int ever_eq_base_temporal(Datum value, const Temporal *temp); -extern int ever_eq_temporal_base(const Temporal *temp, Datum value); -extern int ever_ne_base_temporal(Datum value, const Temporal *temp); -extern int ever_ne_temporal_base(const Temporal *temp, Datum value); -extern int ever_ge_base_temporal(Datum value, const Temporal *temp); -extern int ever_ge_temporal_base(const Temporal *temp, Datum value); -extern int ever_gt_base_temporal(Datum value, const Temporal *temp); -extern int ever_gt_temporal_base(const Temporal *temp, Datum value); -extern int ever_le_base_temporal(Datum value, const Temporal *temp); -extern int ever_le_temporal_base(const Temporal *temp, Datum value); -extern int ever_lt_base_temporal(Datum value, const Temporal *temp); -extern int ever_lt_temporal_base(const Temporal *temp, Datum value); - -extern TInstant *tnumberinst_abs(const TInstant *inst); -extern TSequence *tnumberseq_abs(const TSequence *seq); -extern TSequence *tnumberseq_angular_difference(const TSequence *seq); -extern TSequence *tnumberseq_delta_value(const TSequence *seq); -extern TSequenceSet *tnumberseqset_abs(const TSequenceSet *ss); -extern TSequence *tnumberseqset_angular_difference(const TSequenceSet *ss); -extern TSequenceSet *tnumberseqset_delta_value(const TSequenceSet *ss); - -extern Temporal *tdistance_tnumber_number(const Temporal *temp, Datum value); -extern double nad_tbox_tbox(const TBox *box1, const TBox *box2); -extern double nad_tnumber_number(const Temporal *temp, Datum value); -extern double nad_tnumber_tbox(const Temporal *temp, const TBox *box); -extern double nad_tnumber_tnumber(const Temporal *temp1, const Temporal *temp2); - -extern double tnumberseq_integral(const TSequence *seq); -extern double tnumberseq_twavg(const TSequence *seq); -extern double tnumberseqset_integral(const TSequenceSet *ss); -extern double tnumberseqset_twavg(const TSequenceSet *ss); - -extern Temporal *temporal_compact(const Temporal *temp); -extern TSequence *tsequence_compact(const TSequence *seq); -extern TSequenceSet *tsequenceset_compact(const TSequenceSet *ss); - -extern SkipList *temporal_skiplist_make(); -extern SkipList *skiplist_make(size_t key_size, size_t value_size, - int (*comp_fn)(void *, void *), void *(*merge_fn)(void *, void *)); -extern int skiplist_search(SkipList *list, void *key, void *value); -extern void skiplist_free(SkipList *list); -extern void skiplist_splice(SkipList *list, void **keys, void **values, int count, datum_func2 func, bool crossings, SkipListType sktype); -extern void temporal_skiplist_splice(SkipList *list, void **values, int count, datum_func2 func, bool crossings); -extern void **skiplist_values(SkipList *list); -extern void **skiplist_keys_values(SkipList *list, void **values); - -extern Temporal *temporal_app_tinst_transfn(Temporal *state, const TInstant *inst, interpType interp, double maxdist, const Interval *maxt); -extern Temporal *temporal_app_tseq_transfn(Temporal *state, const TSequence *seq); - -extern Span *span_bins(const Span *s, Datum size, Datum origin, int *count); -extern Span *spanset_bins(const SpanSet *ss, Datum size, Datum origin, int *count); -extern Span *tnumber_value_bins(const Temporal *temp, Datum size, Datum origin, int *count); -extern TBox *tnumber_value_time_boxes(const Temporal *temp, Datum vsize, const Interval *duration, Datum vorigin, TimestampTz torigin, int *count); -extern Temporal **tnumber_value_split(const Temporal *temp, Datum vsize, Datum vorigin, Datum **bins, int *count); -extern TBox *tbox_get_value_time_tile(Datum value, TimestampTz t, Datum vsize, const Interval *duration, Datum vorigin, TimestampTz torigin, meosType basetype, meosType spantype); -extern Temporal **tnumber_value_time_split(const Temporal *temp, Datum size, const Interval *duration, Datum vorigin, TimestampTz torigin, Datum **value_bins, TimestampTz **time_bins, int *count); - - -//-------------------- meos_internal_geo.h -------------------- - - -//#include - -//#include - -//#include - -//#include -//#include -//#include - -extern PJ_CONTEXT *proj_get_context(void); - -extern Datum datum_geo_round(Datum value, Datum size); -extern GSERIALIZED *point_round(const GSERIALIZED *gs, int maxdd); - -extern void stbox_set(bool hasx, bool hasz, bool geodetic, int32 srid, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, const Span *s, STBox *box); - -extern void gbox_set_stbox(const GBOX *box, int32_t srid, STBox *result); -extern bool geo_set_stbox(const GSERIALIZED *gs, STBox *box); -extern void geoarr_set_stbox(const Datum *values, int count, STBox *box); -extern bool spatial_set_stbox(Datum d, meosType basetype, STBox *box); -extern void spatialset_set_stbox(const Set *set, STBox *box); -extern void stbox_set_box3d(const STBox *box, BOX3D *box3d); -extern void stbox_set_gbox(const STBox *box, GBOX *gbox); -extern void tstzset_set_stbox(const Set *s, STBox *box); -extern void tstzspan_set_stbox(const Span *s, STBox *box); -extern void tstzspanset_set_stbox(const SpanSet *s, STBox *box); - -extern void stbox_expand(const STBox *box1, STBox *box2); - -extern bool inter_stbox_stbox(const STBox *box1, const STBox *box2, STBox *result); -extern GSERIALIZED *stbox_geo(const STBox *box); - -/* extern TInstant *tgeogpointinst_from_mfjson(json_object *mfjson, int32_t srid); (undefined type json_object) */ -extern TInstant *tgeogpointinst_in(const char *str); -/* extern TSequence *tgeogpointseq_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); (undefined type json_object) */ -extern TSequence *tgeogpointseq_in(const char *str, interpType interp); -/* extern TSequenceSet *tgeogpointseqset_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); (undefined type json_object) */ -extern TSequenceSet *tgeogpointseqset_in(const char *str); -/* extern TInstant *tgeompointinst_from_mfjson(json_object *mfjson, int32_t srid); (undefined type json_object) */ -extern TInstant *tgeompointinst_in(const char *str); -/* extern TSequence *tgeompointseq_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); (undefined type json_object) */ -extern TSequence *tgeompointseq_in(const char *str, interpType interp); -/* extern TSequenceSet *tgeompointseqset_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); (undefined type json_object) */ -extern TSequenceSet *tgeompointseqset_in(const char *str); -/* extern TInstant *tgeographyinst_from_mfjson(json_object *mfjson, int32_t srid); (undefined type json_object) */ -extern TInstant *tgeographyinst_in(const char *str); -/* extern TSequence *tgeographyseq_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); (undefined type json_object) */ -extern TSequence *tgeographyseq_in(const char *str, interpType interp); -/* extern TSequenceSet *tgeographyseqset_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); (undefined type json_object) */ -extern TSequenceSet *tgeographyseqset_in(const char *str); -/* extern TInstant *tgeometryinst_from_mfjson(json_object *mfjson, int32_t srid); (undefined type json_object) */ -extern TInstant *tgeometryinst_in(const char *str); -/* extern TSequence *tgeometryseq_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); (undefined type json_object) */ -extern TSequence *tgeometryseq_in(const char *str, interpType interp); -/* extern TSequenceSet *tgeometryseqset_from_mfjson(json_object *mfjson, int32_t srid, interpType interp); (undefined type json_object) */ -extern TSequenceSet *tgeometryseqset_in(const char *str); - -extern void tspatial_set_stbox(const Temporal *temp, STBox *box); -extern void tgeoinst_set_stbox(const TInstant *inst, STBox *box); -extern void tspatialseq_set_stbox(const TSequence *seq, STBox *box); -extern void tspatialseqset_set_stbox(const TSequenceSet *ss, STBox *box); - -extern Temporal *tgeo_restrict_geom(const Temporal *temp, const GSERIALIZED *gs, const Span *zspan, bool atfunc); -extern Temporal *tgeo_restrict_stbox(const Temporal *temp, const STBox *box, bool border_inc, bool atfunc); -extern TInstant *tgeoinst_restrict_geom(const TInstant *inst, const GSERIALIZED *gs, const Span *zspan, bool atfunc); -extern TInstant *tgeoinst_restrict_stbox(const TInstant *inst, const STBox *box, bool border_inc, bool atfunc); -extern Temporal *tgeoseq_restrict_geom(const TSequence *seq, const GSERIALIZED *gs, const Span *zspan, bool atfunc); -extern Temporal *tgeoseq_restrict_stbox(const TSequence *seq, const STBox *box, bool border_inc, bool atfunc); -extern TSequenceSet *tgeoseqset_restrict_geom(const TSequenceSet *ss, const GSERIALIZED *gs, const Span *zspan, bool atfunc); -extern TSequenceSet *tgeoseqset_restrict_stbox(const TSequenceSet *ss, const STBox *box, bool border_inc, bool atfunc); - -extern int32_t spatial_srid(Datum d, meosType basetype); -extern bool spatial_set_srid(Datum d, meosType basetype, int32_t srid); -extern int tspatialinst_srid(const TInstant *inst); -extern TSequenceSet *tpointseq_azimuth(const TSequence *seq); -extern TSequence *tpointseq_cumulative_length(const TSequence *seq, double prevlength); -extern bool tpointseq_is_simple(const TSequence *seq); -extern double tpointseq_length(const TSequence *seq); -extern GSERIALIZED *tpointseq_linear_trajectory(const TSequence *seq, bool unary_union); -extern STBox *tgeoseq_stboxes(const TSequence *seq, int *count); -extern STBox *tgeoseq_split_n_stboxes(const TSequence *seq, int max_count, int *count); -extern TSequenceSet *tpointseqset_azimuth(const TSequenceSet *ss); -extern TSequenceSet *tpointseqset_cumulative_length(const TSequenceSet *ss); -extern bool tpointseqset_is_simple(const TSequenceSet *ss); -extern double tpointseqset_length(const TSequenceSet *ss); -extern STBox *tgeoseqset_stboxes(const TSequenceSet *ss, int *count); -extern STBox *tgeoseqset_split_n_stboxes(const TSequenceSet *ss, int max_count, int *count); -extern Temporal *tpoint_get_coord(const Temporal *temp, int coord); - -extern TInstant *tgeominst_tgeoginst(const TInstant *inst, bool oper); -extern TSequence *tgeomseq_tgeogseq(const TSequence *seq, bool oper); -extern TSequenceSet *tgeomseqset_tgeogseqset(const TSequenceSet *ss, bool oper); -extern Temporal *tgeom_tgeog(const Temporal *temp, bool oper); -extern Temporal *tgeo_tpoint(const Temporal *temp, bool oper); -extern void tspatialinst_set_srid(TInstant *inst, int32_t srid); -extern TSequence **tpointseq_make_simple(const TSequence *seq, int *count); -extern void tspatialseq_set_srid(TSequence *seq, int32_t srid); -extern TSequence **tpointseqset_make_simple(const TSequenceSet *ss, int *count); -extern void tspatialseqset_set_srid(TSequenceSet *ss, int32_t srid); - -extern GSERIALIZED *tpointseq_twcentroid(const TSequence *seq); -extern GSERIALIZED *tpointseqset_twcentroid(const TSequenceSet *ss); - - -//-------------------- meos_npoint.h -------------------- - - -//#include -//#include - -//#include -//#include -//#include - -typedef struct -{ - int64 rid; - double pos; -} Npoint; - -typedef struct -{ - int64 rid; - double pos1; - double pos2; -} Nsegment; - - //#else - - - //#else - - -extern char *npoint_as_ewkt(const Npoint *np, int maxdd); -extern char *npoint_as_hexwkb(const Npoint *np, uint8_t variant, size_t *size_out); -extern char *npoint_as_text(const Npoint *np, int maxdd); -extern uint8_t *npoint_as_wkb(const Npoint *np, uint8_t variant, size_t *size_out); -extern Npoint *npoint_from_hexwkb(const char *hexwkb); -extern Npoint *npoint_from_wkb(const uint8_t *wkb, size_t size); -extern Npoint *npoint_in(const char *str); -extern char *npoint_out(const Npoint *np, int maxdd); -extern Nsegment *nsegment_in(const char *str); -extern char *nsegment_out(const Nsegment *ns, int maxdd); - -extern Npoint *npoint_make(int64 rid, double pos); -extern Nsegment *nsegment_make(int64 rid, double pos1, double pos2); - -extern Npoint *geompoint_to_npoint(const GSERIALIZED *gs); -extern Nsegment *geom_to_nsegment(const GSERIALIZED *gs); -extern GSERIALIZED *npoint_to_geompoint(const Npoint *np); -extern Nsegment *npoint_to_nsegment(const Npoint *np); -extern STBox *npoint_to_stbox(const Npoint *np); -extern GSERIALIZED *nsegment_to_geom(const Nsegment *ns); -extern STBox *nsegment_to_stbox(const Nsegment *np); - -extern uint32 npoint_hash(const Npoint *np); -extern uint64 npoint_hash_extended(const Npoint *np, uint64 seed); -extern double npoint_position(const Npoint *np); -extern int64 npoint_route(const Npoint *np); -extern double nsegment_end_position(const Nsegment *ns); -extern int64 nsegment_route(const Nsegment *ns); -extern double nsegment_start_position(const Nsegment *ns); - -extern bool route_exists(int64 rid); -extern const GSERIALIZED *route_geom(int64 rid); -extern double route_length(int64 rid); - -extern Npoint *npoint_round(const Npoint *np, int maxdd); -extern Nsegment *nsegment_round(const Nsegment *ns, int maxdd); - -extern int32_t get_srid_ways(void); -extern int32_t npoint_srid(const Npoint *np); -extern int32_t nsegment_srid(const Nsegment *ns); - -extern STBox *npoint_timestamptz_to_stbox(const Npoint *np, TimestampTz t); -extern STBox *npoint_tstzspan_to_stbox(const Npoint *np, const Span *s); - -extern int npoint_cmp(const Npoint *np1, const Npoint *np2); -extern bool npoint_eq(const Npoint *np1, const Npoint *np2); -extern bool npoint_ge(const Npoint *np1, const Npoint *np2); -extern bool npoint_gt(const Npoint *np1, const Npoint *np2); -extern bool npoint_le(const Npoint *np1, const Npoint *np2); -extern bool npoint_lt(const Npoint *np1, const Npoint *np2); -extern bool npoint_ne(const Npoint *np1, const Npoint *np2); -extern bool npoint_same(const Npoint *np1, const Npoint *np2); -extern int nsegment_cmp(const Nsegment *ns1, const Nsegment *ns2); -extern bool nsegment_eq(const Nsegment *ns1, const Nsegment *ns2); -extern bool nsegment_ge(const Nsegment *ns1, const Nsegment *ns2); -extern bool nsegment_gt(const Nsegment *ns1, const Nsegment *ns2); -extern bool nsegment_le(const Nsegment *ns1, const Nsegment *ns2); -extern bool nsegment_lt(const Nsegment *ns1, const Nsegment *ns2); -extern bool nsegment_ne(const Nsegment *ns1, const Nsegment *ns2); - -extern Set *npointset_in(const char *str); -extern char *npointset_out(const Set *s, int maxdd); - -extern Set *npointset_make(Npoint **values, int count); - -extern Set *npoint_to_set(const Npoint *np); - -extern Npoint *npointset_end_value(const Set *s); -extern Set *npointset_routes(const Set *s); -extern Npoint *npointset_start_value(const Set *s); -extern bool npointset_value_n(const Set *s, int n, Npoint **result); -extern Npoint **npointset_values(const Set *s); - -extern bool contained_npoint_set(const Npoint *np, const Set *s); -extern bool contains_set_npoint(const Set *s, const Npoint *np); -extern Set *intersection_npoint_set(const Npoint *np, const Set *s); -extern Set *intersection_set_npoint(const Set *s, const Npoint *np); -extern Set *minus_npoint_set(const Npoint *np, const Set *s); -extern Set *minus_set_npoint(const Set *s, const Npoint *np); -extern Set *npoint_union_transfn(Set *state, const Npoint *np); -extern Set *union_npoint_set(const Npoint *np, const Set *s); -extern Set *union_set_npoint(const Set *s, const Npoint *np); - -extern Temporal *tnpoint_in(const char *str); -extern char *tnpoint_out(const Temporal *temp, int maxdd); - -extern TInstant *tnpointinst_make(const Npoint *np, TimestampTz t); - -extern Temporal *tgeompoint_to_tnpoint(const Temporal *temp); -extern Temporal *tnpoint_to_tgeompoint(const Temporal *temp); - -extern Temporal *tnpoint_cumulative_length(const Temporal *temp); -extern double tnpoint_length(const Temporal *temp); -extern Nsegment **tnpoint_positions(const Temporal *temp, int *count); -extern int64 tnpoint_route(const Temporal *temp); -extern Set *tnpoint_routes(const Temporal *temp); -extern Temporal *tnpoint_speed(const Temporal *temp); -extern GSERIALIZED *tnpoint_trajectory(const Temporal *temp); -extern GSERIALIZED *tnpoint_twcentroid(const Temporal *temp); - -extern Temporal *tnpoint_at_geom(const Temporal *temp, const GSERIALIZED *gs); -extern Temporal *tnpoint_at_npoint(const Temporal *temp, const Npoint *np); -extern Temporal *tnpoint_at_npointset(const Temporal *temp, const Set *s); -extern Temporal *tnpoint_at_stbox(const Temporal *temp, const STBox *box, bool border_inc); -extern Temporal *tnpoint_minus_geom(const Temporal *temp, const GSERIALIZED *gs); -extern Temporal *tnpoint_minus_npoint(const Temporal *temp, const Npoint *np); -extern Temporal *tnpoint_minus_npointset(const Temporal *temp, const Set *s); -extern Temporal *tnpoint_minus_stbox(const Temporal *temp, const STBox *box, bool border_inc); - -extern Temporal *tdistance_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern Temporal *tdistance_tnpoint_point(const Temporal *temp, const GSERIALIZED *gs); -extern Temporal *tdistance_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); -extern double nad_tnpoint_geo(const Temporal *temp, const GSERIALIZED *gs); -extern double nad_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern double nad_tnpoint_stbox(const Temporal *temp, const STBox *box); -extern double nad_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); -extern TInstant *nai_tnpoint_geo(const Temporal *temp, const GSERIALIZED *gs); -extern TInstant *nai_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern TInstant *nai_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); -extern GSERIALIZED *shortestline_tnpoint_geo(const Temporal *temp, const GSERIALIZED *gs); -extern GSERIALIZED *shortestline_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern GSERIALIZED *shortestline_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); - -extern SkipList *tnpoint_tcentroid_transfn(SkipList *state, Temporal *temp); - -extern int always_eq_npoint_tnpoint(const Npoint *np, const Temporal *temp); -extern int always_eq_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern int always_eq_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); -extern int always_ne_npoint_tnpoint(const Npoint *np, const Temporal *temp); -extern int always_ne_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern int always_ne_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); -extern int ever_eq_npoint_tnpoint(const Npoint *np, const Temporal *temp); -extern int ever_eq_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern int ever_eq_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); -extern int ever_ne_npoint_tnpoint(const Npoint *np, const Temporal *temp); -extern int ever_ne_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern int ever_ne_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2); - -extern Temporal *teq_tnpoint_npoint(const Temporal *temp, const Npoint *np); -extern Temporal *tne_tnpoint_npoint(const Temporal *temp, const Npoint *np); - - - -extern "Python" void py_error_handler(int, int, char*); \ No newline at end of file diff --git a/builder/smoke_test.py b/builder/smoke_test.py new file mode 100644 index 0000000..d3f9801 --- /dev/null +++ b/builder/smoke_test.py @@ -0,0 +1,40 @@ +"""Post-install smoke test for the catalog-driven PyMEOS CFFI build. + +Run after ``pip install`` of the freshly built wheel/sdist. The assertions are +shape-driven and evaluated before any MEOS runtime state is initialised so a +misbehaving wrapper cannot mask itself behind a crash inside ``meos_finalize``. +""" +import inspect +import os + +import pymeos_cffi +from pymeos_cffi import meos_initialize, meos_finalize, tstzspan_make +import pymeos_cffi.functions as f + +label = os.environ.get("PYMEOS_SMOKE_OS", "this platform") + +assert callable(tstzspan_make), "tstzspan_make missing" +assert callable(f.tpoint_as_mvtgeom), "tpoint_as_mvtgeom missing" + +# gsarr / timesarr are output parameters, not user-facing list args: they must +# NOT appear in the wrapper's parameter list. +sig = inspect.signature(f.tpoint_as_mvtgeom) +for forbidden in ("gsarr", "timesarr"): + assert forbidden not in sig.parameters, ( + f"tpoint_as_mvtgeom unexpectedly takes {forbidden} as input" + ) + +# meos_initialize.tz_str is nullable -> surfaces as a typed Optional. Verify the +# annotation rather than calling, since cycling finalize() can hit known MEOS +# global-state quirks unrelated to the codegen. +ms_sig = inspect.signature(meos_initialize) +tz_param = ms_sig.parameters.get("tz_str") +assert tz_param is not None, "meos_initialize lost tz_str arg" +assert "None" in str(tz_param.annotation), ( + f"tz_str annotation does not allow None: {tz_param.annotation}" +) + +# Live initialisation check: the standard happy-path cycle works. +meos_initialize("UTC") +meos_finalize() +print(f"PyMEOS CFFI build + shape smoke test OK on {label}") diff --git a/builder/templates/init.py b/builder/templates/init.py index 2fccb29..93c8fae 100644 --- a/builder/templates/init.py +++ b/builder/templates/init.py @@ -2,7 +2,7 @@ from .errors import * from .functions import * -__version__ = "1.3.0a2" +__version__ = "1.4.0a1" __all__ = [ # Exceptions "MeosException", diff --git a/pymeos_cffi/__init__.py b/pymeos_cffi/__init__.py index 0ac836e..702dea4 100644 --- a/pymeos_cffi/__init__.py +++ b/pymeos_cffi/__init__.py @@ -2,7 +2,7 @@ from .errors import * from .functions import * -__version__ = "1.3.0a2" +__version__ = "1.4.0a1" __all__ = [ # Exceptions "MeosException", @@ -68,6 +68,14 @@ "timestamp_out", "timestamptz_in", "timestamptz_out", + "meos_array_create", + "meos_array_add", + "meos_array_get", + "meos_array_count", + "meos_array_reset", + "meos_array_reset_free", + "meos_array_destroy", + "meos_array_destroy_free", "rtree_create_intspan", "rtree_create_bigintspan", "rtree_create_floatspan", @@ -77,7 +85,9 @@ "rtree_create_stbox", "rtree_free", "rtree_insert", + "rtree_insert_temporal", "rtree_search", + "rtree_search_temporal", "meos_error", "meos_errno", "meos_errno_set", @@ -1277,6 +1287,8 @@ "tbool_tand_transfn", "tbool_tor_transfn", "temporal_extent_transfn", + "temporal_merge_transfn", + "temporal_merge_combinefn", "temporal_tagg_finalfn", "temporal_tcount_transfn", "tfloat_tmax_transfn", @@ -1382,10 +1394,10 @@ "ensure_timespanset_type", "temporal_type", "temporal_basetype", - "temptype_continuous", + "temptype_supports_linear", "basetype_byvalue", "basetype_varlength", - "basetype_length", + "meostype_length", "talphanum_type", "talpha_type", "tnumber_type", @@ -1664,8 +1676,10 @@ "tgeo_minus_geom", "tgeo_minus_stbox", "tgeo_minus_value", + "tpoint_at_elevation", "tpoint_at_geom", "tpoint_at_value", + "tpoint_minus_elevation", "tpoint_minus_geom", "tpoint_minus_value", "always_eq_geo_tgeo", @@ -1808,6 +1822,8 @@ "nai_tgeo_tgeo", "shortestline_tgeo_geo", "shortestline_tgeo_tgeo", + "tgeoarr_tgeoarr_mindist", + "mindistance_tgeo_tgeo", "tpoint_tcentroid_finalfn", "tpoint_tcentroid_transfn", "tspatial_extent_transfn", @@ -2269,6 +2285,7 @@ "tgeoinst_set_stbox", "tspatialseq_set_stbox", "tspatialseqset_set_stbox", + "tgeo_restrict_elevation", "tgeo_restrict_geom", "tgeo_restrict_stbox", "tgeoinst_restrict_geom", @@ -2376,17 +2393,27 @@ "union_npoint_set", "union_set_npoint", "tnpoint_in", + "tnpoint_from_mfjson", "tnpoint_out", "tnpointinst_make", + "tnpoint_from_base_temp", + "tnpointseq_from_base_tstzset", + "tnpointseq_from_base_tstzspan", + "tnpointseqset_from_base_tstzspanset", "tgeompoint_to_tnpoint", "tnpoint_to_tgeompoint", "tnpoint_cumulative_length", + "tnpoint_end_value", "tnpoint_length", "tnpoint_positions", "tnpoint_route", "tnpoint_routes", "tnpoint_speed", + "tnpoint_start_value", "tnpoint_trajectory", + "tnpoint_value_at_timestamptz", + "tnpoint_value_n", + "tnpoint_values", "tnpoint_twcentroid", "tnpoint_at_geom", "tnpoint_at_npoint", @@ -2424,4 +2451,364 @@ "ever_ne_tnpoint_tnpoint", "teq_tnpoint_npoint", "tne_tnpoint_npoint", + "cbuffer_as_ewkt", + "cbuffer_as_hexwkb", + "cbuffer_as_text", + "cbuffer_as_wkb", + "cbuffer_from_hexwkb", + "cbuffer_from_wkb", + "cbuffer_in", + "cbuffer_out", + "cbuffer_copy", + "cbuffer_make", + "cbuffer_to_geom", + "cbuffer_to_stbox", + "cbufferarr_to_geom", + "geom_to_cbuffer", + "cbuffer_hash", + "cbuffer_hash_extended", + "cbuffer_point", + "cbuffer_radius", + "cbuffer_round", + "cbufferarr_round", + "cbuffer_set_srid", + "cbuffer_srid", + "cbuffer_transform", + "cbuffer_transform_pipeline", + "contains_cbuffer_cbuffer", + "covers_cbuffer_cbuffer", + "disjoint_cbuffer_cbuffer", + "dwithin_cbuffer_cbuffer", + "intersects_cbuffer_cbuffer", + "touches_cbuffer_cbuffer", + "cbuffer_tstzspan_to_stbox", + "cbuffer_timestamptz_to_stbox", + "distance_cbuffer_cbuffer", + "distance_cbuffer_geo", + "distance_cbuffer_stbox", + "nad_cbuffer_stbox", + "cbuffer_cmp", + "cbuffer_eq", + "cbuffer_ge", + "cbuffer_gt", + "cbuffer_le", + "cbuffer_lt", + "cbuffer_ne", + "cbuffer_nsame", + "cbuffer_same", + "cbufferset_in", + "cbufferset_out", + "cbufferset_make", + "cbuffer_to_set", + "cbufferset_end_value", + "cbufferset_start_value", + "cbufferset_value_n", + "cbufferset_values", + "cbuffer_union_transfn", + "contained_cbuffer_set", + "contains_set_cbuffer", + "intersection_cbuffer_set", + "intersection_set_cbuffer", + "minus_cbuffer_set", + "minus_set_cbuffer", + "union_cbuffer_set", + "union_set_cbuffer", + "tcbuffer_in", + "tcbuffer_from_mfjson", + "tcbufferinst_make", + "tcbuffer_make", + "tcbuffer_from_base_temp", + "tcbufferseq_from_base_tstzset", + "tcbufferseq_from_base_tstzspan", + "tcbufferseqset_from_base_tstzspanset", + "tcbuffer_end_value", + "tcbuffer_points", + "tcbuffer_radius", + "tcbuffer_start_value", + "tcbuffer_trav_area", + "tcbuffer_value_at_timestamptz", + "tcbuffer_value_n", + "tcbuffer_values", + "tcbuffer_to_tfloat", + "tcbuffer_to_tgeompoint", + "tgeometry_to_tcbuffer", + "tcbuffer_expand", + "tcbuffer_at_cbuffer", + "tcbuffer_at_geom", + "tcbuffer_at_stbox", + "tcbuffer_minus_cbuffer", + "tcbuffer_minus_geom", + "tcbuffer_minus_stbox", + "tdistance_tcbuffer_cbuffer", + "tdistance_tcbuffer_geo", + "tdistance_tcbuffer_tcbuffer", + "nad_tcbuffer_cbuffer", + "nad_tcbuffer_geo", + "nad_tcbuffer_stbox", + "nad_tcbuffer_tcbuffer", + "nai_tcbuffer_cbuffer", + "nai_tcbuffer_geo", + "nai_tcbuffer_tcbuffer", + "shortestline_tcbuffer_cbuffer", + "shortestline_tcbuffer_geo", + "shortestline_tcbuffer_tcbuffer", + "always_eq_cbuffer_tcbuffer", + "always_eq_tcbuffer_cbuffer", + "always_eq_tcbuffer_tcbuffer", + "always_ne_cbuffer_tcbuffer", + "always_ne_tcbuffer_cbuffer", + "always_ne_tcbuffer_tcbuffer", + "ever_eq_cbuffer_tcbuffer", + "ever_eq_tcbuffer_cbuffer", + "ever_eq_tcbuffer_tcbuffer", + "ever_ne_cbuffer_tcbuffer", + "ever_ne_tcbuffer_cbuffer", + "ever_ne_tcbuffer_tcbuffer", + "teq_cbuffer_tcbuffer", + "teq_tcbuffer_cbuffer", + "tne_cbuffer_tcbuffer", + "tne_tcbuffer_cbuffer", + "acontains_cbuffer_tcbuffer", + "acontains_geo_tcbuffer", + "acontains_tcbuffer_cbuffer", + "acontains_tcbuffer_geo", + "acovers_cbuffer_tcbuffer", + "acovers_geo_tcbuffer", + "acovers_tcbuffer_cbuffer", + "acovers_tcbuffer_geo", + "adisjoint_tcbuffer_geo", + "adisjoint_tcbuffer_cbuffer", + "adisjoint_tcbuffer_tcbuffer", + "adwithin_tcbuffer_geo", + "adwithin_tcbuffer_cbuffer", + "adwithin_tcbuffer_tcbuffer", + "aintersects_tcbuffer_geo", + "aintersects_tcbuffer_cbuffer", + "aintersects_tcbuffer_tcbuffer", + "atouches_tcbuffer_geo", + "atouches_tcbuffer_cbuffer", + "atouches_tcbuffer_tcbuffer", + "econtains_cbuffer_tcbuffer", + "econtains_tcbuffer_cbuffer", + "econtains_tcbuffer_geo", + "ecovers_cbuffer_tcbuffer", + "ecovers_tcbuffer_cbuffer", + "ecovers_tcbuffer_geo", + "ecovers_tcbuffer_tcbuffer", + "edisjoint_tcbuffer_geo", + "edisjoint_tcbuffer_cbuffer", + "edwithin_tcbuffer_geo", + "edwithin_tcbuffer_cbuffer", + "edwithin_tcbuffer_tcbuffer", + "eintersects_tcbuffer_geo", + "eintersects_tcbuffer_cbuffer", + "eintersects_tcbuffer_tcbuffer", + "etouches_tcbuffer_geo", + "etouches_tcbuffer_cbuffer", + "etouches_tcbuffer_tcbuffer", + "tcontains_cbuffer_tcbuffer", + "tcontains_geo_tcbuffer", + "tcontains_tcbuffer_geo", + "tcontains_tcbuffer_cbuffer", + "tcontains_tcbuffer_tcbuffer", + "tcovers_cbuffer_tcbuffer", + "tcovers_geo_tcbuffer", + "tcovers_tcbuffer_geo", + "tcovers_tcbuffer_cbuffer", + "tcovers_tcbuffer_tcbuffer", + "tdwithin_geo_tcbuffer", + "tdwithin_tcbuffer_geo", + "tdwithin_tcbuffer_cbuffer", + "tdwithin_tcbuffer_tcbuffer", + "tdisjoint_cbuffer_tcbuffer", + "tdisjoint_geo_tcbuffer", + "tdisjoint_tcbuffer_geo", + "tdisjoint_tcbuffer_cbuffer", + "tdisjoint_tcbuffer_tcbuffer", + "tintersects_cbuffer_tcbuffer", + "tintersects_geo_tcbuffer", + "tintersects_tcbuffer_geo", + "tintersects_tcbuffer_cbuffer", + "tintersects_tcbuffer_tcbuffer", + "ttouches_geo_tcbuffer", + "ttouches_tcbuffer_geo", + "ttouches_cbuffer_tcbuffer", + "ttouches_tcbuffer_cbuffer", + "ttouches_tcbuffer_tcbuffer", + "pose_as_ewkt", + "pose_as_hexwkb", + "pose_as_text", + "pose_as_wkb", + "pose_from_wkb", + "pose_from_hexwkb", + "pose_in", + "pose_out", + "pose_copy", + "pose_make_2d", + "pose_make_3d", + "pose_make_point2d", + "pose_make_point3d", + "pose_to_point", + "pose_to_stbox", + "pose_hash", + "pose_hash_extended", + "pose_orientation", + "pose_rotation", + "pose_round", + "posearr_round", + "pose_set_srid", + "pose_srid", + "pose_transform", + "pose_transform_pipeline", + "pose_tstzspan_to_stbox", + "pose_timestamptz_to_stbox", + "distance_pose_geo", + "distance_pose_pose", + "distance_pose_stbox", + "pose_cmp", + "pose_eq", + "pose_ge", + "pose_gt", + "pose_le", + "pose_lt", + "pose_ne", + "pose_nsame", + "pose_same", + "poseset_in", + "poseset_out", + "poseset_make", + "pose_to_set", + "poseset_end_value", + "poseset_start_value", + "poseset_value_n", + "poseset_values", + "contained_pose_set", + "contains_set_pose", + "intersection_pose_set", + "intersection_set_pose", + "minus_pose_set", + "minus_set_pose", + "pose_union_transfn", + "union_pose_set", + "union_set_pose", + "tpose_from_mfjson", + "tpose_in", + "tposeinst_make", + "tpose_from_base_temp", + "tposeseq_from_base_tstzset", + "tposeseq_from_base_tstzspan", + "tposeseqset_from_base_tstzspanset", + "tpose_make", + "tpose_to_tpoint", + "tpose_end_value", + "tpose_points", + "tpose_rotation", + "tpose_start_value", + "tpose_trajectory", + "tpose_value_at_timestamptz", + "tpose_value_n", + "tpose_values", + "tpose_at_geom", + "tpose_at_stbox", + "tpose_at_pose", + "tpose_minus_geom", + "tpose_minus_pose", + "tpose_minus_stbox", + "tdistance_tpose_pose", + "tdistance_tpose_point", + "tdistance_tpose_tpose", + "nad_tpose_geo", + "nad_tpose_pose", + "nad_tpose_stbox", + "nad_tpose_tpose", + "nai_tpose_geo", + "nai_tpose_pose", + "nai_tpose_tpose", + "shortestline_tpose_geo", + "shortestline_tpose_pose", + "shortestline_tpose_tpose", + "always_eq_pose_tpose", + "always_eq_tpose_pose", + "always_eq_tpose_tpose", + "always_ne_pose_tpose", + "always_ne_tpose_pose", + "always_ne_tpose_tpose", + "ever_eq_pose_tpose", + "ever_eq_tpose_pose", + "ever_eq_tpose_tpose", + "ever_ne_pose_tpose", + "ever_ne_tpose_pose", + "ever_ne_tpose_tpose", + "teq_pose_tpose", + "teq_tpose_pose", + "tne_pose_tpose", + "tne_tpose_pose", + "trgeo_out", + "trgeoinst_make", + "geo_tpose_to_trgeo", + "trgeo_to_tpose", + "trgeo_to_tpoint", + "trgeo_end_instant", + "trgeo_end_sequence", + "trgeo_end_value", + "trgeo_geom", + "trgeo_instant_n", + "trgeo_instants", + "trgeo_points", + "trgeo_rotation", + "trgeo_segments", + "trgeo_sequence_n", + "trgeo_sequences", + "trgeo_start_instant", + "trgeo_start_sequence", + "trgeo_start_value", + "trgeo_value_n", + "trgeo_traversed_area", + "trgeo_append_tinstant", + "trgeo_append_tsequence", + "trgeo_delete_timestamptz", + "trgeo_delete_tstzset", + "trgeo_delete_tstzspan", + "trgeo_delete_tstzspanset", + "trgeo_round", + "trgeo_set_interp", + "trgeo_to_tinstant", + "trgeo_after_timestamptz", + "trgeo_before_timestamptz", + "trgeo_restrict_value", + "trgeo_restrict_values", + "trgeo_restrict_timestamptz", + "trgeo_restrict_tstzset", + "trgeo_restrict_tstzspan", + "trgeo_restrict_tstzspanset", + "tdistance_trgeo_geo", + "tdistance_trgeo_tpoint", + "tdistance_trgeo_trgeo", + "nad_stbox_trgeo", + "nad_trgeo_geo", + "nad_trgeo_stbox", + "nad_trgeo_tpoint", + "nad_trgeo_trgeo", + "nai_trgeo_geo", + "nai_trgeo_tpoint", + "nai_trgeo_trgeo", + "shortestline_trgeo_geo", + "shortestline_trgeo_tpoint", + "shortestline_trgeo_trgeo", + "always_eq_geo_trgeo", + "always_eq_trgeo_geo", + "always_eq_trgeo_trgeo", + "always_ne_geo_trgeo", + "always_ne_trgeo_geo", + "always_ne_trgeo_trgeo", + "ever_eq_geo_trgeo", + "ever_eq_trgeo_geo", + "ever_eq_trgeo_trgeo", + "ever_ne_geo_trgeo", + "ever_ne_trgeo_geo", + "ever_ne_trgeo_trgeo", + "teq_geo_trgeo", + "teq_trgeo_geo", + "tne_geo_trgeo", + "tne_trgeo_geo", ] diff --git a/pymeos_cffi/functions.py b/pymeos_cffi/functions.py index e6b4e93..ddf6922 100644 --- a/pymeos_cffi/functions.py +++ b/pymeos_cffi/functions.py @@ -263,6 +263,59 @@ def timestamptz_out(t: int) -> Annotated[str, "char *"]: return result if result != _ffi.NULL else None +def meos_array_create(elem_size: int) -> Annotated[_ffi.CData, "MeosArray *"]: + result = _lib.meos_array_create(elem_size) + _check_error() + return result if result != _ffi.NULL else None + + +def meos_array_add( + array: Annotated[_ffi.CData, "MeosArray *"], value: Annotated[_ffi.CData, "void *"] +) -> Annotated[None, "void"]: + array_converted = _ffi.cast("MeosArray *", array) + value_converted = _ffi.cast("void *", value) + _lib.meos_array_add(array_converted, value_converted) + _check_error() + + +def meos_array_get(array: Annotated[_ffi.CData, "const MeosArray *"], n: int) -> Annotated[_ffi.CData, "void *"]: + array_converted = _ffi.cast("const MeosArray *", array) + result = _lib.meos_array_get(array_converted, n) + _check_error() + return result if result != _ffi.NULL else None + + +def meos_array_count(array: Annotated[_ffi.CData, "const MeosArray *"]) -> Annotated[int, "int"]: + array_converted = _ffi.cast("const MeosArray *", array) + result = _lib.meos_array_count(array_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def meos_array_reset(array: Annotated[_ffi.CData, "MeosArray *"]) -> Annotated[None, "void"]: + array_converted = _ffi.cast("MeosArray *", array) + _lib.meos_array_reset(array_converted) + _check_error() + + +def meos_array_reset_free(array: Annotated[_ffi.CData, "MeosArray *"]) -> Annotated[None, "void"]: + array_converted = _ffi.cast("MeosArray *", array) + _lib.meos_array_reset_free(array_converted) + _check_error() + + +def meos_array_destroy(array: Annotated[_ffi.CData, "MeosArray *"]) -> Annotated[None, "void"]: + array_converted = _ffi.cast("MeosArray *", array) + _lib.meos_array_destroy(array_converted) + _check_error() + + +def meos_array_destroy_free(array: Annotated[_ffi.CData, "MeosArray *"]) -> Annotated[None, "void"]: + array_converted = _ffi.cast("MeosArray *", array) + _lib.meos_array_destroy_free(array_converted) + _check_error() + + def rtree_create_intspan() -> Annotated[_ffi.CData, "RTree *"]: result = _lib.rtree_create_intspan() _check_error() @@ -316,20 +369,45 @@ def rtree_insert( ) -> Annotated[None, "void"]: rtree_converted = _ffi.cast("RTree *", rtree) box_converted = _ffi.cast("void *", box) - id_converted = _ffi.cast("int64", id) - _lib.rtree_insert(rtree_converted, box_converted, id_converted) + _lib.rtree_insert(rtree_converted, box_converted, id) + _check_error() + + +def rtree_insert_temporal( + rtree: Annotated[_ffi.CData, "RTree *"], temp: Annotated[_ffi.CData, "const Temporal *"], id: int +) -> Annotated[None, "void"]: + rtree_converted = _ffi.cast("RTree *", rtree) + temp_converted = _ffi.cast("const Temporal *", temp) + _lib.rtree_insert_temporal(rtree_converted, temp_converted, id) _check_error() def rtree_search( - rtree: Annotated[_ffi.CData, "const RTree *"], query: Annotated[_ffi.CData, "const void *"] -) -> tuple[Annotated[_ffi.CData, "int *"], Annotated[_ffi.CData, "int"]]: + rtree: Annotated[_ffi.CData, "const RTree *"], + op: Annotated[_ffi.CData, "RTreeSearchOp"], + query: Annotated[_ffi.CData, "const void *"], +) -> Annotated[_ffi.CData, "MeosArray *"]: rtree_converted = _ffi.cast("const RTree *", rtree) + op_converted = _ffi.cast("RTreeSearchOp", op) query_converted = _ffi.cast("const void *", query) - count = _ffi.new("int *") - result = _lib.rtree_search(rtree_converted, query_converted, count) + out_result = _ffi.new("MeosArray *") + _lib.rtree_search(rtree_converted, op_converted, query_converted, out_result) _check_error() - return result if result != _ffi.NULL else None, count[0] + return out_result if out_result != _ffi.NULL else None + + +def rtree_search_temporal( + rtree: Annotated[_ffi.CData, "const RTree *"], + op: Annotated[_ffi.CData, "RTreeSearchOp"], + temp: Annotated[_ffi.CData, "const Temporal *"], +) -> Annotated[_ffi.CData, "MeosArray *"]: + rtree_converted = _ffi.cast("const RTree *", rtree) + op_converted = _ffi.cast("RTreeSearchOp", op) + temp_converted = _ffi.cast("const Temporal *", temp) + out_result = _ffi.new("MeosArray *") + _lib.rtree_search_temporal(rtree_converted, op_converted, temp_converted, out_result) + _check_error() + return out_result if out_result != _ffi.NULL else None def meos_error(errlevel: int, errcode: int, format: str) -> Annotated[None, "void"]: @@ -10326,6 +10404,26 @@ def temporal_extent_transfn( return result if result != _ffi.NULL else None +def temporal_merge_transfn( + state: Annotated[_ffi.CData, "SkipList *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "SkipList *"]: + state_converted = _ffi.cast("SkipList *", state) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.temporal_merge_transfn(state_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def temporal_merge_combinefn( + state1: Annotated[_ffi.CData, "SkipList *"], state2: Annotated[_ffi.CData, "SkipList *"] +) -> Annotated[_ffi.CData, "SkipList *"]: + state1_converted = _ffi.cast("SkipList *", state1) + state2_converted = _ffi.cast("SkipList *", state2) + result = _lib.temporal_merge_combinefn(state1_converted, state2_converted) + _check_error() + return result if result != _ffi.NULL else None + + def temporal_tagg_finalfn(state: Annotated[_ffi.CData, "SkipList *"]) -> Annotated[_ffi.CData, "Temporal *"]: state_converted = _ffi.cast("SkipList *", state) result = _lib.temporal_tagg_finalfn(state_converted) @@ -11028,464 +11126,464 @@ def interptype_from_string(interp_str: str) -> Annotated[InterpolationType, "int return result if result != _ffi.NULL else None -def meostype_name(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[str, "const char *"]: - type_converted = _ffi.cast("meosType", type) +def meostype_name(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[str, "const char *"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.meostype_name(type_converted) _check_error() result = _ffi.string(result).decode("utf-8") return result if result != _ffi.NULL else None -def temptype_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "meosType"]: - type_converted = _ffi.cast("meosType", type) +def temptype_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "MeosType"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.temptype_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def settype_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "meosType"]: - type_converted = _ffi.cast("meosType", type) +def settype_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "MeosType"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.settype_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def spantype_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "meosType"]: - type_converted = _ffi.cast("meosType", type) +def spantype_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "MeosType"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.spantype_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def spantype_spansettype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "meosType"]: - type_converted = _ffi.cast("meosType", type) +def spantype_spansettype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "MeosType"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.spantype_spansettype(type_converted) _check_error() return result if result != _ffi.NULL else None -def spansettype_spantype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "meosType"]: - type_converted = _ffi.cast("meosType", type) +def spansettype_spantype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "MeosType"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.spansettype_spantype(type_converted) _check_error() return result if result != _ffi.NULL else None -def basetype_spantype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "meosType"]: - type_converted = _ffi.cast("meosType", type) +def basetype_spantype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "MeosType"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.basetype_spantype(type_converted) _check_error() return result if result != _ffi.NULL else None -def basetype_settype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "meosType"]: - type_converted = _ffi.cast("meosType", type) +def basetype_settype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "MeosType"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.basetype_settype(type_converted) _check_error() return result if result != _ffi.NULL else None -def tnumber_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tnumber_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tnumber_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def geo_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def geo_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.geo_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def meos_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def meos_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.meos_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def alphanum_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def alphanum_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.alphanum_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def alphanum_temptype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def alphanum_temptype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.alphanum_temptype(type_converted) _check_error() return result if result != _ffi.NULL else None -def time_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def time_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.time_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def set_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def set_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.set_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def set_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def set_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.set_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def numset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def numset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.numset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_numset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_numset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_numset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def timeset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def timeset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.timeset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def set_spantype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def set_spantype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.set_spantype(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_set_spantype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_set_spantype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_set_spantype(type_converted) _check_error() return result if result != _ffi.NULL else None -def alphanumset_type(settype: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - settype_converted = _ffi.cast("meosType", settype) +def alphanumset_type(settype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + settype_converted = _ffi.cast("MeosType", settype) result = _lib.alphanumset_type(settype_converted) _check_error() return result if result != _ffi.NULL else None -def geoset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def geoset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.geoset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_geoset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_geoset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_geoset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def spatialset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def spatialset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.spatialset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_spatialset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_spatialset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_spatialset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def span_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def span_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.span_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def span_canon_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def span_canon_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.span_canon_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def span_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def span_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.span_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def type_span_bbox(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def type_span_bbox(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.type_span_bbox(type_converted) _check_error() return result if result != _ffi.NULL else None -def span_tbox_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def span_tbox_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.span_tbox_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_span_tbox_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_span_tbox_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_span_tbox_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def numspan_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def numspan_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.numspan_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def numspan_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def numspan_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.numspan_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_numspan_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_numspan_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_numspan_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def timespan_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def timespan_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.timespan_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def timespan_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def timespan_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.timespan_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def spanset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def spanset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.spanset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def timespanset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def timespanset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.timespanset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_timespanset_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_timespanset_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_timespanset_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def temporal_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def temporal_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.temporal_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def temporal_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def temporal_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.temporal_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def temptype_continuous(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) - result = _lib.temptype_continuous(type_converted) +def temptype_supports_linear(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) + result = _lib.temptype_supports_linear(type_converted) _check_error() return result if result != _ffi.NULL else None -def basetype_byvalue(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def basetype_byvalue(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.basetype_byvalue(type_converted) _check_error() return result if result != _ffi.NULL else None -def basetype_varlength(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def basetype_varlength(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.basetype_varlength(type_converted) _check_error() return result if result != _ffi.NULL else None -def basetype_length(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[int, "int16"]: - type_converted = _ffi.cast("meosType", type) - result = _lib.basetype_length(type_converted) +def meostype_length(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[int, "int16"]: + type_converted = _ffi.cast("MeosType", type) + result = _lib.meostype_length(type_converted) _check_error() return result if result != _ffi.NULL else None -def talphanum_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def talphanum_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.talphanum_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def talpha_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def talpha_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.talpha_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def tnumber_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tnumber_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tnumber_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tnumber_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tnumber_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tnumber_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tnumber_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tnumber_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tnumber_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def tnumber_spantype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tnumber_spantype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tnumber_spantype(type_converted) _check_error() return result if result != _ffi.NULL else None -def spatial_basetype(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def spatial_basetype(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.spatial_basetype(type_converted) _check_error() return result if result != _ffi.NULL else None -def tspatial_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tspatial_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tspatial_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tspatial_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tspatial_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tspatial_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def tpoint_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tpoint_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tpoint_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tpoint_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tpoint_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tpoint_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def tgeo_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tgeo_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tgeo_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tgeo_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tgeo_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tgeo_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def tgeo_type_all(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tgeo_type_all(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tgeo_type_all(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tgeo_type_all(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tgeo_type_all(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tgeo_type_all(type_converted) _check_error() return result if result != _ffi.NULL else None -def tgeometry_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tgeometry_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tgeometry_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tgeometry_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tgeometry_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tgeometry_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def tgeodetic_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def tgeodetic_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.tgeodetic_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tgeodetic_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tgeodetic_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tgeodetic_type(type_converted) _check_error() return result if result != _ffi.NULL else None -def ensure_tnumber_tpoint_type(type: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - type_converted = _ffi.cast("meosType", type) +def ensure_tnumber_tpoint_type(type: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + type_converted = _ffi.cast("MeosType", type) result = _lib.ensure_tnumber_tpoint_type(type_converted) _check_error() return result if result != _ffi.NULL else None @@ -13833,15 +13931,22 @@ def tgeo_minus_value( return result if result != _ffi.NULL else None +def tpoint_at_elevation( + temp: Annotated[_ffi.CData, "const Temporal *"], s: Annotated[_ffi.CData, "const Span *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + s_converted = _ffi.cast("const Span *", s) + result = _lib.tpoint_at_elevation(temp_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + def tpoint_at_geom( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - zspan: Annotated[_ffi.CData, "const Span *"], + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - zspan_converted = _ffi.cast("const Span *", zspan) - result = _lib.tpoint_at_geom(temp_converted, gs_converted, zspan_converted) + result = _lib.tpoint_at_geom(temp_converted, gs_converted) _check_error() return result if result != _ffi.NULL else None @@ -13856,15 +13961,22 @@ def tpoint_at_value( return result if result != _ffi.NULL else None +def tpoint_minus_elevation( + temp: Annotated[_ffi.CData, "const Temporal *"], s: Annotated[_ffi.CData, "const Span *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + s_converted = _ffi.cast("const Span *", s) + result = _lib.tpoint_minus_elevation(temp_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + def tpoint_minus_geom( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - zspan: Annotated[_ffi.CData, "const Span *"], + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - zspan_converted = _ffi.cast("const Span *", zspan) - result = _lib.tpoint_minus_geom(temp_converted, gs_converted, zspan_converted) + result = _lib.tpoint_minus_geom(temp_converted, gs_converted) _check_error() return result if result != _ffi.NULL else None @@ -15019,238 +15131,181 @@ def etouches_tpoint_geo( def tcontains_geo_tgeo( - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - temp: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: gs_converted = _ffi.cast("const GSERIALIZED *", gs) temp_converted = _ffi.cast("const Temporal *", temp) - result = _lib.tcontains_geo_tgeo(gs_converted, temp_converted, restr, atvalue) + result = _lib.tcontains_geo_tgeo(gs_converted, temp_converted) _check_error() return result if result != _ffi.NULL else None def tcontains_tgeo_geo( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - restr: bool, - atvalue: bool, + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - result = _lib.tcontains_tgeo_geo(temp_converted, gs_converted, restr, atvalue) + result = _lib.tcontains_tgeo_geo(temp_converted, gs_converted) _check_error() return result if result != _ffi.NULL else None def tcontains_tgeo_tgeo( - temp1: Annotated[_ffi.CData, "const Temporal *"], - temp2: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp1_converted = _ffi.cast("const Temporal *", temp1) temp2_converted = _ffi.cast("const Temporal *", temp2) - result = _lib.tcontains_tgeo_tgeo(temp1_converted, temp2_converted, restr, atvalue) + result = _lib.tcontains_tgeo_tgeo(temp1_converted, temp2_converted) _check_error() return result if result != _ffi.NULL else None def tcovers_geo_tgeo( - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - temp: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: gs_converted = _ffi.cast("const GSERIALIZED *", gs) temp_converted = _ffi.cast("const Temporal *", temp) - result = _lib.tcovers_geo_tgeo(gs_converted, temp_converted, restr, atvalue) + result = _lib.tcovers_geo_tgeo(gs_converted, temp_converted) _check_error() return result if result != _ffi.NULL else None def tcovers_tgeo_geo( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - restr: bool, - atvalue: bool, + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - result = _lib.tcovers_tgeo_geo(temp_converted, gs_converted, restr, atvalue) + result = _lib.tcovers_tgeo_geo(temp_converted, gs_converted) _check_error() return result if result != _ffi.NULL else None def tcovers_tgeo_tgeo( - temp1: Annotated[_ffi.CData, "const Temporal *"], - temp2: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp1_converted = _ffi.cast("const Temporal *", temp1) temp2_converted = _ffi.cast("const Temporal *", temp2) - result = _lib.tcovers_tgeo_tgeo(temp1_converted, temp2_converted, restr, atvalue) + result = _lib.tcovers_tgeo_tgeo(temp1_converted, temp2_converted) _check_error() return result if result != _ffi.NULL else None def tdisjoint_geo_tgeo( - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - temp: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: gs_converted = _ffi.cast("const GSERIALIZED *", gs) temp_converted = _ffi.cast("const Temporal *", temp) - result = _lib.tdisjoint_geo_tgeo(gs_converted, temp_converted, restr, atvalue) + result = _lib.tdisjoint_geo_tgeo(gs_converted, temp_converted) _check_error() return result if result != _ffi.NULL else None def tdisjoint_tgeo_geo( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - restr: bool, - atvalue: bool, + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - result = _lib.tdisjoint_tgeo_geo(temp_converted, gs_converted, restr, atvalue) + result = _lib.tdisjoint_tgeo_geo(temp_converted, gs_converted) _check_error() return result if result != _ffi.NULL else None def tdisjoint_tgeo_tgeo( - temp1: Annotated[_ffi.CData, "const Temporal *"], - temp2: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp1_converted = _ffi.cast("const Temporal *", temp1) temp2_converted = _ffi.cast("const Temporal *", temp2) - result = _lib.tdisjoint_tgeo_tgeo(temp1_converted, temp2_converted, restr, atvalue) + result = _lib.tdisjoint_tgeo_tgeo(temp1_converted, temp2_converted) _check_error() return result if result != _ffi.NULL else None def tdwithin_geo_tgeo( - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - temp: Annotated[_ffi.CData, "const Temporal *"], - dist: float, - restr: bool, - atvalue: bool, + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"], dist: float ) -> Annotated[_ffi.CData, "Temporal *"]: gs_converted = _ffi.cast("const GSERIALIZED *", gs) temp_converted = _ffi.cast("const Temporal *", temp) - result = _lib.tdwithin_geo_tgeo(gs_converted, temp_converted, dist, restr, atvalue) + result = _lib.tdwithin_geo_tgeo(gs_converted, temp_converted, dist) _check_error() return result if result != _ffi.NULL else None def tdwithin_tgeo_geo( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - dist: float, - restr: bool, - atvalue: bool, + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"], dist: float ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - result = _lib.tdwithin_tgeo_geo(temp_converted, gs_converted, dist, restr, atvalue) + result = _lib.tdwithin_tgeo_geo(temp_converted, gs_converted, dist) _check_error() return result if result != _ffi.NULL else None def tdwithin_tgeo_tgeo( - temp1: Annotated[_ffi.CData, "const Temporal *"], - temp2: Annotated[_ffi.CData, "const Temporal *"], - dist: float, - restr: bool, - atvalue: bool, + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"], dist: float ) -> Annotated[_ffi.CData, "Temporal *"]: temp1_converted = _ffi.cast("const Temporal *", temp1) temp2_converted = _ffi.cast("const Temporal *", temp2) - result = _lib.tdwithin_tgeo_tgeo(temp1_converted, temp2_converted, dist, restr, atvalue) + result = _lib.tdwithin_tgeo_tgeo(temp1_converted, temp2_converted, dist) _check_error() return result if result != _ffi.NULL else None def tintersects_geo_tgeo( - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - temp: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: gs_converted = _ffi.cast("const GSERIALIZED *", gs) temp_converted = _ffi.cast("const Temporal *", temp) - result = _lib.tintersects_geo_tgeo(gs_converted, temp_converted, restr, atvalue) + result = _lib.tintersects_geo_tgeo(gs_converted, temp_converted) _check_error() return result if result != _ffi.NULL else None def tintersects_tgeo_geo( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - restr: bool, - atvalue: bool, + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - result = _lib.tintersects_tgeo_geo(temp_converted, gs_converted, restr, atvalue) + result = _lib.tintersects_tgeo_geo(temp_converted, gs_converted) _check_error() return result if result != _ffi.NULL else None def tintersects_tgeo_tgeo( - temp1: Annotated[_ffi.CData, "const Temporal *"], - temp2: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp1_converted = _ffi.cast("const Temporal *", temp1) temp2_converted = _ffi.cast("const Temporal *", temp2) - result = _lib.tintersects_tgeo_tgeo(temp1_converted, temp2_converted, restr, atvalue) + result = _lib.tintersects_tgeo_tgeo(temp1_converted, temp2_converted) _check_error() return result if result != _ffi.NULL else None def ttouches_geo_tgeo( - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - temp: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: gs_converted = _ffi.cast("const GSERIALIZED *", gs) temp_converted = _ffi.cast("const Temporal *", temp) - result = _lib.ttouches_geo_tgeo(gs_converted, temp_converted, restr, atvalue) + result = _lib.ttouches_geo_tgeo(gs_converted, temp_converted) _check_error() return result if result != _ffi.NULL else None def ttouches_tgeo_geo( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - restr: bool, - atvalue: bool, + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - result = _lib.ttouches_tgeo_geo(temp_converted, gs_converted, restr, atvalue) + result = _lib.ttouches_tgeo_geo(temp_converted, gs_converted) _check_error() return result if result != _ffi.NULL else None def ttouches_tgeo_tgeo( - temp1: Annotated[_ffi.CData, "const Temporal *"], - temp2: Annotated[_ffi.CData, "const Temporal *"], - restr: bool, - atvalue: bool, + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] ) -> Annotated[_ffi.CData, "Temporal *"]: temp1_converted = _ffi.cast("const Temporal *", temp1) temp2_converted = _ffi.cast("const Temporal *", temp2) - result = _lib.ttouches_tgeo_tgeo(temp1_converted, temp2_converted, restr, atvalue) + result = _lib.ttouches_tgeo_tgeo(temp1_converted, temp2_converted) _check_error() return result if result != _ffi.NULL else None @@ -15365,6 +15420,26 @@ def shortestline_tgeo_tgeo( return result if result != _ffi.NULL else None +def tgeoarr_tgeoarr_mindist( + arr1: Annotated[list, "const Temporal **"], count1: int, arr2: Annotated[list, "const Temporal **"], count2: int +) -> Annotated[float, "double"]: + arr1_converted = [_ffi.cast("const Temporal *", x) for x in arr1] + arr2_converted = [_ffi.cast("const Temporal *", x) for x in arr2] + result = _lib.tgeoarr_tgeoarr_mindist(arr1_converted, count1, arr2_converted, count2) + _check_error() + return result if result != _ffi.NULL else None + + +def mindistance_tgeo_tgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"], threshold: float +) -> Annotated[float, "double"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.mindistance_tgeo_tgeo(temp1_converted, temp2_converted, threshold) + _check_error() + return result if result != _ffi.NULL else None + + def tpoint_tcentroid_finalfn(state: Annotated[_ffi.CData, "SkipList *"]) -> Annotated[_ffi.CData, "Temporal *"]: state_converted = _ffi.cast("SkipList *", state) result = _lib.tpoint_tcentroid_finalfn(state_converted) @@ -15657,20 +15732,20 @@ def datum_floor(d: Annotated[_ffi.CData, "Datum"]) -> Annotated[_ffi.CData, "Dat def datum_hash( - d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"] + d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"] ) -> Annotated[int, "uint32"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.datum_hash(d_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None def datum_hash_extended( - d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"], seed: int + d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"], seed: int ) -> Annotated[int, "uint64"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) seed_converted = _ffi.cast("uint64", seed) result = _lib.datum_hash_extended(d_converted, basetype_converted, seed_converted) _check_error() @@ -15692,9 +15767,9 @@ def floatspan_round_set(s: Annotated[_ffi.CData, "const Span *"], maxdd: int) -> return out_result if out_result != _ffi.NULL else None -def set_in(string: str, basetype: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "Set *"]: +def set_in(string: str, basetype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "Set *"]: string_converted = string.encode("utf-8") - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.set_in(string_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None @@ -15708,9 +15783,9 @@ def set_out(s: Annotated[_ffi.CData, "const Set *"], maxdd: int) -> Annotated[st return result if result != _ffi.NULL else None -def span_in(string: str, spantype: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "Span *"]: +def span_in(string: str, spantype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "Span *"]: string_converted = string.encode("utf-8") - spantype_converted = _ffi.cast("meosType", spantype) + spantype_converted = _ffi.cast("MeosType", spantype) result = _lib.span_in(string_converted, spantype_converted) _check_error() return result if result != _ffi.NULL else None @@ -15724,9 +15799,9 @@ def span_out(s: Annotated[_ffi.CData, "const Span *"], maxdd: int) -> Annotated[ return result if result != _ffi.NULL else None -def spanset_in(string: str, spantype: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "SpanSet *"]: +def spanset_in(string: str, spantype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "SpanSet *"]: string_converted = string.encode("utf-8") - spantype_converted = _ffi.cast("meosType", spantype) + spantype_converted = _ffi.cast("MeosType", spantype) result = _lib.spanset_in(string_converted, spantype_converted) _check_error() return result if result != _ffi.NULL else None @@ -15741,10 +15816,10 @@ def spanset_out(ss: Annotated[_ffi.CData, "const SpanSet *"], maxdd: int) -> Ann def set_make( - values: Annotated[_ffi.CData, "const Datum *"], count: int, basetype: Annotated[_ffi.CData, "meosType"], order: bool + values: Annotated[_ffi.CData, "const Datum *"], count: int, basetype: Annotated[_ffi.CData, "MeosType"], order: bool ) -> Annotated[_ffi.CData, "Set *"]: values_converted = _ffi.cast("const Datum *", values) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.set_make(values_converted, count, basetype_converted, order) _check_error() return result if result != _ffi.NULL else None @@ -15754,21 +15829,21 @@ def set_make_exp( values: Annotated[_ffi.CData, "const Datum *"], count: int, maxcount: int, - basetype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], order: bool, ) -> Annotated[_ffi.CData, "Set *"]: values_converted = _ffi.cast("const Datum *", values) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.set_make_exp(values_converted, count, maxcount, basetype_converted, order) _check_error() return result if result != _ffi.NULL else None def set_make_free( - values: Annotated[_ffi.CData, "Datum *"], count: int, basetype: Annotated[_ffi.CData, "meosType"], order: bool + values: Annotated[_ffi.CData, "Datum *"], count: int, basetype: Annotated[_ffi.CData, "MeosType"], order: bool ) -> Annotated[_ffi.CData, "Set *"]: values_converted = _ffi.cast("Datum *", values) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.set_make_free(values_converted, count, basetype_converted, order) _check_error() return result if result != _ffi.NULL else None @@ -15779,11 +15854,11 @@ def span_make( upper: Annotated[_ffi.CData, "Datum"], lower_inc: bool, upper_inc: bool, - basetype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], ) -> Annotated[_ffi.CData, "Span *"]: lower_converted = _ffi.cast("Datum", lower) upper_converted = _ffi.cast("Datum", upper) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.span_make(lower_converted, upper_converted, lower_inc, upper_inc, basetype_converted) _check_error() return result if result != _ffi.NULL else None @@ -15794,14 +15869,14 @@ def span_set( upper: Annotated[_ffi.CData, "Datum"], lower_inc: bool, upper_inc: bool, - basetype: Annotated[_ffi.CData, "meosType"], - spantype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], + spantype: Annotated[_ffi.CData, "MeosType"], s: Annotated[_ffi.CData, "Span *"], ) -> Annotated[None, "void"]: lower_converted = _ffi.cast("Datum", lower) upper_converted = _ffi.cast("Datum", upper) - basetype_converted = _ffi.cast("meosType", basetype) - spantype_converted = _ffi.cast("meosType", spantype) + basetype_converted = _ffi.cast("MeosType", basetype) + spantype_converted = _ffi.cast("MeosType", spantype) s_converted = _ffi.cast("Span *", s) _lib.span_set( lower_converted, upper_converted, lower_inc, upper_inc, basetype_converted, spantype_converted, s_converted @@ -15843,41 +15918,41 @@ def set_spanset(s: Annotated[_ffi.CData, "const Set *"]) -> Annotated[_ffi.CData def value_set_span( value: Annotated[_ffi.CData, "Datum"], - basetype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], s: Annotated[_ffi.CData, "Span *"], ) -> Annotated[None, "void"]: value_converted = _ffi.cast("Datum", value) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) s_converted = _ffi.cast("Span *", s) _lib.value_set_span(value_converted, basetype_converted, s_converted) _check_error() def value_set( - d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"] + d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"] ) -> Annotated[_ffi.CData, "Set *"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.value_set(d_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None def value_span( - d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"] + d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"] ) -> Annotated[_ffi.CData, "Span *"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.value_span(d_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None def value_spanset( - d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"] + d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"] ) -> Annotated[_ffi.CData, "SpanSet *"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.value_spanset(d_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None @@ -16096,11 +16171,11 @@ def spanset_compact(ss: Annotated[_ffi.CData, "const SpanSet *"]) -> Annotated[_ def tbox_expand_value( box: Annotated[_ffi.CData, "const TBox *"], value: Annotated[_ffi.CData, "Datum"], - basetyp: Annotated[_ffi.CData, "meosType"], + basetyp: Annotated[_ffi.CData, "MeosType"], ) -> Annotated[_ffi.CData, "TBox *"]: box_converted = _ffi.cast("const TBox *", box) value_converted = _ffi.cast("Datum", value) - basetyp_converted = _ffi.cast("meosType", basetyp) + basetyp_converted = _ffi.cast("MeosType", basetyp) result = _lib.tbox_expand_value(box_converted, value_converted, basetyp_converted) _check_error() return result if result != _ffi.NULL else None @@ -16475,22 +16550,22 @@ def right_spanset_value( return result if result != _ffi.NULL else None -def bbox_type(bboxtype: Annotated[_ffi.CData, "meosType"]) -> Annotated[bool, "bool"]: - bboxtype_converted = _ffi.cast("meosType", bboxtype) +def bbox_type(bboxtype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[bool, "bool"]: + bboxtype_converted = _ffi.cast("MeosType", bboxtype) result = _lib.bbox_type(bboxtype_converted) _check_error() return result if result != _ffi.NULL else None -def bbox_get_size(bboxtype: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "size_t"]: - bboxtype_converted = _ffi.cast("meosType", bboxtype) +def bbox_get_size(bboxtype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "size_t"]: + bboxtype_converted = _ffi.cast("MeosType", bboxtype) result = _lib.bbox_get_size(bboxtype_converted) _check_error() return result if result != _ffi.NULL else None -def bbox_max_dims(bboxtype: Annotated[_ffi.CData, "meosType"]) -> Annotated[int, "int"]: - bboxtype_converted = _ffi.cast("meosType", bboxtype) +def bbox_max_dims(bboxtype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[int, "int"]: + bboxtype_converted = _ffi.cast("MeosType", bboxtype) result = _lib.bbox_max_dims(bboxtype_converted) _check_error() return result if result != _ffi.NULL else None @@ -16499,11 +16574,11 @@ def bbox_max_dims(bboxtype: Annotated[_ffi.CData, "meosType"]) -> Annotated[int, def temporal_bbox_eq( box1: Annotated[_ffi.CData, "const void *"], box2: Annotated[_ffi.CData, "const void *"], - temptype: Annotated[_ffi.CData, "meosType"], + temptype: Annotated[_ffi.CData, "MeosType"], ) -> Annotated[bool, "bool"]: box1_converted = _ffi.cast("const void *", box1) box2_converted = _ffi.cast("const void *", box2) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) result = _lib.temporal_bbox_eq(box1_converted, box2_converted, temptype_converted) _check_error() return result if result != _ffi.NULL else None @@ -16512,11 +16587,11 @@ def temporal_bbox_eq( def temporal_bbox_cmp( box1: Annotated[_ffi.CData, "const void *"], box2: Annotated[_ffi.CData, "const void *"], - temptype: Annotated[_ffi.CData, "meosType"], + temptype: Annotated[_ffi.CData, "MeosType"], ) -> Annotated[int, "int"]: box1_converted = _ffi.cast("const void *", box1) box2_converted = _ffi.cast("const void *", box2) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) result = _lib.temporal_bbox_cmp(box1_converted, box2_converted, temptype_converted) _check_error() return result if result != _ffi.NULL else None @@ -16818,11 +16893,11 @@ def distance_spanset_value( def distance_value_value( - l: Annotated[_ffi.CData, "Datum"], r: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"] + l: Annotated[_ffi.CData, "Datum"], r: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"] ) -> Annotated[_ffi.CData, "Datum"]: l_converted = _ffi.cast("Datum", l) r_converted = _ffi.cast("Datum", r) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.distance_value_value(l_converted, r_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None @@ -16831,11 +16906,11 @@ def distance_value_value( def spanbase_extent_transfn( state: Annotated[_ffi.CData, "Span *"], value: Annotated[_ffi.CData, "Datum"], - basetype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], ) -> Annotated[_ffi.CData, "Span *"]: state_converted = _ffi.cast("Span *", state) value_converted = _ffi.cast("Datum", value) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.spanbase_extent_transfn(state_converted, value_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None @@ -16844,11 +16919,11 @@ def spanbase_extent_transfn( def value_union_transfn( state: Annotated[_ffi.CData, "Set *"], value: Annotated[_ffi.CData, "Datum"], - basetype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], ) -> Annotated[_ffi.CData, "Set *"]: state_converted = _ffi.cast("Set *", state) value_converted = _ffi.cast("Datum", value) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.value_union_transfn(state_converted, value_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None @@ -16856,11 +16931,11 @@ def value_union_transfn( def number_tstzspan_to_tbox( d: Annotated[_ffi.CData, "Datum"], - basetype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], s: Annotated[_ffi.CData, "const Span *"], ) -> Annotated[_ffi.CData, "TBox *"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) s_converted = _ffi.cast("const Span *", s) result = _lib.number_tstzspan_to_tbox(d_converted, basetype_converted, s_converted) _check_error() @@ -16868,10 +16943,10 @@ def number_tstzspan_to_tbox( def number_timestamptz_to_tbox( - d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"], t: int + d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"], t: int ) -> Annotated[_ffi.CData, "TBox *"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) t_converted = _ffi.cast("TimestampTz", t) result = _lib.number_timestamptz_to_tbox(d_converted, basetype_converted, t_converted) _check_error() @@ -16903,20 +16978,20 @@ def int_set_tbox(i: int, box: Annotated[_ffi.CData, "TBox *"]) -> Annotated[None def number_set_tbox( - d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"], box: Annotated[_ffi.CData, "TBox *"] + d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"], box: Annotated[_ffi.CData, "TBox *"] ) -> Annotated[None, "void"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) box_converted = _ffi.cast("TBox *", box) _lib.number_set_tbox(d_converted, basetype_converted, box_converted) _check_error() def number_tbox( - value: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"] + value: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"] ) -> Annotated[_ffi.CData, "TBox *"]: value_converted = _ffi.cast("Datum", value) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.number_tbox(value_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None @@ -17023,9 +17098,9 @@ def tboolseqset_in(string: str) -> Annotated[_ffi.CData, "TSequenceSet *"]: return result if result != _ffi.NULL else None -def temporal_in(string: str, temptype: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "Temporal *"]: +def temporal_in(string: str, temptype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "Temporal *"]: string_converted = string.encode("utf-8") - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) result = _lib.temporal_in(string_converted, temptype_converted) _check_error() return result if result != _ffi.NULL else None @@ -17067,9 +17142,9 @@ def tfloatseqset_in(string: str) -> Annotated[_ffi.CData, "TSequenceSet *"]: return result if result != _ffi.NULL else None -def tinstant_in(string: str, temptype: Annotated[_ffi.CData, "meosType"]) -> Annotated[_ffi.CData, "TInstant *"]: +def tinstant_in(string: str, temptype: Annotated[_ffi.CData, "MeosType"]) -> Annotated[_ffi.CData, "TInstant *"]: string_converted = string.encode("utf-8") - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) result = _lib.tinstant_in(string_converted, temptype_converted) _check_error() return result if result != _ffi.NULL else None @@ -17105,10 +17180,10 @@ def tintseqset_in(string: str) -> Annotated[_ffi.CData, "TSequenceSet *"]: def tsequence_in( - string: str, temptype: Annotated[_ffi.CData, "meosType"], interp: InterpolationType + string: str, temptype: Annotated[_ffi.CData, "MeosType"], interp: InterpolationType ) -> Annotated[_ffi.CData, "TSequence *"]: string_converted = string.encode("utf-8") - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) result = _lib.tsequence_in(string_converted, temptype_converted, interp) _check_error() return result if result != _ffi.NULL else None @@ -17123,10 +17198,10 @@ def tsequence_out(seq: Annotated[_ffi.CData, "const TSequence *"], maxdd: int) - def tsequenceset_in( - string: str, temptype: Annotated[_ffi.CData, "meosType"], interp: InterpolationType + string: str, temptype: Annotated[_ffi.CData, "MeosType"], interp: InterpolationType ) -> Annotated[_ffi.CData, "TSequenceSet *"]: string_converted = string.encode("utf-8") - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) result = _lib.tsequenceset_in(string_converted, temptype_converted, interp) _check_error() return result if result != _ffi.NULL else None @@ -17162,10 +17237,10 @@ def ttextseqset_in(string: str) -> Annotated[_ffi.CData, "TSequenceSet *"]: def temporal_from_mfjson( - mfjson: str, temptype: Annotated[_ffi.CData, "meosType"] + mfjson: str, temptype: Annotated[_ffi.CData, "MeosType"] ) -> Annotated[_ffi.CData, "Temporal *"]: mfjson_converted = mfjson.encode("utf-8") - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) result = _lib.temporal_from_mfjson(mfjson_converted, temptype_converted) _check_error() return result if result != _ffi.NULL else None @@ -17173,11 +17248,11 @@ def temporal_from_mfjson( def temporal_from_base_temp( value: Annotated[_ffi.CData, "Datum"], - temptype: Annotated[_ffi.CData, "meosType"], + temptype: Annotated[_ffi.CData, "MeosType"], temp: Annotated[_ffi.CData, "const Temporal *"], ) -> Annotated[_ffi.CData, "Temporal *"]: value_converted = _ffi.cast("Datum", value) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) temp_converted = _ffi.cast("const Temporal *", temp) result = _lib.temporal_from_base_temp(value_converted, temptype_converted, temp_converted) _check_error() @@ -17192,10 +17267,10 @@ def tinstant_copy(inst: Annotated[_ffi.CData, "const TInstant *"]) -> Annotated[ def tinstant_make( - value: Annotated[_ffi.CData, "Datum"], temptype: Annotated[_ffi.CData, "meosType"], t: int + value: Annotated[_ffi.CData, "Datum"], temptype: Annotated[_ffi.CData, "MeosType"], t: int ) -> Annotated[_ffi.CData, "TInstant *"]: value_converted = _ffi.cast("Datum", value) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) t_converted = _ffi.cast("TimestampTz", t) result = _lib.tinstant_make(value_converted, temptype_converted, t_converted) _check_error() @@ -17203,10 +17278,10 @@ def tinstant_make( def tinstant_make_free( - value: Annotated[_ffi.CData, "Datum"], temptype: Annotated[_ffi.CData, "meosType"], t: int + value: Annotated[_ffi.CData, "Datum"], temptype: Annotated[_ffi.CData, "MeosType"], t: int ) -> Annotated[_ffi.CData, "TInstant *"]: value_converted = _ffi.cast("Datum", value) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) t_converted = _ffi.cast("TimestampTz", t) result = _lib.tinstant_make_free(value_converted, temptype_converted, t_converted) _check_error() @@ -17222,11 +17297,11 @@ def tsequence_copy(seq: Annotated[_ffi.CData, "const TSequence *"]) -> Annotated def tsequence_from_base_temp( value: Annotated[_ffi.CData, "Datum"], - temptype: Annotated[_ffi.CData, "meosType"], + temptype: Annotated[_ffi.CData, "MeosType"], seq: Annotated[_ffi.CData, "const TSequence *"], ) -> Annotated[_ffi.CData, "TSequence *"]: value_converted = _ffi.cast("Datum", value) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) seq_converted = _ffi.cast("const TSequence *", seq) result = _lib.tsequence_from_base_temp(value_converted, temptype_converted, seq_converted) _check_error() @@ -17235,11 +17310,11 @@ def tsequence_from_base_temp( def tsequence_from_base_tstzset( value: Annotated[_ffi.CData, "Datum"], - temptype: Annotated[_ffi.CData, "meosType"], + temptype: Annotated[_ffi.CData, "MeosType"], s: Annotated[_ffi.CData, "const Set *"], ) -> Annotated[_ffi.CData, "TSequence *"]: value_converted = _ffi.cast("Datum", value) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) s_converted = _ffi.cast("const Set *", s) result = _lib.tsequence_from_base_tstzset(value_converted, temptype_converted, s_converted) _check_error() @@ -17248,12 +17323,12 @@ def tsequence_from_base_tstzset( def tsequence_from_base_tstzspan( value: Annotated[_ffi.CData, "Datum"], - temptype: Annotated[_ffi.CData, "meosType"], + temptype: Annotated[_ffi.CData, "MeosType"], s: Annotated[_ffi.CData, "const Span *"], interp: InterpolationType, ) -> Annotated[_ffi.CData, "TSequence *"]: value_converted = _ffi.cast("Datum", value) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) s_converted = _ffi.cast("const Span *", s) result = _lib.tsequence_from_base_tstzspan(value_converted, temptype_converted, s_converted, interp) _check_error() @@ -17307,11 +17382,11 @@ def tseqsetarr_to_tseqset( def tsequenceset_from_base_temp( value: Annotated[_ffi.CData, "Datum"], - temptype: Annotated[_ffi.CData, "meosType"], + temptype: Annotated[_ffi.CData, "MeosType"], ss: Annotated[_ffi.CData, "const TSequenceSet *"], ) -> Annotated[_ffi.CData, "TSequenceSet *"]: value_converted = _ffi.cast("Datum", value) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) ss_converted = _ffi.cast("const TSequenceSet *", ss) result = _lib.tsequenceset_from_base_temp(value_converted, temptype_converted, ss_converted) _check_error() @@ -17320,12 +17395,12 @@ def tsequenceset_from_base_temp( def tsequenceset_from_base_tstzspanset( value: Annotated[_ffi.CData, "Datum"], - temptype: Annotated[_ffi.CData, "meosType"], + temptype: Annotated[_ffi.CData, "MeosType"], ss: Annotated[_ffi.CData, "const SpanSet *"], interp: InterpolationType, ) -> Annotated[_ffi.CData, "TSequenceSet *"]: value_converted = _ffi.cast("Datum", value) - temptype_converted = _ffi.cast("meosType", temptype) + temptype_converted = _ffi.cast("MeosType", temptype) ss_converted = _ffi.cast("const SpanSet *", ss) result = _lib.tsequenceset_from_base_tstzspanset(value_converted, temptype_converted, ss_converted, interp) _check_error() @@ -19532,8 +19607,8 @@ def tbox_get_value_time_tile( duration: Annotated[_ffi.CData, "const Interval *"], vorigin: Annotated[_ffi.CData, "Datum"], torigin: int, - basetype: Annotated[_ffi.CData, "meosType"], - spantype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], + spantype: Annotated[_ffi.CData, "MeosType"], ) -> Annotated[_ffi.CData, "TBox *"]: value_converted = _ffi.cast("Datum", value) t_converted = _ffi.cast("TimestampTz", t) @@ -19541,8 +19616,8 @@ def tbox_get_value_time_tile( duration_converted = _ffi.cast("const Interval *", duration) vorigin_converted = _ffi.cast("Datum", vorigin) torigin_converted = _ffi.cast("TimestampTz", torigin) - basetype_converted = _ffi.cast("meosType", basetype) - spantype_converted = _ffi.cast("meosType", spantype) + basetype_converted = _ffi.cast("MeosType", basetype) + spantype_converted = _ffi.cast("MeosType", spantype) result = _lib.tbox_get_value_time_tile( value_converted, t_converted, @@ -19664,11 +19739,11 @@ def geoarr_set_stbox( def spatial_set_stbox( d: Annotated[_ffi.CData, "Datum"], - basetype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], box: Annotated[_ffi.CData, "STBox *"], ) -> Annotated[bool, "bool"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) box_converted = _ffi.cast("STBox *", box) result = _lib.spatial_set_stbox(d_converted, basetype_converted, box_converted) _check_error() @@ -19878,16 +19953,22 @@ def tspatialseqset_set_stbox( _check_error() +def tgeo_restrict_elevation( + temp: Annotated[_ffi.CData, "const Temporal *"], s: Annotated[_ffi.CData, "const Span *"], atfunc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + s_converted = _ffi.cast("const Span *", s) + result = _lib.tgeo_restrict_elevation(temp_converted, s_converted, atfunc) + _check_error() + return result if result != _ffi.NULL else None + + def tgeo_restrict_geom( - temp: Annotated[_ffi.CData, "const Temporal *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - zspan: Annotated[_ffi.CData, "const Span *"], - atfunc: bool, + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"], atfunc: bool ) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - zspan_converted = _ffi.cast("const Span *", zspan) - result = _lib.tgeo_restrict_geom(temp_converted, gs_converted, zspan_converted, atfunc) + result = _lib.tgeo_restrict_geom(temp_converted, gs_converted, atfunc) _check_error() return result if result != _ffi.NULL else None @@ -19906,15 +19987,11 @@ def tgeo_restrict_stbox( def tgeoinst_restrict_geom( - inst: Annotated[_ffi.CData, "const TInstant *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - zspan: Annotated[_ffi.CData, "const Span *"], - atfunc: bool, + inst: Annotated[_ffi.CData, "const TInstant *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"], atfunc: bool ) -> Annotated[_ffi.CData, "TInstant *"]: inst_converted = _ffi.cast("const TInstant *", inst) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - zspan_converted = _ffi.cast("const Span *", zspan) - result = _lib.tgeoinst_restrict_geom(inst_converted, gs_converted, zspan_converted, atfunc) + result = _lib.tgeoinst_restrict_geom(inst_converted, gs_converted, atfunc) _check_error() return result if result != _ffi.NULL else None @@ -19933,15 +20010,11 @@ def tgeoinst_restrict_stbox( def tgeoseq_restrict_geom( - seq: Annotated[_ffi.CData, "const TSequence *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - zspan: Annotated[_ffi.CData, "const Span *"], - atfunc: bool, + seq: Annotated[_ffi.CData, "const TSequence *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"], atfunc: bool ) -> Annotated[_ffi.CData, "Temporal *"]: seq_converted = _ffi.cast("const TSequence *", seq) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - zspan_converted = _ffi.cast("const Span *", zspan) - result = _lib.tgeoseq_restrict_geom(seq_converted, gs_converted, zspan_converted, atfunc) + result = _lib.tgeoseq_restrict_geom(seq_converted, gs_converted, atfunc) _check_error() return result if result != _ffi.NULL else None @@ -19960,15 +20033,11 @@ def tgeoseq_restrict_stbox( def tgeoseqset_restrict_geom( - ss: Annotated[_ffi.CData, "const TSequenceSet *"], - gs: Annotated[_ffi.CData, "const GSERIALIZED *"], - zspan: Annotated[_ffi.CData, "const Span *"], - atfunc: bool, + ss: Annotated[_ffi.CData, "const TSequenceSet *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"], atfunc: bool ) -> Annotated[_ffi.CData, "TSequenceSet *"]: ss_converted = _ffi.cast("const TSequenceSet *", ss) gs_converted = _ffi.cast("const GSERIALIZED *", gs) - zspan_converted = _ffi.cast("const Span *", zspan) - result = _lib.tgeoseqset_restrict_geom(ss_converted, gs_converted, zspan_converted, atfunc) + result = _lib.tgeoseqset_restrict_geom(ss_converted, gs_converted, atfunc) _check_error() return result if result != _ffi.NULL else None @@ -19987,10 +20056,10 @@ def tgeoseqset_restrict_stbox( def spatial_srid( - d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "meosType"] + d: Annotated[_ffi.CData, "Datum"], basetype: Annotated[_ffi.CData, "MeosType"] ) -> Annotated[_ffi.CData, "int32_t"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) result = _lib.spatial_srid(d_converted, basetype_converted) _check_error() return result if result != _ffi.NULL else None @@ -19998,11 +20067,11 @@ def spatial_srid( def spatial_set_srid( d: Annotated[_ffi.CData, "Datum"], - basetype: Annotated[_ffi.CData, "meosType"], + basetype: Annotated[_ffi.CData, "MeosType"], srid: Annotated[_ffi.CData, "int32_t"], ) -> Annotated[bool, "bool"]: d_converted = _ffi.cast("Datum", d) - basetype_converted = _ffi.cast("meosType", basetype) + basetype_converted = _ffi.cast("MeosType", basetype) srid_converted = _ffi.cast("int32_t", srid) result = _lib.spatial_set_srid(d_converted, basetype_converted, srid_converted) _check_error() @@ -20826,6 +20895,13 @@ def tnpoint_in(string: str) -> Annotated[_ffi.CData, "Temporal *"]: return result if result != _ffi.NULL else None +def tnpoint_from_mfjson(mfjson: str) -> Annotated[_ffi.CData, "Temporal *"]: + mfjson_converted = mfjson.encode("utf-8") + result = _lib.tnpoint_from_mfjson(mfjson_converted) + _check_error() + return result if result != _ffi.NULL else None + + def tnpoint_out(temp: Annotated[_ffi.CData, "const Temporal *"], maxdd: int) -> Annotated[str, "char *"]: temp_converted = _ffi.cast("const Temporal *", temp) result = _lib.tnpoint_out(temp_converted, maxdd) @@ -20842,6 +20918,46 @@ def tnpointinst_make(np: Annotated[_ffi.CData, "const Npoint *"], t: int) -> Ann return result if result != _ffi.NULL else None +def tnpoint_from_base_temp( + np: Annotated[_ffi.CData, "const Npoint *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + np_converted = _ffi.cast("const Npoint *", np) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tnpoint_from_base_temp(np_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tnpointseq_from_base_tstzset( + np: Annotated[_ffi.CData, "const Npoint *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "TSequence *"]: + np_converted = _ffi.cast("const Npoint *", np) + s_converted = _ffi.cast("const Set *", s) + result = _lib.tnpointseq_from_base_tstzset(np_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tnpointseq_from_base_tstzspan( + np: Annotated[_ffi.CData, "const Npoint *"], s: Annotated[_ffi.CData, "const Span *"], interp: InterpolationType +) -> Annotated[_ffi.CData, "TSequence *"]: + np_converted = _ffi.cast("const Npoint *", np) + s_converted = _ffi.cast("const Span *", s) + result = _lib.tnpointseq_from_base_tstzspan(np_converted, s_converted, interp) + _check_error() + return result if result != _ffi.NULL else None + + +def tnpointseqset_from_base_tstzspanset( + np: Annotated[_ffi.CData, "const Npoint *"], ss: Annotated[_ffi.CData, "const SpanSet *"], interp: InterpolationType +) -> Annotated[_ffi.CData, "TSequenceSet *"]: + np_converted = _ffi.cast("const Npoint *", np) + ss_converted = _ffi.cast("const SpanSet *", ss) + result = _lib.tnpointseqset_from_base_tstzspanset(np_converted, ss_converted, interp) + _check_error() + return result if result != _ffi.NULL else None + + def tgeompoint_to_tnpoint(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: temp_converted = _ffi.cast("const Temporal *", temp) result = _lib.tgeompoint_to_tnpoint(temp_converted) @@ -20863,6 +20979,13 @@ def tnpoint_cumulative_length(temp: Annotated[_ffi.CData, "const Temporal *"]) - return result if result != _ffi.NULL else None +def tnpoint_end_value(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Npoint *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tnpoint_end_value(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + def tnpoint_length(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[float, "double"]: temp_converted = _ffi.cast("const Temporal *", temp) result = _lib.tnpoint_length(temp_converted) @@ -20901,6 +21024,13 @@ def tnpoint_speed(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[ return result if result != _ffi.NULL else None +def tnpoint_start_value(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Npoint *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tnpoint_start_value(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + def tnpoint_trajectory(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: temp_converted = _ffi.cast("const Temporal *", temp) result = _lib.tnpoint_trajectory(temp_converted) @@ -20908,6 +21038,37 @@ def tnpoint_trajectory(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annot return result if result != _ffi.NULL else None +def tnpoint_value_at_timestamptz( + temp: Annotated[_ffi.CData, "const Temporal *"], t: int, strict: bool, value: Annotated[list, "Npoint **"] +) -> Annotated[bool, "bool"]: + temp_converted = _ffi.cast("const Temporal *", temp) + t_converted = _ffi.cast("TimestampTz", t) + value_converted = [_ffi.cast("Npoint *", x) for x in value] + result = _lib.tnpoint_value_at_timestamptz(temp_converted, t_converted, strict, value_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tnpoint_value_n(temp: Annotated[_ffi.CData, "const Temporal *"], n: int) -> Annotated[list, "Npoint **"]: + temp_converted = _ffi.cast("const Temporal *", temp) + out_result = _ffi.new("Npoint **") + result = _lib.tnpoint_value_n(temp_converted, n, out_result) + _check_error() + if result: + return out_result if out_result != _ffi.NULL else None + return None + + +def tnpoint_values( + temp: Annotated[_ffi.CData, "const Temporal *"], +) -> tuple[Annotated[_ffi.CData, "Npoint **"], Annotated[_ffi.CData, "int"]]: + temp_converted = _ffi.cast("const Temporal *", temp) + count = _ffi.new("int *") + result = _lib.tnpoint_values(temp_converted, count) + _check_error() + return result if result != _ffi.NULL else None, count[0] + + def tnpoint_twcentroid(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: temp_converted = _ffi.cast("const Temporal *", temp) result = _lib.tnpoint_twcentroid(temp_converted) @@ -21273,3 +21434,3391 @@ def tne_tnpoint_npoint( result = _lib.tne_tnpoint_npoint(temp_converted, np_converted) _check_error() return result if result != _ffi.NULL else None + + +def cbuffer_as_ewkt(cb: Annotated[_ffi.CData, "const Cbuffer *"], maxdd: int) -> Annotated[str, "char *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_as_ewkt(cb_converted, maxdd) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def cbuffer_as_hexwkb( + cb: Annotated[_ffi.CData, "const Cbuffer *"], variant: int, size: Annotated[_ffi.CData, "size_t *"] +) -> Annotated[str, "char *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + variant_converted = _ffi.cast("uint8_t", variant) + size_converted = _ffi.cast("size_t *", size) + result = _lib.cbuffer_as_hexwkb(cb_converted, variant_converted, size_converted) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def cbuffer_as_text(cb: Annotated[_ffi.CData, "const Cbuffer *"], maxdd: int) -> Annotated[str, "char *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_as_text(cb_converted, maxdd) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def cbuffer_as_wkb( + cb: Annotated[_ffi.CData, "const Cbuffer *"], variant: int +) -> tuple[Annotated[_ffi.CData, "uint8_t *"], Annotated[_ffi.CData, "size_t *"]]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + variant_converted = _ffi.cast("uint8_t", variant) + size_out = _ffi.new("size_t *") + result = _lib.cbuffer_as_wkb(cb_converted, variant_converted, size_out) + _check_error() + return result if result != _ffi.NULL else None, size_out[0] + + +def cbuffer_from_hexwkb(hexwkb: str) -> Annotated[_ffi.CData, "Cbuffer *"]: + hexwkb_converted = hexwkb.encode("utf-8") + result = _lib.cbuffer_from_hexwkb(hexwkb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_from_wkb( + wkb: Annotated[_ffi.CData, "const uint8_t *"], size: Annotated[_ffi.CData, "size_t"] +) -> Annotated[_ffi.CData, "Cbuffer *"]: + wkb_converted = _ffi.cast("const uint8_t *", wkb) + size_converted = _ffi.cast("size_t", size) + result = _lib.cbuffer_from_wkb(wkb_converted, size_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_in(string: str) -> Annotated[_ffi.CData, "Cbuffer *"]: + string_converted = string.encode("utf-8") + result = _lib.cbuffer_in(string_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_out(cb: Annotated[_ffi.CData, "const Cbuffer *"], maxdd: int) -> Annotated[str, "char *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_out(cb_converted, maxdd) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def cbuffer_copy(cb: Annotated[_ffi.CData, "const Cbuffer *"]) -> Annotated[_ffi.CData, "Cbuffer *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_copy(cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_make( + point: Annotated[_ffi.CData, "const GSERIALIZED *"], radius: float +) -> Annotated[_ffi.CData, "Cbuffer *"]: + point_converted = _ffi.cast("const GSERIALIZED *", point) + result = _lib.cbuffer_make(point_converted, radius) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_to_geom(cb: Annotated[_ffi.CData, "const Cbuffer *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_to_geom(cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_to_stbox(cb: Annotated[_ffi.CData, "const Cbuffer *"]) -> Annotated[_ffi.CData, "STBox *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_to_stbox(cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbufferarr_to_geom( + cbarr: Annotated[list, "const Cbuffer **"], count: int +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + cbarr_converted = [_ffi.cast("const Cbuffer *", x) for x in cbarr] + result = _lib.cbufferarr_to_geom(cbarr_converted, count) + _check_error() + return result if result != _ffi.NULL else None + + +def geom_to_cbuffer(gs: Annotated[_ffi.CData, "const GSERIALIZED *"]) -> Annotated[_ffi.CData, "Cbuffer *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.geom_to_cbuffer(gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_hash(cb: Annotated[_ffi.CData, "const Cbuffer *"]) -> Annotated[int, "uint32"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_hash(cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_hash_extended(cb: Annotated[_ffi.CData, "const Cbuffer *"], seed: int) -> Annotated[int, "uint64"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + seed_converted = _ffi.cast("uint64", seed) + result = _lib.cbuffer_hash_extended(cb_converted, seed_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_point(cb: Annotated[_ffi.CData, "const Cbuffer *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_point(cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_radius(cb: Annotated[_ffi.CData, "const Cbuffer *"]) -> Annotated[float, "double"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_radius(cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_round(cb: Annotated[_ffi.CData, "const Cbuffer *"], maxdd: int) -> Annotated[_ffi.CData, "Cbuffer *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_round(cb_converted, maxdd) + _check_error() + return result if result != _ffi.NULL else None + + +def cbufferarr_round( + cbarr: Annotated[list, "const Cbuffer **"], count: int, maxdd: int +) -> Annotated[_ffi.CData, "Cbuffer **"]: + cbarr_converted = [_ffi.cast("const Cbuffer *", x) for x in cbarr] + result = _lib.cbufferarr_round(cbarr_converted, count, maxdd) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_set_srid( + cb: Annotated[_ffi.CData, "Cbuffer *"], srid: Annotated[_ffi.CData, "int32_t"] +) -> Annotated[None, "void"]: + cb_converted = _ffi.cast("Cbuffer *", cb) + srid_converted = _ffi.cast("int32_t", srid) + _lib.cbuffer_set_srid(cb_converted, srid_converted) + _check_error() + + +def cbuffer_srid(cb: Annotated[_ffi.CData, "const Cbuffer *"]) -> Annotated[_ffi.CData, "int32_t"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_srid(cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_transform( + cb: Annotated[_ffi.CData, "const Cbuffer *"], srid: Annotated[_ffi.CData, "int32_t"] +) -> Annotated[_ffi.CData, "Cbuffer *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + srid_converted = _ffi.cast("int32_t", srid) + result = _lib.cbuffer_transform(cb_converted, srid_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_transform_pipeline( + cb: Annotated[_ffi.CData, "const Cbuffer *"], + pipelinestr: str, + srid: Annotated[_ffi.CData, "int32_t"], + is_forward: bool, +) -> Annotated[_ffi.CData, "Cbuffer *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + pipelinestr_converted = pipelinestr.encode("utf-8") + srid_converted = _ffi.cast("int32_t", srid) + result = _lib.cbuffer_transform_pipeline(cb_converted, pipelinestr_converted, srid_converted, is_forward) + _check_error() + return result if result != _ffi.NULL else None + + +def contains_cbuffer_cbuffer( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.contains_cbuffer_cbuffer(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def covers_cbuffer_cbuffer( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.covers_cbuffer_cbuffer(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def disjoint_cbuffer_cbuffer( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.disjoint_cbuffer_cbuffer(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def dwithin_cbuffer_cbuffer( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"], dist: float +) -> Annotated[int, "int"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.dwithin_cbuffer_cbuffer(cb1_converted, cb2_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def intersects_cbuffer_cbuffer( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.intersects_cbuffer_cbuffer(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def touches_cbuffer_cbuffer( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.touches_cbuffer_cbuffer(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_tstzspan_to_stbox( + cb: Annotated[_ffi.CData, "const Cbuffer *"], s: Annotated[_ffi.CData, "const Span *"] +) -> Annotated[_ffi.CData, "STBox *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + s_converted = _ffi.cast("const Span *", s) + result = _lib.cbuffer_tstzspan_to_stbox(cb_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_timestamptz_to_stbox( + cb: Annotated[_ffi.CData, "const Cbuffer *"], t: int +) -> Annotated[_ffi.CData, "STBox *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.cbuffer_timestamptz_to_stbox(cb_converted, t_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def distance_cbuffer_cbuffer( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[float, "double"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.distance_cbuffer_cbuffer(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def distance_cbuffer_geo( + cb: Annotated[_ffi.CData, "const Cbuffer *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[float, "double"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.distance_cbuffer_geo(cb_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def distance_cbuffer_stbox( + cb: Annotated[_ffi.CData, "const Cbuffer *"], box: Annotated[_ffi.CData, "const STBox *"] +) -> Annotated[float, "double"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.distance_cbuffer_stbox(cb_converted, box_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_cbuffer_stbox( + cb: Annotated[_ffi.CData, "const Cbuffer *"], box: Annotated[_ffi.CData, "const STBox *"] +) -> Annotated[float, "double"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.nad_cbuffer_stbox(cb_converted, box_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_cmp( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_cmp(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_eq( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[bool, "bool"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_eq(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_ge( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[bool, "bool"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_ge(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_gt( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[bool, "bool"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_gt(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_le( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[bool, "bool"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_le(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_lt( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[bool, "bool"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_lt(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_ne( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[bool, "bool"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_ne(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_nsame( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[bool, "bool"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_nsame(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_same( + cb1: Annotated[_ffi.CData, "const Cbuffer *"], cb2: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[bool, "bool"]: + cb1_converted = _ffi.cast("const Cbuffer *", cb1) + cb2_converted = _ffi.cast("const Cbuffer *", cb2) + result = _lib.cbuffer_same(cb1_converted, cb2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbufferset_in(string: str) -> Annotated[_ffi.CData, "Set *"]: + string_converted = string.encode("utf-8") + result = _lib.cbufferset_in(string_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbufferset_out(s: Annotated[_ffi.CData, "const Set *"], maxdd: int) -> Annotated[str, "char *"]: + s_converted = _ffi.cast("const Set *", s) + result = _lib.cbufferset_out(s_converted, maxdd) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def cbufferset_make(values: Annotated[list, "Cbuffer **"], count: int) -> Annotated[_ffi.CData, "Set *"]: + values_converted = [_ffi.cast("Cbuffer *", x) for x in values] + result = _lib.cbufferset_make(values_converted, count) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_to_set(cb: Annotated[_ffi.CData, "const Cbuffer *"]) -> Annotated[_ffi.CData, "Set *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_to_set(cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbufferset_end_value(s: Annotated[_ffi.CData, "const Set *"]) -> Annotated[_ffi.CData, "Cbuffer *"]: + s_converted = _ffi.cast("const Set *", s) + result = _lib.cbufferset_end_value(s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbufferset_start_value(s: Annotated[_ffi.CData, "const Set *"]) -> Annotated[_ffi.CData, "Cbuffer *"]: + s_converted = _ffi.cast("const Set *", s) + result = _lib.cbufferset_start_value(s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbufferset_value_n(s: Annotated[_ffi.CData, "const Set *"], n: int) -> Annotated[list, "Cbuffer **"]: + s_converted = _ffi.cast("const Set *", s) + out_result = _ffi.new("Cbuffer **") + result = _lib.cbufferset_value_n(s_converted, n, out_result) + _check_error() + if result: + return out_result if out_result != _ffi.NULL else None + return None + + +def cbufferset_values(s: Annotated[_ffi.CData, "const Set *"]) -> Annotated[_ffi.CData, "Cbuffer **"]: + s_converted = _ffi.cast("const Set *", s) + result = _lib.cbufferset_values(s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def cbuffer_union_transfn( + state: Annotated[_ffi.CData, "Set *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Set *"]: + state_converted = _ffi.cast("Set *", state) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.cbuffer_union_transfn(state_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def contained_cbuffer_set( + cb: Annotated[_ffi.CData, "const Cbuffer *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[bool, "bool"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + s_converted = _ffi.cast("const Set *", s) + result = _lib.contained_cbuffer_set(cb_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def contains_set_cbuffer( + s: Annotated[_ffi.CData, "const Set *"], cb: Annotated[_ffi.CData, "Cbuffer *"] +) -> Annotated[bool, "bool"]: + s_converted = _ffi.cast("const Set *", s) + cb_converted = _ffi.cast("Cbuffer *", cb) + result = _lib.contains_set_cbuffer(s_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def intersection_cbuffer_set( + cb: Annotated[_ffi.CData, "const Cbuffer *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "Set *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + s_converted = _ffi.cast("const Set *", s) + result = _lib.intersection_cbuffer_set(cb_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def intersection_set_cbuffer( + s: Annotated[_ffi.CData, "const Set *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Set *"]: + s_converted = _ffi.cast("const Set *", s) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.intersection_set_cbuffer(s_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def minus_cbuffer_set( + cb: Annotated[_ffi.CData, "const Cbuffer *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "Set *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + s_converted = _ffi.cast("const Set *", s) + result = _lib.minus_cbuffer_set(cb_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def minus_set_cbuffer( + s: Annotated[_ffi.CData, "const Set *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Set *"]: + s_converted = _ffi.cast("const Set *", s) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.minus_set_cbuffer(s_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def union_cbuffer_set( + cb: Annotated[_ffi.CData, "const Cbuffer *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "Set *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + s_converted = _ffi.cast("const Set *", s) + result = _lib.union_cbuffer_set(cb_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def union_set_cbuffer( + s: Annotated[_ffi.CData, "const Set *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Set *"]: + s_converted = _ffi.cast("const Set *", s) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.union_set_cbuffer(s_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_in(string: str) -> Annotated[_ffi.CData, "Temporal *"]: + string_converted = string.encode("utf-8") + result = _lib.tcbuffer_in(string_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_from_mfjson(mfjson: str) -> Annotated[_ffi.CData, "Temporal *"]: + mfjson_converted = mfjson.encode("utf-8") + result = _lib.tcbuffer_from_mfjson(mfjson_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbufferinst_make(cb: Annotated[_ffi.CData, "const Cbuffer *"], t: int) -> Annotated[_ffi.CData, "TInstant *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.tcbufferinst_make(cb_converted, t_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_make( + tpoint: Annotated[_ffi.CData, "const Temporal *"], tfloat: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + tpoint_converted = _ffi.cast("const Temporal *", tpoint) + tfloat_converted = _ffi.cast("const Temporal *", tfloat) + result = _lib.tcbuffer_make(tpoint_converted, tfloat_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_from_base_temp( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_from_base_temp(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbufferseq_from_base_tstzset( + cb: Annotated[_ffi.CData, "const Cbuffer *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "TSequence *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + s_converted = _ffi.cast("const Set *", s) + result = _lib.tcbufferseq_from_base_tstzset(cb_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbufferseq_from_base_tstzspan( + cb: Annotated[_ffi.CData, "const Cbuffer *"], s: Annotated[_ffi.CData, "const Span *"], interp: InterpolationType +) -> Annotated[_ffi.CData, "TSequence *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + s_converted = _ffi.cast("const Span *", s) + result = _lib.tcbufferseq_from_base_tstzspan(cb_converted, s_converted, interp) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbufferseqset_from_base_tstzspanset( + cb: Annotated[_ffi.CData, "const Cbuffer *"], + ss: Annotated[_ffi.CData, "const SpanSet *"], + interp: InterpolationType, +) -> Annotated[_ffi.CData, "TSequenceSet *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + ss_converted = _ffi.cast("const SpanSet *", ss) + result = _lib.tcbufferseqset_from_base_tstzspanset(cb_converted, ss_converted, interp) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_end_value(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Cbuffer *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_end_value(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_points(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Set *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_points(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_radius(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Set *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_radius(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_start_value(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Cbuffer *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_start_value(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_trav_area( + temp: Annotated[_ffi.CData, "const Temporal *"], merge_union: bool +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_trav_area(temp_converted, merge_union) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_value_at_timestamptz( + temp: Annotated[_ffi.CData, "const Temporal *"], t: int, strict: bool, value: Annotated[list, "Cbuffer **"] +) -> Annotated[bool, "bool"]: + temp_converted = _ffi.cast("const Temporal *", temp) + t_converted = _ffi.cast("TimestampTz", t) + value_converted = [_ffi.cast("Cbuffer *", x) for x in value] + result = _lib.tcbuffer_value_at_timestamptz(temp_converted, t_converted, strict, value_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_value_n(temp: Annotated[_ffi.CData, "const Temporal *"], n: int) -> Annotated[list, "Cbuffer **"]: + temp_converted = _ffi.cast("const Temporal *", temp) + out_result = _ffi.new("Cbuffer **") + result = _lib.tcbuffer_value_n(temp_converted, n, out_result) + _check_error() + if result: + return out_result if out_result != _ffi.NULL else None + return None + + +def tcbuffer_values( + temp: Annotated[_ffi.CData, "const Temporal *"], +) -> tuple[Annotated[_ffi.CData, "Cbuffer **"], Annotated[_ffi.CData, "int"]]: + temp_converted = _ffi.cast("const Temporal *", temp) + count = _ffi.new("int *") + result = _lib.tcbuffer_values(temp_converted, count) + _check_error() + return result if result != _ffi.NULL else None, count[0] + + +def tcbuffer_to_tfloat(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_to_tfloat(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_to_tgeompoint(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_to_tgeompoint(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tgeometry_to_tcbuffer(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tgeometry_to_tcbuffer(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_expand( + temp: Annotated[_ffi.CData, "const Temporal *"], dist: float +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcbuffer_expand(temp_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_at_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tcbuffer_at_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_at_geom( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tcbuffer_at_geom(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_at_stbox( + temp: Annotated[_ffi.CData, "const Temporal *"], box: Annotated[_ffi.CData, "const STBox *"], border_inc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.tcbuffer_at_stbox(temp_converted, box_converted, border_inc) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_minus_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tcbuffer_minus_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_minus_geom( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tcbuffer_minus_geom(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcbuffer_minus_stbox( + temp: Annotated[_ffi.CData, "const Temporal *"], box: Annotated[_ffi.CData, "const STBox *"], border_inc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.tcbuffer_minus_stbox(temp_converted, box_converted, border_inc) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tdistance_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tdistance_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tdistance_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[float, "double"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.nad_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[float, "double"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.nad_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_tcbuffer_stbox( + temp: Annotated[_ffi.CData, "const Temporal *"], box: Annotated[_ffi.CData, "const STBox *"] +) -> Annotated[float, "double"]: + temp_converted = _ffi.cast("const Temporal *", temp) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.nad_tcbuffer_stbox(temp_converted, box_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[float, "double"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.nad_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.nai_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.nai_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.nai_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.shortestline_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.shortestline_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.shortestline_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.always_eq_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.always_eq_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.always_eq_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.always_ne_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.always_ne_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.always_ne_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ever_eq_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.ever_eq_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.ever_eq_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ever_ne_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.ever_ne_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.ever_ne_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def teq_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.teq_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def teq_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.teq_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tne_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tne_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tne_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tne_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def acontains_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.acontains_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def acontains_geo_tcbuffer( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.acontains_geo_tcbuffer(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def acontains_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.acontains_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def acontains_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.acontains_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def acovers_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.acovers_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def acovers_geo_tcbuffer( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.acovers_geo_tcbuffer(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def acovers_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.acovers_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def acovers_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.acovers_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def adisjoint_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.adisjoint_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def adisjoint_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.adisjoint_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def adisjoint_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.adisjoint_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def adwithin_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"], dist: float +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.adwithin_tcbuffer_geo(temp_converted, gs_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def adwithin_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"], dist: float +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.adwithin_tcbuffer_cbuffer(temp_converted, cb_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def adwithin_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"], dist: float +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.adwithin_tcbuffer_tcbuffer(temp1_converted, temp2_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def aintersects_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.aintersects_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def aintersects_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.aintersects_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def aintersects_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.aintersects_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def atouches_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.atouches_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def atouches_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.atouches_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def atouches_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.atouches_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def econtains_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.econtains_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def econtains_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.econtains_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def econtains_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.econtains_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ecovers_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ecovers_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ecovers_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.ecovers_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ecovers_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.ecovers_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ecovers_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.ecovers_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def edisjoint_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.edisjoint_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def edisjoint_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.edisjoint_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def edwithin_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"], dist: float +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.edwithin_tcbuffer_geo(temp_converted, gs_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def edwithin_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"], dist: float +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.edwithin_tcbuffer_cbuffer(temp_converted, cb_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def edwithin_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"], dist: float +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.edwithin_tcbuffer_tcbuffer(temp1_converted, temp2_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def eintersects_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.eintersects_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def eintersects_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.eintersects_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def eintersects_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.eintersects_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def etouches_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.etouches_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def etouches_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.etouches_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def etouches_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.etouches_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcontains_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcontains_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcontains_geo_tcbuffer( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcontains_geo_tcbuffer(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcontains_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tcontains_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcontains_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tcontains_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcontains_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tcontains_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcovers_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcovers_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcovers_geo_tcbuffer( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tcovers_geo_tcbuffer(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcovers_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tcovers_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcovers_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tcovers_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tcovers_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tcovers_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdwithin_geo_tcbuffer( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"], dist: float +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tdwithin_geo_tcbuffer(gs_converted, temp_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def tdwithin_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"], dist: float +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tdwithin_tcbuffer_geo(temp_converted, gs_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def tdwithin_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"], dist: float +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tdwithin_tcbuffer_cbuffer(temp_converted, cb_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def tdwithin_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"], dist: float +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tdwithin_tcbuffer_tcbuffer(temp1_converted, temp2_converted, dist) + _check_error() + return result if result != _ffi.NULL else None + + +def tdisjoint_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tdisjoint_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdisjoint_geo_tcbuffer( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tdisjoint_geo_tcbuffer(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdisjoint_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tdisjoint_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdisjoint_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tdisjoint_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdisjoint_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tdisjoint_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tintersects_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tintersects_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tintersects_geo_tcbuffer( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tintersects_geo_tcbuffer(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tintersects_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tintersects_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tintersects_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.tintersects_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tintersects_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tintersects_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ttouches_geo_tcbuffer( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ttouches_geo_tcbuffer(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ttouches_tcbuffer_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.ttouches_tcbuffer_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ttouches_cbuffer_tcbuffer( + cb: Annotated[_ffi.CData, "const Cbuffer *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + cb_converted = _ffi.cast("const Cbuffer *", cb) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ttouches_cbuffer_tcbuffer(cb_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ttouches_tcbuffer_cbuffer( + temp: Annotated[_ffi.CData, "const Temporal *"], cb: Annotated[_ffi.CData, "const Cbuffer *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + cb_converted = _ffi.cast("const Cbuffer *", cb) + result = _lib.ttouches_tcbuffer_cbuffer(temp_converted, cb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ttouches_tcbuffer_tcbuffer( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.ttouches_tcbuffer_tcbuffer(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_as_ewkt(pose: Annotated[_ffi.CData, "const Pose *"], maxdd: int) -> Annotated[str, "char *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_as_ewkt(pose_converted, maxdd) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def pose_as_hexwkb( + pose: Annotated[_ffi.CData, "const Pose *"], variant: int, size: Annotated[_ffi.CData, "size_t *"] +) -> Annotated[str, "char *"]: + pose_converted = _ffi.cast("const Pose *", pose) + variant_converted = _ffi.cast("uint8_t", variant) + size_converted = _ffi.cast("size_t *", size) + result = _lib.pose_as_hexwkb(pose_converted, variant_converted, size_converted) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def pose_as_text(pose: Annotated[_ffi.CData, "const Pose *"], maxdd: int) -> Annotated[str, "char *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_as_text(pose_converted, maxdd) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def pose_as_wkb( + pose: Annotated[_ffi.CData, "const Pose *"], variant: int +) -> tuple[Annotated[_ffi.CData, "uint8_t *"], Annotated[_ffi.CData, "size_t *"]]: + pose_converted = _ffi.cast("const Pose *", pose) + variant_converted = _ffi.cast("uint8_t", variant) + size_out = _ffi.new("size_t *") + result = _lib.pose_as_wkb(pose_converted, variant_converted, size_out) + _check_error() + return result if result != _ffi.NULL else None, size_out[0] + + +def pose_from_wkb( + wkb: Annotated[_ffi.CData, "const uint8_t *"], size: Annotated[_ffi.CData, "size_t"] +) -> Annotated[_ffi.CData, "Pose *"]: + wkb_converted = _ffi.cast("const uint8_t *", wkb) + size_converted = _ffi.cast("size_t", size) + result = _lib.pose_from_wkb(wkb_converted, size_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_from_hexwkb(hexwkb: str) -> Annotated[_ffi.CData, "Pose *"]: + hexwkb_converted = hexwkb.encode("utf-8") + result = _lib.pose_from_hexwkb(hexwkb_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_in(string: str) -> Annotated[_ffi.CData, "Pose *"]: + string_converted = string.encode("utf-8") + result = _lib.pose_in(string_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_out(pose: Annotated[_ffi.CData, "const Pose *"], maxdd: int) -> Annotated[str, "char *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_out(pose_converted, maxdd) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def pose_copy(pose: Annotated[_ffi.CData, "const Pose *"]) -> Annotated[_ffi.CData, "Pose *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_copy(pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_make_2d( + x: float, y: float, theta: float, srid: Annotated[_ffi.CData, "int32_t"] +) -> Annotated[_ffi.CData, "Pose *"]: + srid_converted = _ffi.cast("int32_t", srid) + result = _lib.pose_make_2d(x, y, theta, srid_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_make_3d( + x: float, y: float, z: float, W: float, X: float, Y: float, Z: float, srid: Annotated[_ffi.CData, "int32_t"] +) -> Annotated[_ffi.CData, "Pose *"]: + srid_converted = _ffi.cast("int32_t", srid) + result = _lib.pose_make_3d(x, y, z, W, X, Y, Z, srid_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_make_point2d( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], theta: float +) -> Annotated[_ffi.CData, "Pose *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.pose_make_point2d(gs_converted, theta) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_make_point3d( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], W: float, X: float, Y: float, Z: float +) -> Annotated[_ffi.CData, "Pose *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.pose_make_point3d(gs_converted, W, X, Y, Z) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_to_point(pose: Annotated[_ffi.CData, "const Pose *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_to_point(pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_to_stbox(pose: Annotated[_ffi.CData, "const Pose *"]) -> Annotated[_ffi.CData, "STBox *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_to_stbox(pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_hash(pose: Annotated[_ffi.CData, "const Pose *"]) -> Annotated[int, "uint32"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_hash(pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_hash_extended(pose: Annotated[_ffi.CData, "const Pose *"], seed: int) -> Annotated[int, "uint64"]: + pose_converted = _ffi.cast("const Pose *", pose) + seed_converted = _ffi.cast("uint64", seed) + result = _lib.pose_hash_extended(pose_converted, seed_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_orientation(pose: Annotated[_ffi.CData, "const Pose *"]) -> Annotated[_ffi.CData, "double *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_orientation(pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_rotation(pose: Annotated[_ffi.CData, "const Pose *"]) -> Annotated[float, "double"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_rotation(pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_round(pose: Annotated[_ffi.CData, "const Pose *"], maxdd: int) -> Annotated[_ffi.CData, "Pose *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_round(pose_converted, maxdd) + _check_error() + return result if result != _ffi.NULL else None + + +def posearr_round( + posearr: Annotated[list, "const Pose **"], count: int, maxdd: int +) -> Annotated[_ffi.CData, "Pose **"]: + posearr_converted = [_ffi.cast("const Pose *", x) for x in posearr] + result = _lib.posearr_round(posearr_converted, count, maxdd) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_set_srid( + pose: Annotated[_ffi.CData, "Pose *"], srid: Annotated[_ffi.CData, "int32_t"] +) -> Annotated[None, "void"]: + pose_converted = _ffi.cast("Pose *", pose) + srid_converted = _ffi.cast("int32_t", srid) + _lib.pose_set_srid(pose_converted, srid_converted) + _check_error() + + +def pose_srid(pose: Annotated[_ffi.CData, "const Pose *"]) -> Annotated[_ffi.CData, "int32_t"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_srid(pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_transform( + pose: Annotated[_ffi.CData, "const Pose *"], srid: Annotated[_ffi.CData, "int32_t"] +) -> Annotated[_ffi.CData, "Pose *"]: + pose_converted = _ffi.cast("const Pose *", pose) + srid_converted = _ffi.cast("int32_t", srid) + result = _lib.pose_transform(pose_converted, srid_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_transform_pipeline( + pose: Annotated[_ffi.CData, "const Pose *"], + pipelinestr: str, + srid: Annotated[_ffi.CData, "int32_t"], + is_forward: bool, +) -> Annotated[_ffi.CData, "Pose *"]: + pose_converted = _ffi.cast("const Pose *", pose) + pipelinestr_converted = pipelinestr.encode("utf-8") + srid_converted = _ffi.cast("int32_t", srid) + result = _lib.pose_transform_pipeline(pose_converted, pipelinestr_converted, srid_converted, is_forward) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_tstzspan_to_stbox( + pose: Annotated[_ffi.CData, "const Pose *"], s: Annotated[_ffi.CData, "const Span *"] +) -> Annotated[_ffi.CData, "STBox *"]: + pose_converted = _ffi.cast("const Pose *", pose) + s_converted = _ffi.cast("const Span *", s) + result = _lib.pose_tstzspan_to_stbox(pose_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_timestamptz_to_stbox(pose: Annotated[_ffi.CData, "const Pose *"], t: int) -> Annotated[_ffi.CData, "STBox *"]: + pose_converted = _ffi.cast("const Pose *", pose) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.pose_timestamptz_to_stbox(pose_converted, t_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def distance_pose_geo( + pose: Annotated[_ffi.CData, "const Pose *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[float, "double"]: + pose_converted = _ffi.cast("const Pose *", pose) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.distance_pose_geo(pose_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def distance_pose_pose( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[float, "double"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.distance_pose_pose(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def distance_pose_stbox( + pose: Annotated[_ffi.CData, "const Pose *"], box: Annotated[_ffi.CData, "const STBox *"] +) -> Annotated[float, "double"]: + pose_converted = _ffi.cast("const Pose *", pose) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.distance_pose_stbox(pose_converted, box_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_cmp( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[int, "int"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_cmp(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_eq( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[bool, "bool"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_eq(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_ge( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[bool, "bool"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_ge(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_gt( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[bool, "bool"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_gt(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_le( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[bool, "bool"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_le(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_lt( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[bool, "bool"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_lt(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_ne( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[bool, "bool"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_ne(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_nsame( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[bool, "bool"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_nsame(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_same( + pose1: Annotated[_ffi.CData, "const Pose *"], pose2: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[bool, "bool"]: + pose1_converted = _ffi.cast("const Pose *", pose1) + pose2_converted = _ffi.cast("const Pose *", pose2) + result = _lib.pose_same(pose1_converted, pose2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def poseset_in(string: str) -> Annotated[_ffi.CData, "Set *"]: + string_converted = string.encode("utf-8") + result = _lib.poseset_in(string_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def poseset_out(s: Annotated[_ffi.CData, "const Set *"], maxdd: int) -> Annotated[str, "char *"]: + s_converted = _ffi.cast("const Set *", s) + result = _lib.poseset_out(s_converted, maxdd) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def poseset_make(values: Annotated[list, "const Pose **"], count: int) -> Annotated[_ffi.CData, "Set *"]: + values_converted = [_ffi.cast("const Pose *", x) for x in values] + result = _lib.poseset_make(values_converted, count) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_to_set(pose: Annotated[_ffi.CData, "const Pose *"]) -> Annotated[_ffi.CData, "Set *"]: + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_to_set(pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def poseset_end_value(s: Annotated[_ffi.CData, "const Set *"]) -> Annotated[_ffi.CData, "Pose *"]: + s_converted = _ffi.cast("const Set *", s) + result = _lib.poseset_end_value(s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def poseset_start_value(s: Annotated[_ffi.CData, "const Set *"]) -> Annotated[_ffi.CData, "Pose *"]: + s_converted = _ffi.cast("const Set *", s) + result = _lib.poseset_start_value(s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def poseset_value_n(s: Annotated[_ffi.CData, "const Set *"], n: int) -> Annotated[list, "Pose **"]: + s_converted = _ffi.cast("const Set *", s) + out_result = _ffi.new("Pose **") + result = _lib.poseset_value_n(s_converted, n, out_result) + _check_error() + if result: + return out_result if out_result != _ffi.NULL else None + return None + + +def poseset_values(s: Annotated[_ffi.CData, "const Set *"]) -> Annotated[_ffi.CData, "Pose **"]: + s_converted = _ffi.cast("const Set *", s) + result = _lib.poseset_values(s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def contained_pose_set( + pose: Annotated[_ffi.CData, "const Pose *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[bool, "bool"]: + pose_converted = _ffi.cast("const Pose *", pose) + s_converted = _ffi.cast("const Set *", s) + result = _lib.contained_pose_set(pose_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def contains_set_pose( + s: Annotated[_ffi.CData, "const Set *"], pose: Annotated[_ffi.CData, "Pose *"] +) -> Annotated[bool, "bool"]: + s_converted = _ffi.cast("const Set *", s) + pose_converted = _ffi.cast("Pose *", pose) + result = _lib.contains_set_pose(s_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def intersection_pose_set( + pose: Annotated[_ffi.CData, "const Pose *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "Set *"]: + pose_converted = _ffi.cast("const Pose *", pose) + s_converted = _ffi.cast("const Set *", s) + result = _lib.intersection_pose_set(pose_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def intersection_set_pose( + s: Annotated[_ffi.CData, "const Set *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Set *"]: + s_converted = _ffi.cast("const Set *", s) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.intersection_set_pose(s_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def minus_pose_set( + pose: Annotated[_ffi.CData, "const Pose *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "Set *"]: + pose_converted = _ffi.cast("const Pose *", pose) + s_converted = _ffi.cast("const Set *", s) + result = _lib.minus_pose_set(pose_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def minus_set_pose( + s: Annotated[_ffi.CData, "const Set *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Set *"]: + s_converted = _ffi.cast("const Set *", s) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.minus_set_pose(s_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def pose_union_transfn( + state: Annotated[_ffi.CData, "Set *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Set *"]: + state_converted = _ffi.cast("Set *", state) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.pose_union_transfn(state_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def union_pose_set( + pose: Annotated[_ffi.CData, "const Pose *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "Set *"]: + pose_converted = _ffi.cast("const Pose *", pose) + s_converted = _ffi.cast("const Set *", s) + result = _lib.union_pose_set(pose_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def union_set_pose( + s: Annotated[_ffi.CData, "const Set *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Set *"]: + s_converted = _ffi.cast("const Set *", s) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.union_set_pose(s_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_from_mfjson(string: str) -> Annotated[_ffi.CData, "Temporal *"]: + string_converted = string.encode("utf-8") + result = _lib.tpose_from_mfjson(string_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_in(string: str) -> Annotated[_ffi.CData, "Temporal *"]: + string_converted = string.encode("utf-8") + result = _lib.tpose_in(string_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tposeinst_make(pose: Annotated[_ffi.CData, "const Pose *"], t: int) -> Annotated[_ffi.CData, "TInstant *"]: + pose_converted = _ffi.cast("const Pose *", pose) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.tposeinst_make(pose_converted, t_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_from_base_temp( + pose: Annotated[_ffi.CData, "const Pose *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + pose_converted = _ffi.cast("const Pose *", pose) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tpose_from_base_temp(pose_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tposeseq_from_base_tstzset( + pose: Annotated[_ffi.CData, "const Pose *"], s: Annotated[_ffi.CData, "const Set *"] +) -> Annotated[_ffi.CData, "TSequence *"]: + pose_converted = _ffi.cast("const Pose *", pose) + s_converted = _ffi.cast("const Set *", s) + result = _lib.tposeseq_from_base_tstzset(pose_converted, s_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tposeseq_from_base_tstzspan( + pose: Annotated[_ffi.CData, "const Pose *"], s: Annotated[_ffi.CData, "const Span *"], interp: InterpolationType +) -> Annotated[_ffi.CData, "TSequence *"]: + pose_converted = _ffi.cast("const Pose *", pose) + s_converted = _ffi.cast("const Span *", s) + result = _lib.tposeseq_from_base_tstzspan(pose_converted, s_converted, interp) + _check_error() + return result if result != _ffi.NULL else None + + +def tposeseqset_from_base_tstzspanset( + pose: Annotated[_ffi.CData, "const Pose *"], ss: Annotated[_ffi.CData, "const SpanSet *"], interp: InterpolationType +) -> Annotated[_ffi.CData, "TSequenceSet *"]: + pose_converted = _ffi.cast("const Pose *", pose) + ss_converted = _ffi.cast("const SpanSet *", ss) + result = _lib.tposeseqset_from_base_tstzspanset(pose_converted, ss_converted, interp) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_make( + tpoint: Annotated[_ffi.CData, "const Temporal *"], tradius: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + tpoint_converted = _ffi.cast("const Temporal *", tpoint) + tradius_converted = _ffi.cast("const Temporal *", tradius) + result = _lib.tpose_make(tpoint_converted, tradius_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_to_tpoint(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tpose_to_tpoint(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_end_value(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Pose *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tpose_end_value(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_points(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Set *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tpose_points(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_rotation(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tpose_rotation(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_start_value(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Pose *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tpose_start_value(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_trajectory(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tpose_trajectory(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_value_at_timestamptz( + temp: Annotated[_ffi.CData, "const Temporal *"], t: int, strict: bool, value: Annotated[list, "Pose **"] +) -> Annotated[bool, "bool"]: + temp_converted = _ffi.cast("const Temporal *", temp) + t_converted = _ffi.cast("TimestampTz", t) + value_converted = [_ffi.cast("Pose *", x) for x in value] + result = _lib.tpose_value_at_timestamptz(temp_converted, t_converted, strict, value_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_value_n(temp: Annotated[_ffi.CData, "const Temporal *"], n: int) -> Annotated[list, "Pose **"]: + temp_converted = _ffi.cast("const Temporal *", temp) + out_result = _ffi.new("Pose **") + result = _lib.tpose_value_n(temp_converted, n, out_result) + _check_error() + if result: + return out_result if out_result != _ffi.NULL else None + return None + + +def tpose_values( + temp: Annotated[_ffi.CData, "const Temporal *"], +) -> tuple[Annotated[_ffi.CData, "Pose **"], Annotated[_ffi.CData, "int"]]: + temp_converted = _ffi.cast("const Temporal *", temp) + count = _ffi.new("int *") + result = _lib.tpose_values(temp_converted, count) + _check_error() + return result if result != _ffi.NULL else None, count[0] + + +def tpose_at_geom( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tpose_at_geom(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_at_stbox( + temp: Annotated[_ffi.CData, "const Temporal *"], box: Annotated[_ffi.CData, "const STBox *"], border_inc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.tpose_at_stbox(temp_converted, box_converted, border_inc) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_at_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.tpose_at_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_minus_geom( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tpose_minus_geom(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_minus_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.tpose_minus_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tpose_minus_stbox( + temp: Annotated[_ffi.CData, "const Temporal *"], box: Annotated[_ffi.CData, "const STBox *"], border_inc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.tpose_minus_stbox(temp_converted, box_converted, border_inc) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.tdistance_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_tpose_point( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tdistance_tpose_point(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_tpose_tpose( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tdistance_tpose_tpose(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_tpose_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[float, "double"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.nad_tpose_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[float, "double"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.nad_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_tpose_stbox( + temp: Annotated[_ffi.CData, "const Temporal *"], box: Annotated[_ffi.CData, "const STBox *"] +) -> Annotated[float, "double"]: + temp_converted = _ffi.cast("const Temporal *", temp) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.nad_tpose_stbox(temp_converted, box_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_tpose_tpose( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[float, "double"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.nad_tpose_tpose(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_tpose_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.nai_tpose_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.nai_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_tpose_tpose( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.nai_tpose_tpose(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_tpose_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.shortestline_tpose_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.shortestline_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_tpose_tpose( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.shortestline_tpose_tpose(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_pose_tpose( + pose: Annotated[_ffi.CData, "const Pose *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + pose_converted = _ffi.cast("const Pose *", pose) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.always_eq_pose_tpose(pose_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.always_eq_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_tpose_tpose( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.always_eq_tpose_tpose(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_pose_tpose( + pose: Annotated[_ffi.CData, "const Pose *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + pose_converted = _ffi.cast("const Pose *", pose) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.always_ne_pose_tpose(pose_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.always_ne_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_tpose_tpose( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.always_ne_tpose_tpose(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_pose_tpose( + pose: Annotated[_ffi.CData, "const Pose *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + pose_converted = _ffi.cast("const Pose *", pose) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ever_eq_pose_tpose(pose_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.ever_eq_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_tpose_tpose( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.ever_eq_tpose_tpose(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_pose_tpose( + pose: Annotated[_ffi.CData, "const Pose *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + pose_converted = _ffi.cast("const Pose *", pose) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ever_ne_pose_tpose(pose_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.ever_ne_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_tpose_tpose( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.ever_ne_tpose_tpose(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def teq_pose_tpose( + pose: Annotated[_ffi.CData, "const Pose *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + pose_converted = _ffi.cast("const Pose *", pose) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.teq_pose_tpose(pose_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def teq_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.teq_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tne_pose_tpose( + pose: Annotated[_ffi.CData, "const Pose *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + pose_converted = _ffi.cast("const Pose *", pose) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tne_pose_tpose(pose_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tne_tpose_pose( + temp: Annotated[_ffi.CData, "const Temporal *"], pose: Annotated[_ffi.CData, "const Pose *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + pose_converted = _ffi.cast("const Pose *", pose) + result = _lib.tne_tpose_pose(temp_converted, pose_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_out(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[str, "char *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_out(temp_converted) + _check_error() + result = _ffi.string(result).decode("utf-8") + return result if result != _ffi.NULL else None + + +def trgeoinst_make( + geom: Annotated[_ffi.CData, "const GSERIALIZED *"], pose: Annotated[_ffi.CData, "const Pose *"], t: int +) -> Annotated[_ffi.CData, "TInstant *"]: + geom_converted = _ffi.cast("const GSERIALIZED *", geom) + pose_converted = _ffi.cast("const Pose *", pose) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.trgeoinst_make(geom_converted, pose_converted, t_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def geo_tpose_to_trgeo( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.geo_tpose_to_trgeo(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_to_tpose(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_to_tpose(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_to_tpoint(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_to_tpoint(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_end_instant(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_end_instant(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_end_sequence(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "TSequence *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_end_sequence(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_end_value(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_end_value(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_geom(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_geom(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_instant_n(temp: Annotated[_ffi.CData, "const Temporal *"], n: int) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_instant_n(temp_converted, n) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_instants( + temp: Annotated[_ffi.CData, "const Temporal *"], +) -> tuple[Annotated[_ffi.CData, "TInstant **"], Annotated[_ffi.CData, "int"]]: + temp_converted = _ffi.cast("const Temporal *", temp) + count = _ffi.new("int *") + result = _lib.trgeo_instants(temp_converted, count) + _check_error() + return result if result != _ffi.NULL else None, count[0] + + +def trgeo_points(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Set *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_points(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_rotation(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_rotation(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_segments( + temp: Annotated[_ffi.CData, "const Temporal *"], +) -> tuple[Annotated[_ffi.CData, "TSequence **"], Annotated[_ffi.CData, "int"]]: + temp_converted = _ffi.cast("const Temporal *", temp) + count = _ffi.new("int *") + result = _lib.trgeo_segments(temp_converted, count) + _check_error() + return result if result != _ffi.NULL else None, count[0] + + +def trgeo_sequence_n(temp: Annotated[_ffi.CData, "const Temporal *"], i: int) -> Annotated[_ffi.CData, "TSequence *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_sequence_n(temp_converted, i) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_sequences( + temp: Annotated[_ffi.CData, "const Temporal *"], +) -> tuple[Annotated[_ffi.CData, "TSequence **"], Annotated[_ffi.CData, "int"]]: + temp_converted = _ffi.cast("const Temporal *", temp) + count = _ffi.new("int *") + result = _lib.trgeo_sequences(temp_converted, count) + _check_error() + return result if result != _ffi.NULL else None, count[0] + + +def trgeo_start_instant(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_start_instant(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_start_sequence(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "TSequence *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_start_sequence(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_start_value(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_start_value(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_value_n(temp: Annotated[_ffi.CData, "const Temporal *"], n: int) -> Annotated[list, "GSERIALIZED **"]: + temp_converted = _ffi.cast("const Temporal *", temp) + out_result = _ffi.new("GSERIALIZED **") + result = _lib.trgeo_value_n(temp_converted, n, out_result) + _check_error() + if result: + return out_result if out_result != _ffi.NULL else None + return None + + +def trgeo_traversed_area( + temp: Annotated[_ffi.CData, "const Temporal *"], unary_union: bool +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_traversed_area(temp_converted, unary_union) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_append_tinstant( + temp: Annotated[_ffi.CData, "Temporal *"], + inst: Annotated[_ffi.CData, "const TInstant *"], + interp: InterpolationType, + maxdist: float, + maxt: Annotated[_ffi.CData, "const Interval *"], + expand: bool, +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("Temporal *", temp) + inst_converted = _ffi.cast("const TInstant *", inst) + maxt_converted = _ffi.cast("const Interval *", maxt) + result = _lib.trgeo_append_tinstant(temp_converted, inst_converted, interp, maxdist, maxt_converted, expand) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_append_tsequence( + temp: Annotated[_ffi.CData, "Temporal *"], seq: Annotated[_ffi.CData, "const TSequence *"], expand: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("Temporal *", temp) + seq_converted = _ffi.cast("const TSequence *", seq) + result = _lib.trgeo_append_tsequence(temp_converted, seq_converted, expand) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_delete_timestamptz( + temp: Annotated[_ffi.CData, "const Temporal *"], t: int, connect: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.trgeo_delete_timestamptz(temp_converted, t_converted, connect) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_delete_tstzset( + temp: Annotated[_ffi.CData, "const Temporal *"], s: Annotated[_ffi.CData, "const Set *"], connect: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + s_converted = _ffi.cast("const Set *", s) + result = _lib.trgeo_delete_tstzset(temp_converted, s_converted, connect) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_delete_tstzspan( + temp: Annotated[_ffi.CData, "const Temporal *"], s: Annotated[_ffi.CData, "const Span *"], connect: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + s_converted = _ffi.cast("const Span *", s) + result = _lib.trgeo_delete_tstzspan(temp_converted, s_converted, connect) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_delete_tstzspanset( + temp: Annotated[_ffi.CData, "const Temporal *"], ss: Annotated[_ffi.CData, "const SpanSet *"], connect: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + ss_converted = _ffi.cast("const SpanSet *", ss) + result = _lib.trgeo_delete_tstzspanset(temp_converted, ss_converted, connect) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_round(temp: Annotated[_ffi.CData, "const Temporal *"], maxdd: int) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_round(temp_converted, maxdd) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_set_interp( + temp: Annotated[_ffi.CData, "const Temporal *"], interp: InterpolationType +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_set_interp(temp_converted, interp) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_to_tinstant(temp: Annotated[_ffi.CData, "const Temporal *"]) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.trgeo_to_tinstant(temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_after_timestamptz( + temp: Annotated[_ffi.CData, "const Temporal *"], t: int, strict: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.trgeo_after_timestamptz(temp_converted, t_converted, strict) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_before_timestamptz( + temp: Annotated[_ffi.CData, "const Temporal *"], t: int, strict: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.trgeo_before_timestamptz(temp_converted, t_converted, strict) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_restrict_value( + temp: Annotated[_ffi.CData, "const Temporal *"], value: Annotated[_ffi.CData, "Datum"], atfunc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + value_converted = _ffi.cast("Datum", value) + result = _lib.trgeo_restrict_value(temp_converted, value_converted, atfunc) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_restrict_values( + temp: Annotated[_ffi.CData, "const Temporal *"], s: Annotated[_ffi.CData, "const Set *"], atfunc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + s_converted = _ffi.cast("const Set *", s) + result = _lib.trgeo_restrict_values(temp_converted, s_converted, atfunc) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_restrict_timestamptz( + temp: Annotated[_ffi.CData, "const Temporal *"], t: int, atfunc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + t_converted = _ffi.cast("TimestampTz", t) + result = _lib.trgeo_restrict_timestamptz(temp_converted, t_converted, atfunc) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_restrict_tstzset( + temp: Annotated[_ffi.CData, "const Temporal *"], s: Annotated[_ffi.CData, "const Set *"], atfunc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + s_converted = _ffi.cast("const Set *", s) + result = _lib.trgeo_restrict_tstzset(temp_converted, s_converted, atfunc) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_restrict_tstzspan( + temp: Annotated[_ffi.CData, "const Temporal *"], s: Annotated[_ffi.CData, "const Span *"], atfunc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + s_converted = _ffi.cast("const Span *", s) + result = _lib.trgeo_restrict_tstzspan(temp_converted, s_converted, atfunc) + _check_error() + return result if result != _ffi.NULL else None + + +def trgeo_restrict_tstzspanset( + temp: Annotated[_ffi.CData, "const Temporal *"], ss: Annotated[_ffi.CData, "const SpanSet *"], atfunc: bool +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + ss_converted = _ffi.cast("const SpanSet *", ss) + result = _lib.trgeo_restrict_tstzspanset(temp_converted, ss_converted, atfunc) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tdistance_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_trgeo_tpoint( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tdistance_trgeo_tpoint(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tdistance_trgeo_trgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.tdistance_trgeo_trgeo(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_stbox_trgeo( + box: Annotated[_ffi.CData, "const STBox *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[float, "double"]: + box_converted = _ffi.cast("const STBox *", box) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.nad_stbox_trgeo(box_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[float, "double"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.nad_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_trgeo_stbox( + temp: Annotated[_ffi.CData, "const Temporal *"], box: Annotated[_ffi.CData, "const STBox *"] +) -> Annotated[float, "double"]: + temp_converted = _ffi.cast("const Temporal *", temp) + box_converted = _ffi.cast("const STBox *", box) + result = _lib.nad_trgeo_stbox(temp_converted, box_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_trgeo_tpoint( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[float, "double"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.nad_trgeo_tpoint(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nad_trgeo_trgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[float, "double"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.nad_trgeo_trgeo(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.nai_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_trgeo_tpoint( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.nai_trgeo_tpoint(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def nai_trgeo_trgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "TInstant *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.nai_trgeo_trgeo(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.shortestline_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_trgeo_tpoint( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.shortestline_trgeo_tpoint(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def shortestline_trgeo_trgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "GSERIALIZED *"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.shortestline_trgeo_trgeo(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_geo_trgeo( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.always_eq_geo_trgeo(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.always_eq_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_eq_trgeo_trgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.always_eq_trgeo_trgeo(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_geo_trgeo( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.always_ne_geo_trgeo(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.always_ne_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def always_ne_trgeo_trgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.always_ne_trgeo_trgeo(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_geo_trgeo( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ever_eq_geo_trgeo(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.ever_eq_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_eq_trgeo_trgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.ever_eq_trgeo_trgeo(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_geo_trgeo( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.ever_ne_geo_trgeo(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[int, "int"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.ever_ne_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def ever_ne_trgeo_trgeo( + temp1: Annotated[_ffi.CData, "const Temporal *"], temp2: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[int, "int"]: + temp1_converted = _ffi.cast("const Temporal *", temp1) + temp2_converted = _ffi.cast("const Temporal *", temp2) + result = _lib.ever_ne_trgeo_trgeo(temp1_converted, temp2_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def teq_geo_trgeo( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.teq_geo_trgeo(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def teq_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.teq_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tne_geo_trgeo( + gs: Annotated[_ffi.CData, "const GSERIALIZED *"], temp: Annotated[_ffi.CData, "const Temporal *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + temp_converted = _ffi.cast("const Temporal *", temp) + result = _lib.tne_geo_trgeo(gs_converted, temp_converted) + _check_error() + return result if result != _ffi.NULL else None + + +def tne_trgeo_geo( + temp: Annotated[_ffi.CData, "const Temporal *"], gs: Annotated[_ffi.CData, "const GSERIALIZED *"] +) -> Annotated[_ffi.CData, "Temporal *"]: + temp_converted = _ffi.cast("const Temporal *", temp) + gs_converted = _ffi.cast("const GSERIALIZED *", gs) + result = _lib.tne_trgeo_geo(temp_converted, gs_converted) + _check_error() + return result if result != _ffi.NULL else None