RosettaCodeData/Task/Optional-parameters/PARI-GP/optional-parameters-2.parigp
2023-07-01 13:44:08 -04:00

10 lines
201 B
Text

/*
GP;install("test_func", "vDG", "test", "path/to/test.gp.so");
*/
void
test_func(GEN x) {
if (x == NULL)
pari_printf("Argument omitted.\n");
else
pari_printf("Argument was: %Ps\n", x);
}