Some fixes and framework docs

This commit is contained in:
Yorhel 2025-02-23 14:05:43 +01:00
parent b2d676b1ed
commit 18e642290d
7 changed files with 313 additions and 17 deletions

2
FU.xs
View file

@ -351,7 +351,7 @@ void columns(fupg_st *st)
void nrows(fupg_st *st)
CODE:
ST(0) = st->result ? fupg_exec_result(aTHX_ st->result) : &PL_sv_undef;
ST(0) = st->result ? sv_2mortal(newSViv(PQntuples(st->result))) : &PL_sv_undef;
void query(fupg_st *st)
CODE: