LLVM OpenMP 20.0.0git
Macros | Functions
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)   #x
 
#define STR(x)   XSTR(x)
 
#define streqls(s1, s2)   (!strcmp(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)
Definition: api.c:10
int condition

Definition at line 14 of file api.c.

◆ STR

#define STR (   x)    XSTR(x)

Definition at line 10 of file api.c.

◆ streqls

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

Definition at line 12 of file api.c.

◆ XSTR

#define XSTR (   x)    #x

Definition at line 9 of file api.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)