Some fixes and framework docs
This commit is contained in:
parent
b2d676b1ed
commit
18e642290d
7 changed files with 313 additions and 17 deletions
2
FU.xs
2
FU.xs
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue