summaryrefslogtreecommitdiff
path: root/Scope.h
diff options
context:
space:
mode:
authorkdx <kdx@42l.fr>2023-01-22 23:01:16 +0100
committerkdx <kdx@42l.fr>2023-01-22 23:01:16 +0100
commit2a3dccf7ad817aede812b6474e9d14dabe750050 (patch)
tree4e3af60c1980aae2cf684bdbb691b75b1232f5d4 /Scope.h
parenta2097e53d48b3779d92d8de1ae8b923ff8b79811 (diff)
downloadgolem-2a3dccf7ad817aede812b6474e9d14dabe750050.tar.gz
insert values in root scopelegacy
Diffstat (limited to 'Scope.h')
-rw-r--r--Scope.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scope.h b/Scope.h
index e5adacd..f4fc498 100644
--- a/Scope.h
+++ b/Scope.h
@@ -13,5 +13,6 @@ struct Scope {
const Scope *parent;
};
+/* created pointer shall be manualy freed by caller */
Scope *scope_create(const Scope *parent);
int scope_insert(Scope *scope, const char *word, int value);