First commit of moved functions

Most function references to aeso_ have been converted to aeb_.
This commit is contained in:
Robert Virding
2019-03-20 17:20:48 +01:00
parent 662b611e6d
commit c00c4a5ac3
7 changed files with 763 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
-record(pmap, {key_t :: aeso_sophia:type(),
val_t :: aeso_sophia:type(),
parent :: none | non_neg_integer(),
size = 0 :: non_neg_integer(),
data :: #{aeso_heap:binary_value() => aeso_heap:binary_value() | tombstone}
| stored}).
-record(maps, { maps = #{} :: #{ non_neg_integer() => #pmap{} }
, next_id = 0 :: non_neg_integer() }).
-record(heap, { maps :: #maps{},
offset :: aeso_heap:offset(),
heap :: binary() | #{non_neg_integer() => non_neg_integer()} }).