Am 07.07.2025 um 17:14 schrieb Allin Cottrell:
A small novelty in git which may be of use to developers: you can now use the "store" command, with a new --functions option, to save function definitions as XML. Material saved in this way can then be loaded using "include" on the XML file.
...

What about the C angle? Up till now there has been no straightforward way to load hansl functions in the context of a "libgretl C program", but now you can do

<C>
int err;
err = load_XML_functions_file(<XML filename>, OPT_NONE, NULL);
</C>

Thanks, Allin. Naive question: This C function load_XML_functions_file is from libgretl, right? Wouldn't it make sense to have a "gretl_" prefix there? I'm thinking about a situation when you're writing a C program where also other libraries may be included, so that it's clearer.

cheers

sven

_______________________________________________
Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it
To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

Reply via email to