LLVM OpenMP 22.0.0git
api.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <omp.h>

Go to the source code of this file.

Macros

#define XSTR(x)
#define STR(x)
#define streqls(s1, s2)
#define check(condition)
#define BUFFER_SIZE   1024

Functions

int main (int argc, char **argv)

Macro Definition Documentation

◆ BUFFER_SIZE

#define BUFFER_SIZE   1024

Definition at line 21 of file api.c.

◆ check

#define check ( condition)
Value:
if (!(condition)) { \
fprintf(stderr, "error: %s: %d: " STR(condition) "\n", __FILE__, \
__LINE__); \
exit(1); \
}
#define STR(x)
int condition

Definition at line 14 of file api.c.

Referenced by main().

◆ STR

#define STR ( x)
Value:
XSTR(x)
#define XSTR(x)

Definition at line 10 of file api.c.

◆ streqls

#define streqls ( s1,
s2 )
Value:
(!strcmp(s1, s2))

Definition at line 12 of file api.c.

Referenced by main().

◆ XSTR

#define XSTR ( x)
Value:
#x

Definition at line 9 of file api.c.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )