Astaroth  3.1
Scalable Multi-GPU Stencil Computations
Loading...
Searching...
No Matches
string_vec.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for string_vec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  string_vec

Macros

#define str_vec_contains(F, ...)
#define strcmps(F, ...)
#define VEC_INITIALIZER   {.size = 0,.capacity = 0,.data = NULL}

Functions

 while (fgets(line, sizeof(line), file) !=NULL)

Variables

int counter = 0
static int FILE * file
char line [10000]

Macro Definition Documentation

◆ str_vec_contains

#define str_vec_contains ( F,
... )
Value:
str_vec_contains_arr( \
F, (const char*[]){ __VA_ARGS__ }, \
sizeof (const char*[]){ __VA_ARGS__ } / sizeof (const char*) \
)

◆ strcmps

#define strcmps ( F,
... )
Value:
str_cmps_arr( \
F, (const char*[]){ __VA_ARGS__ }, \
sizeof (const char*[]){ __VA_ARGS__ } / sizeof (const char*) \
)

◆ VEC_INITIALIZER

#define VEC_INITIALIZER   {.size = 0,.capacity = 0,.data = NULL}

Function Documentation

◆ while()

while ( fgets(line, sizeof(line), file) ! = NULL)

Variable Documentation

◆ counter

return counter = 0

◆ file

int FILE* file
Initial value:
{
if(file == NULL) return 0
static int FILE * file
Definition string_vec.h:120

◆ line

char line[10000]