mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 10:41:59 +03:00
60d597fccd
Pragma once is supported by all compilers for the last ten years. Better use it instead of include guards (which use different styles in different files).
18 lines
371 B
C
18 lines
371 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 *);
|