| 1 | #include <perl.h> | ||
| 2 | #include "try-catch-constants.h" | ||
| 3 | |||
| 4 | 27 | static void my_setup_constants(pTHX) { | |
| 5 | 27 | internal_stash = gv_stashpv(MAIN_PKG, 0); | |
| 6 | |||
| 7 | 27 | hintkey_enabled_sv = newSVpvs_share(HINTKEY_ENABLED); | |
| 8 | 27 | newCONSTSUB(internal_stash, "HINTKEY_ENABLED", hintkey_enabled_sv); | |
| 9 | 27 | } |