Files
jailbasic/types.h
Raimon Zamora 567710779a [BUG] Repaired types on some parameters.
[FEAT] Implemented struct, still testing.
[FEAT] Implemented var, still testing.
2021-05-04 10:24:35 +02:00

14 lines
547 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);