1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 22:28:47 -04:00

DBD-SQLite: added necessary ENTER/SAVETMPS/FREETMPS/LEAVE to sqlite_db_progress_handler_dispatcher

This commit is contained in:
Kenichi Ishigaki 2009-04-30 06:15:11 +00:00
parent 6afda6d925
commit 974ebde43c

View file

@ -1322,6 +1322,8 @@ int sqlite_db_progress_handler_dispatcher( void *handler )
int n_retval; int n_retval;
int retval; int retval;
ENTER;
SAVETMPS;
PUSHMARK(SP); PUSHMARK(SP);
n_retval = call_sv( handler, G_SCALAR ); n_retval = call_sv( handler, G_SCALAR );
if ( n_retval != 1 ) { if ( n_retval != 1 ) {
@ -1330,6 +1332,8 @@ int sqlite_db_progress_handler_dispatcher( void *handler )
SPAGAIN; SPAGAIN;
retval = POPi; retval = POPi;
PUTBACK; PUTBACK;
FREETMPS;
LEAVE;
return retval; return retval;
} }