Geant4_10
Macros | Functions
win32def.c File Reference
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for win32def.c:

Go to the source code of this file.

Macros

#define MAX_STRING   2048
 
#define STRDUP(str)   ((str) != NULL ? (strcpy((char*)malloc((unsigned)strlen(str) + 1), str)) : (char*)NULL)
 
#define STRDEL(str)   {if((str)!=NULL) {free(str);str=NULL;}}
 

Functions

char ** GetWords (char *, char *, int *)
 
int main (int aArgn, char **aArgs)
 

Macro Definition Documentation

#define MAX_STRING   2048
#define STRDEL (   str)    {if((str)!=NULL) {free(str);str=NULL;}}
#define STRDUP (   str)    ((str) != NULL ? (strcpy((char*)malloc((unsigned)strlen(str) + 1), str)) : (char*)NULL)

Function Documentation

char ** GetWords ( char *  a_string,
char *  a_limiter,
int a_number 
)

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 104 of file win32def.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  aArgn,
char **  aArgs 
)

Definition at line 31 of file win32def.c.

Here is the call graph for this function: