Rename the ref record to geef_reference

Remove the access hacks for elixir and make :geef_reference an elixir
macro as well.
This commit is contained in:
Carlos Martín Nieto
2013-06-05 21:14:04 +02:00
parent 1df7939d4c
commit ac3d2d03fe
4 changed files with 15 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
-record(geef_ref, {handle, name :: binary(), type :: atom(), target :: binary() | geef_oid()}).
-record(geef_reference, {handle, name :: binary(), type :: atom(), target :: binary() | geef_oid()}).
-record(geef_oid, {oid}).
-record(geef_object, {type :: atom(), handle}).
-record(geef_index_entry,
@@ -12,7 +12,7 @@
-record(geef_request, {service :: atom, path :: binary(), host :: binary()}).
-type geef_ref() :: #geef_ref{}.
-type geef_reference() :: #geef_reference{}.
-type geef_oid() :: #geef_oid{}.
-type geef_object() :: #geef_object{}.
-type geef_index_entry() :: #geef_index_entry{}.