py.h 338 B

12345678910111213141516171819
  1. #ifndef _PCILIB_PY_H
  2. #define _PCILIB_PY_H
  3. typedef struct pcilib_py_s pcilib_py_t;
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. int pcilib_init_py(pcilib_t *ctx);
  8. int pcilib_py_eval_string(pcilib_t *ctx, const char *codestr, pcilib_value_t *value);
  9. void pcilib_free_py(pcilib_t *ctx);
  10. #ifdef __cplusplus
  11. }
  12. #endif
  13. #endif /* _PCILIB_PY_H */