=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Kan/extern.h,v retrieving revision 1.25 retrieving revision 1.29 diff -u -p -r1.25 -r1.29 --- OpenXM/src/kan96xx/Kan/extern.h 2004/09/11 01:00:42 1.25 +++ OpenXM/src/kan96xx/Kan/extern.h 2004/09/20 02:11:22 1.29 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/Kan/extern.h,v 1.24 2004/09/09 11:42:22 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/Kan/extern.h,v 1.28 2004/09/13 11:24:11 takayama Exp $ */ /*********** global variables for module stackmachine***************/ extern int VerboseStack; extern int DebugStack; @@ -72,6 +72,7 @@ int isLiteral(char *str); void lockCtrlCForOx(); void unlockCtrlCForOx(); void restoreCtrlCForOx(); +int executeExecutableArray(struct object ob,char *fname,int withGotoP); /* stackmachine.c export */ int KSdefineMacros(void); @@ -137,6 +138,8 @@ struct object KarrayToList(struct object ob); /* list:conversion */ struct object listToArray(struct object *op); struct object *arrayToList(struct object ob); +struct object newByteArray(int size,struct object obj); +struct object byteArrayToArray(struct object obj); /* kanExport0.c */ /** arithmetic **/ @@ -191,6 +194,8 @@ struct object KintToUniversalNumber(int n); #define Knumerator(o) ( (o).lc.op ) #define Kdenominator(o) ( (o).rc.op ) #define KopDouble(ob) (*((ob).lc.dbl)) +#define KopByteArray(o) ( (o).lc.bytes ) +#define getByteArraySize(o) ( (o).rc.ival ) char *KPOLYToString(POLY f); /** conversion 2 **/ struct object arrayOfPOLYToArray(struct arrayOfPOLY *aa); @@ -221,7 +226,8 @@ struct object Khead(struct object ob); int KpolyLength(POLY f); struct object KsetOutputOrder(struct object obj,struct ring *rp); struct object KsetVariableNames(struct object obj,struct ring *rp); - +/* KgetRingInfo has not yet been implemented. */ +struct object KgetRingInfo(struct object ringObj, struct object ofunc); /* :eval */ struct object Keval(struct object obj);