nfsim_c_structs.h 657 B

123456789101112131415161718192021222324252627282930
  1. #ifndef NFSIM_C_STRUCTS_H
  2. #define NFSIM_C_STRCTS_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. //C wrapper classes for C++ std objects we use for nfsim api calls
  7. void* map_create();
  8. const char* map_get(void* map, const char* key);
  9. void* mapvector_create();
  10. int mapvector_size(void*);
  11. void* mapvector_get(void* vector, int position);
  12. int mapvectormap_size(void*);
  13. void mapvector_delete(void*);
  14. void* mapvectormap_create();
  15. void mapvectormap_delete(void* container);
  16. void* mapvectormap_get(void* container, char* reactant);
  17. char** mapvectormap_getKeys(void* container);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif