My Project
test.h
1 #pragma once
2 #ifndef BINARY_C_PYTHON_H
3 #define BINARY_C_PYTHON_H
4 
8 typedef struct
9 {
11  double x ;
12  double y ;
13  double z ;
19  char * name ;
20  int namelength ;
22 } point3d ;
23 
24 
25 /*
26  * Include binary_C's API
27  */
28 //#include "binary_c_API.h"
29 //#include "binary_c_API_prototypes.h"
30 
31 /* Binary_c's python API prototypes */
35 int run_binary (char * argstring,
36  char ** const outstring,
37  char ** const errorstring);
38 
39  // size_t * const nbytes);
40 
41 // int run_binary_with_logfile (char * argstring,
42 // char ** const outstring,
43 // char ** const errorstring,
44 // size_t * const nbytes);
45 
46 // int run_binary_custom_logging(char * argstring,
47 // long int func_memaddr,
48 // char ** const buffer,
49 // char ** const error_buffer,
50 // size_t * const nbytes);
51 
52 // int return_arglines(char ** const outstring,
53 // char ** const errorstring,
54 // size_t * const nbytes);
55 
56 /* C macros */
57 #define BINARY_C_APITEST_VERSION 0.1
58 #define APIprint(...) APIprintf(__VA_ARGS__);
59 #define NO_OUTPUT
60 
61 #endif // BINARY_C_C_PYTHON_H
Definition: test.h:8
double z
Definition: test.h:13
double x
Definition: test.h:11
double y
Definition: test.h:12
char * name
Definition: test.h:19
int namelength
Definition: test.h:20