Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
Version and Build Configuration

Options applied when compiling the implementation translation unit. More...

Macros

#define JSONBOURNE_VERSION_MAJOR   1
 Major API version component.
#define JSONBOURNE_VERSION_MINOR   0
 Minor API version component.
#define JSONBOURNE_VERSION_PATCH   1
 Patch version component.
#define JSONBOURNE_VERSION_HEX    ((JSONBOURNE_VERSION_MAJOR << 16) | (JSONBOURNE_VERSION_MINOR << 8) | JSONBOURNE_VERSION_PATCH)
 Packed major/minor/patch version for compile-time comparisons.
#define JSONBOURNE_VERSION_STRING   "1.0.1"
 Human-readable header version; query jsonbourne_version() for the linked object.
#define JSONBOURNE_READER_DEPTH_LIMIT   999
 Maximum simultaneous open reader containers; must be positive.
#define JSONBOURNE_WRITER_DEPTH_LIMIT   JSONBOURNE_READER_DEPTH_LIMIT
 Positive writer/copy nesting bound, defaulting to the reader bound.
#define JSONBOURNE_MAX_HEX_DIGITS   1024
 Maximum significant hexadecimal digits converted to decimal output.
#define JSONBOURNE_DISABLE_SIMD   0
 Set to 1 to exercise the scalar path or omit architecture-specific intrinsics.
#define JSONBOURNE_API
 Optional declaration annotation for a consumer's visibility/export policy.

Functions

JSONBOURNE_API uint32_t jsonbourne_version (void)
 Query the linked implementation rather than the including header.

Detailed Description

Options applied when compiling the implementation translation unit.

Macro Definition Documentation

◆ JSONBOURNE_API

#define JSONBOURNE_API

Optional declaration annotation for a consumer's visibility/export policy.

Definition at line 133 of file jsonbourne.h.

◆ JSONBOURNE_DISABLE_SIMD

#define JSONBOURNE_DISABLE_SIMD   0

Set to 1 to exercise the scalar path or omit architecture-specific intrinsics.

Definition at line 129 of file jsonbourne.h.

◆ JSONBOURNE_MAX_HEX_DIGITS

#define JSONBOURNE_MAX_HEX_DIGITS   1024

Maximum significant hexadecimal digits converted to decimal output.

Bounds exact conversion work and its fixed scratch array; accepted settings are 16 through 16384. Leading zeroes do not consume this limit.

Definition at line 122 of file jsonbourne.h.

◆ JSONBOURNE_READER_DEPTH_LIMIT

#define JSONBOURNE_READER_DEPTH_LIMIT   999

Maximum simultaneous open reader containers; must be positive.

A fixed stack makes nesting memory predictable without recursive calls or growth allocations. Smaller application-specific bounds save stack space even when a particular input has little nesting.

See also
jsonbourne_read_limits::max_depth

Definition at line 103 of file jsonbourne.h.

◆ JSONBOURNE_VERSION_HEX

#define JSONBOURNE_VERSION_HEX    ((JSONBOURNE_VERSION_MAJOR << 16) | (JSONBOURNE_VERSION_MINOR << 8) | JSONBOURNE_VERSION_PATCH)

Packed major/minor/patch version for compile-time comparisons.

Definition at line 90 of file jsonbourne.h.

◆ JSONBOURNE_VERSION_MAJOR

#define JSONBOURNE_VERSION_MAJOR   1

Major API version component.

Definition at line 84 of file jsonbourne.h.

◆ JSONBOURNE_VERSION_MINOR

#define JSONBOURNE_VERSION_MINOR   0

Minor API version component.

Definition at line 86 of file jsonbourne.h.

◆ JSONBOURNE_VERSION_PATCH

#define JSONBOURNE_VERSION_PATCH   1

Patch version component.

Definition at line 88 of file jsonbourne.h.

◆ JSONBOURNE_VERSION_STRING

#define JSONBOURNE_VERSION_STRING   "1.0.1"

Human-readable header version; query jsonbourne_version() for the linked object.

Definition at line 93 of file jsonbourne.h.

◆ JSONBOURNE_WRITER_DEPTH_LIMIT

#define JSONBOURNE_WRITER_DEPTH_LIMIT   JSONBOURNE_READER_DEPTH_LIMIT

Positive writer/copy nesting bound, defaulting to the reader bound.

Separate limits allow a program to inspect deeper input than it is willing to traverse for output or copying, without unbounded stack growth.

Definition at line 111 of file jsonbourne.h.

Function Documentation

◆ jsonbourne_version()

JSONBOURNE_API uint32_t jsonbourne_version ( void )

Query the linked implementation rather than the including header.

Returns
Packed major/minor/patch version in JSONBOURNE_VERSION_HEX format.

Definition at line 104 of file jsonbourne.c.