Move TYPEREP definitions to aebytecode

This commit is contained in:
Robert Virding 2019-04-02 16:03:50 +02:00
parent 9f5f8d4444
commit 549a0c2201

View File

@ -1,14 +1,5 @@
-define(Type(), aeb_aevm_data:type()). -include_lib("aebytecode/include/aeb_typerep_def.hrl").
-define(TYPEREP_WORD_TAG, 0).
-define(TYPEREP_STRING_TAG, 1).
-define(TYPEREP_LIST_TAG, 2).
-define(TYPEREP_TUPLE_TAG, 3).
-define(TYPEREP_VARIANT_TAG, 4).
-define(TYPEREP_TYPEREP_TAG, 5).
-define(TYPEREP_MAP_TAG, 6).
-define(TYPEREP_FUN_TAG, 7).
-record(arg, {name::string(), type::?Type()}). -record(arg, {name::string(), type::?Type()}).