summaryrefslogtreecommitdiff
path: root/apl9.h
diff options
context:
space:
mode:
Diffstat (limited to 'apl9.h')
-rw-r--r--apl9.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apl9.h b/apl9.h
index f15cd77..f6ea693 100644
--- a/apl9.h
+++ b/apl9.h
@@ -23,6 +23,7 @@ typedef enum
{
AtypeInt,
AtypeFloat,
+ AtypeRune,
AtypeArray,
} arrayDataType;
@@ -60,6 +61,7 @@ struct Array
char *rawdata;
vlong *intdata;
double *floatdata;
+ Rune *runedata;
Array **arraydata;
};
};
@@ -157,6 +159,8 @@ Statement *lexline(Rune *);
/* array.c */
Array *mkscalarint(vlong);
Array *mkscalarfloat(double);
+Array *mkscalarrune(Rune);
+Array *mkrunearray(Rune *);
Array *duparray(Array *);
int simplearray(Array *);
int simplescalar(Array *);