Pg: Support custom type overrides with callbacks

This commit is contained in:
Yorhel 2025-02-28 11:23:37 +01:00
parent 327fd9ea50
commit 4686097d00
6 changed files with 227 additions and 85 deletions

4
FU.xs
View file

@ -21,6 +21,10 @@
#define BOOL_INTERNALS_sv_isbool_true(x) SvPVXtrue(x)
#endif
/* Disable key/value struct packing in khashl, so we can safely take a pointer
* to values inside the hash table. */
#define kh_packed
#include "c/khashl.h"
#include "c/common.c"
#include "c/jsonfmt.c"