From 63847496f14c813a5d80efd5b7de0f1294ffe1e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 16:07:11 +0200 Subject: Adding upstream version 3.45.1. Signed-off-by: Daniel Baumann --- www/c3ref/compileoption_get.html | 155 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 www/c3ref/compileoption_get.html (limited to 'www/c3ref/compileoption_get.html') diff --git a/www/c3ref/compileoption_get.html b/www/c3ref/compileoption_get.html new file mode 100644 index 0000000..b1609ab --- /dev/null +++ b/www/c3ref/compileoption_get.html @@ -0,0 +1,155 @@ + + + + + +Run-Time Library Compilation Options Diagnostics + + + +
+ + + +
+
+Small. Fast. Reliable.
Choose any three. +
+ + +
+
+ + + +
+
+
+ + +
+

SQLite C Interface

+

Run-Time Library Compilation Options Diagnostics

+
+
+#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS
+int sqlite3_compileoption_used(const char *zOptName);
+const char *sqlite3_compileoption_get(int N);
+#else
+# define sqlite3_compileoption_used(X) 0
+# define sqlite3_compileoption_get(X)  ((void*)0)
+#endif
+
+

+The sqlite3_compileoption_used() function returns 0 or 1 +indicating whether the specified option was defined at +compile time. The SQLITE_ prefix may be omitted from the +option name passed to sqlite3_compileoption_used().

+ +

The sqlite3_compileoption_get() function allows iterating +over the list of options that were defined at compile time by +returning the N-th compile time option string. If N is out of range, +sqlite3_compileoption_get() returns a NULL pointer. The SQLITE_ +prefix is omitted from any strings returned by +sqlite3_compileoption_get().

+ +

Support for the diagnostic functions sqlite3_compileoption_used() +and sqlite3_compileoption_get() may be omitted by specifying the +SQLITE_OMIT_COMPILEOPTION_DIAGS option at compile time.

+ +

See also: SQL functions sqlite_compileoption_used() and +sqlite_compileoption_get() and the compile_options pragma. +

See also lists of + Objects, + Constants, and + Functions.

+ -- cgit v1.2.3