evmjit.h 384 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include <evm.h>
  3. #ifdef _MSC_VER
  4. #ifdef evmjit_EXPORTS
  5. #define EXPORT __declspec(dllexport)
  6. #else
  7. #define EXPORT
  8. #endif
  9. #else
  10. #define EXPORT __attribute__ ((visibility ("default")))
  11. #endif
  12. #if __cplusplus
  13. extern "C" {
  14. #endif
  15. /// Create EVMJIT instance.
  16. ///
  17. /// @return The EVMJIT instance.
  18. EXPORT struct evm_instance* evmjit_create(void);
  19. #if __cplusplus
  20. }
  21. #endif