| 93 | } |
| 94 | |
| 95 | void hc_dsl_set_fun(struct hc_dsl *dsl, const char *key, hc_vm_fun_t val) { |
| 96 | hc_dsl_setenv(dsl, key, &HC_VM_FUN)->as_other = val; |
| 97 | } |
| 98 | |
| 99 | void hc_dsl_set_string(struct hc_dsl *dsl, const char *key, const char *val) { |
| 100 | hc_dsl_setenv(dsl, key, &HC_STRING)->as_string = strdup(val); |
no test coverage detected