Commit 0707a06b authored by John van Groningen's avatar John van Groningen
Browse files

add function BEGetIntFromArray, will replace BECopyInts because copying

an array of integers in this way fails if the size of integers is not the same
in clean and c
parent 065d39e6
......@@ -3512,6 +3512,12 @@ BECopyInts (int cLength, int *ints, int *cleanArray)
return (!truncate);
} /* BECopyInts */
int
BEGetIntFromArray (int index, int *ints)
{
return ints[index];
}
static void
CheckBEEnumTypes (void)
{
......
......@@ -550,6 +550,8 @@ Clean (BEStrictPositions :: Int BackEnd -> (Int, Int, BackEnd))
int BECopyInts (int cLength, int *ints, int *cleanArray);
int BEGetIntFromArray (int index, int *ints);
// temporary hack
void BEDeclareDynamicTypeSymbol (int typeIndex, int moduleIndex);
Clean (BEDeclareDynamicTypeSymbol :: Int Int BackEnd -> BackEnd)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment