X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsqlite%2Fsqlite.psi;fp=tests%2Fsqlite%2Fsqlite.psi;h=b2beb5cd6d4be0b5ade4d28fdf8a1a36e7addd3a;hb=cbdcfd25784d00b309573f5e2de35538e9efa8af;hp=23669d6eb4501530ff4adfdbfd548ac8a7ad2842;hpb=eb8dda8a98e6a1623406175374d7c199bf27860c;p=m6w6%2Fext-psi diff --git a/tests/sqlite/sqlite.psi b/tests/sqlite/sqlite.psi index 23669d6..b2beb5c 100644 --- a/tests/sqlite/sqlite.psi +++ b/tests/sqlite/sqlite.psi @@ -42,13 +42,6 @@ function sqlite3\open(string $uri, object &$db) : int { typedef int (*sqlite3_callback)(void *data, int argc, char** argv, char** cols); -/* - * C calls into us, so we have to have a way to define how the callback - * arguments have to be marshaled for the userland callback, i.e. from - * native C types to ZE zvals /and/ how the userland return value has - * to be marshaled to a native type. All in all, the opposite of function impls. - */ - extern int sqlite3_exec(sqlite3 *db, const char *sql, sqlite3_callback callback, void *data, char **errmsg); function sqlite3\exec(object $db, string $sql, callable $cb, mixed $cd, string &$error = null) : int { let db = objval($db);