MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_dsl_set_string

Function hc_dsl_set_string

dsl/dsl.c:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void 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);
101}
102
103void hc_dsl_eval(struct hc_dsl *dsl, const char *in) {
104 struct hc_list forms;

Callers 2

eval_testsFunction · 0.85
dsl_benchmarksFunction · 0.85

Calls 1

hc_dsl_setenvFunction · 0.85

Tested by 1

eval_testsFunction · 0.68