ext/pdo_sqlite: Use new F ZPP (#14059)

closes #14059
This commit is contained in:
Saki Takamachi 2024-04-28 16:16:58 +09:00
parent 6303d1fc6a
commit cf92a191e8
No known key found for this signature in database
GPG key ID: E4A36F6D37931A8B
6 changed files with 212 additions and 79 deletions

View file

@ -26,28 +26,23 @@ typedef struct {
char *errmsg;
} pdo_sqlite_error_info;
struct pdo_sqlite_fci {
zend_fcall_info fci;
zend_fcall_info_cache fcc;
};
struct pdo_sqlite_func {
struct pdo_sqlite_func *next;
zval func, step, fini;
int argc;
const char *funcname;
/* accelerated callback references */
struct pdo_sqlite_fci afunc, astep, afini;
zend_fcall_info_cache func;
zend_fcall_info_cache step;
zend_fcall_info_cache fini;
};
struct pdo_sqlite_collation {
struct pdo_sqlite_collation *next;
const char *name;
zval callback;
struct pdo_sqlite_fci fc;
zend_fcall_info_cache callback;
};
typedef struct {