ECP-VELOC Components
User documentation for all components
Main Page
Components
All Files
home
runner
work
component-user-docs
component-user-docs
component-user-docs
spath
src
spath_util.h
Go to the documentation of this file.
1
#include <stdlib.h>
2
#include <stdio.h>
3
8
#define SPATH_MALLOC(X) spath_malloc(X, __FILE__, __LINE__);
9
11
/* TODO: should somehowe abort if allocation fails */
12
void
*
spath_malloc
(
size_t
size,
const
char
* file,
int
line);
13
14
/* caller really passes in a void**, but we define it as just void* to avoid printing
15
* a bunch of warnings */
16
void
spath_free
(
void
* p);
spath_free
void spath_free(void *p)
spath_malloc
void * spath_malloc(size_t size, const char *file, int line)
Generated by
1.8.17