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

Implements the OP_SQLITE_OPEN opcode (conditional build). More...

Go to the source code of this file.

Functions

 free_value (v)
 push_value (vm, make_int(0))

Variables

case OP_SQLITE_OPEN
 break

Detailed Description

Implements the OP_SQLITE_OPEN opcode (conditional build).

Opens a SQLite database and registers a handle when FUN_WITH_SQLITE is enabled. On failure or when SQLite support is disabled, pushes 0.

Definition in file open.c.

Function Documentation

◆ free_value()

free_value(v)

◆ push_value()

push_value(vm,
make_int(0) )

Variable Documentation

◆ break

break

Definition at line 50 of file open.c.

◆ OP_SQLITE_OPEN

case OP_SQLITE_OPEN

OP_SQLITE_OPEN: (path:string) -> handle:int (>0) or 0 on error

Definition at line 21 of file open.c.