pg: Add a few result fetching methods

I'm not sure if these are free from memory leaks, need to find a way to
test for that.
This commit is contained in:
Yorhel 2025-02-06 11:36:08 +01:00
parent 711300b227
commit 9d5905e3b4
5 changed files with 223 additions and 21 deletions

16
FU.xs
View file

@ -107,6 +107,22 @@ void exec(fupg_st *st)
CODE:
ST(0) = fupg_st_exec(aTHX_ st);
void val(fupg_st *st)
CODE:
ST(0) = fupg_st_val(aTHX_ st);
void rowl(fupg_st *st)
CODE:
XSRETURN(fupg_st_rowl(aTHX_ st, ax));
void rowa(fupg_st *st)
CODE:
ST(0) = fupg_st_rowa(aTHX_ st);
void rowh(fupg_st *st)
CODE:
ST(0) = fupg_st_rowh(aTHX_ st);
void DESTROY(fupg_st *st)
CODE:
fupg_st_destroy(st);