aboutsummaryrefslogtreecommitdiff
path: root/include/std_gc/list.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-01-26 08:02:17 +0100
committerdec05eba <dec05eba@protonmail.com>2020-01-26 08:03:53 +0100
commit31519e8a586791d60e6e56e558c2a3bf973cc1f9 (patch)
tree9195b99953568103fe58025d5888960a48a0c051 /include/std_gc/list.h
parent5df950e0b35207930c645e8ce0c3e9ed1c9fcea5 (diff)
Implement plus operator and indexing of strings
Diffstat (limited to 'include/std_gc/list.h')
-rw-r--r--include/std_gc/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/std_gc/list.h b/include/std_gc/list.h
index 469f585..a97f311 100644
--- a/include/std_gc/list.h
+++ b/include/std_gc/list.h
@@ -16,6 +16,6 @@ int tsl_list_set_capacity_hint(TslList *self, size_t capacity);
TslValue* tsl_list_begin(TslList *self);
TslValue* tsl_list_end(TslList *self);
/* Returns NULL if index is out of bounds of the list */
-TslValue* tsl_list_get(TslList *self, double index);
+TslValue* tsl_list_get(const TslList *self, double index);
#endif /* TSL_LIST_H */