diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-02-20 17:13:50 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-02-20 17:13:50 -0500 |
| commit | 91f66d80bb308b9aeca3b74b72e1593539c38862 (patch) | |
| tree | 8a017837c51dd71d1467ffffeaf9eb361e191291 /environment.h | |
| parent | 43a2959be3835fac0b39ae1be3a9116b5ec184f0 (diff) | |
Support arbitrary argument constructors
Diffstat (limited to 'environment.h')
| -rw-r--r-- | environment.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.h b/environment.h index 97a6647d..c3d897b8 100644 --- a/environment.h +++ b/environment.h @@ -65,7 +65,7 @@ env_t *namespace_env(env_t *env, const char *namespace_name); __attribute__((format(printf, 4, 5))) _Noreturn void compiler_err(file_t *f, const char *start, const char *end, const char *fmt, ...); binding_t *get_binding(env_t *env, const char *name); -binding_t *get_lang_escape_function(env_t *env, const char *lang_name, type_t *type_to_escape); +binding_t *get_constructor(env_t *env, type_t *t, arg_ast_t *args); void set_binding(env_t *env, const char *name, type_t *type, CORD code); binding_t *get_namespace_binding(env_t *env, ast_t *self, const char *name); #define code_err(ast, ...) compiler_err((ast)->file, (ast)->start, (ast)->end, __VA_ARGS__) |
