SWI-Prolog / packages-pcre

SWI-Prolog package for access to Perl Regular Expressions
5 stars 7 forks source link

Add blob save/load functions (generate an error for now) #27

Closed kamahen closed 1 year ago

kamahen commented 1 year ago

This requires the changes to SWI-Prolog.h in https://github.com/SWI-Prolog/swipl-devel/pull/1119

JanWielemaker commented 1 year ago

Possibly we should make some of the low-level functions of pl-wic.c public (as PL_*). I.e., we do have the stuff for saving atoms and integers there that takes care of all issues related to that, such as encoding, big/little endian, different sizes, etc. Maybe just for atoms and integers? That should probably already gets us far.