Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
binary_c_api_python.h 396 B
#pragma once
#ifndef BINARY_C_PYTHON_API_H
#define BINARY_C_PYTHON_API_H

/* local function prototypes */
static void APIprintf(char * format,...);

int run_binary(char * argstring,
               char ** buffer,
               size_t * nbytes);

/* C macros */
#define BINARY_C_APITEST_VERSION 0.1
#define APIprint(...) APIprintf(__VA_ARGS__);
#define NO_OUTPUT

#endif // BINARY_C_PYTHON_API_H