Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
sqlite.c File Reference

SQLite handle registry and helper utilities for the Fun VM extension. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

SQLite handle registry and helper utilities for the Fun VM extension.

This module provides a very small registry for SQLite database handles when the project is compiled with FUN_WITH_SQLITE. It assigns small integer identifiers to opened sqlite3 connections and allows retrieval or removal of those entries. The registry itself does not open or close SQLite databases — it only stores pointers provided by the caller.

Thread-safety: This registry is not thread-safe. Callers must ensure external synchronization if used from multiple threads.

Definition in file sqlite.c.