From daecd330d5719e4a65d5b07f81209f99f423e6a2 Mon Sep 17 00:00:00 2001 From: Cody Date: Mon, 26 Jun 2023 18:49:29 -0500 Subject: vset, vget & vlen --- test.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test.c') diff --git a/test.c b/test.c index 988b352..cac1aef 100644 --- a/test.c +++ b/test.c @@ -8,6 +8,12 @@ typedef struct { IntVec* test(); int testtwo(IntVec*); +int testthree(IntVec*); +int testfour(IntVec*); + +void testback(int x) { + printf("%d, ", x); +} int main() { IntVec* v = test(); @@ -38,5 +44,10 @@ int main() { int value = inner[i]; printf("%d ", value); } - puts("\n"); + puts("\n\n"); + int i = testthree(v); + printf("%d ", i); + puts("\n\n"); + testfour(v); + puts(""); } -- cgit v1.2.3