Files
jailbasic/types.h

15 lines
626 B
C++

#pragma once
#include <string>
void types_init();
const int types_add(const std::string name);
const int types_exist(const std::string name);
const int types_get_length(const uint32_t type);
const int types_add_member(const uint32_t type, const std::string name, const uint32_t var_type, const uint32_t length);
const int types_member_exists(const uint32_t type, const std::string name);
const int types_get_member_type(const uint32_t type, const uint32_t member);
const int types_get_member_length(const uint32_t type, const uint32_t member);
const int types_get_member_offset(const uint32_t type, const uint32_t member);