Idris2/support/refc/conCaseHelper.h
2022-09-21 12:12:34 +01:00

17 lines
367 B
C

#pragma once
#include "cBackend.h"
typedef struct {
char *name;
int tag;
} AConAlt;
AConAlt *newConstructorField(int);
int compareConstructors(Value *, AConAlt *, int);
void constructorFieldFNextEntry(AConAlt *, char *, int);
void freeConstructorField(AConAlt *);
int multiStringCompare(Value *, int, char **);
int multiDoubleCompare(Value *, int, double *);