last_restart_slot.h 749 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. /**
  3. * @brief Solana Last Restart Slot system call
  4. */
  5. #include <sol/types.h>
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. /**
  10. * Get Last Restart Slot
  11. */
  12. /* DO NOT MODIFY THIS GENERATED FILE. INSTEAD CHANGE platform-tools-sdk/sbf/c/inc/sol/inc/last_restart_slot.inc AND RUN `cargo run --bin gen-headers` */
  13. #ifndef SOL_SBFV2
  14. u64 sol_get_last_restart_slot(uint8_t *result);
  15. #else
  16. typedef u64(*sol_get_last_restart_slot_pointer_type)(uint8_t *result);
  17. static u64 sol_get_last_restart_slot(uint8_t *result arg1) {
  18. sol_get_last_restart_slot_pointer_type sol_get_last_restart_slot_pointer = (sol_get_last_restart_slot_pointer_type) 411697201;
  19. return sol_get_last_restart_slot_pointer(arg1);
  20. }
  21. #endif
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. /**@}*/