anchor.diff:  compile(InterfaceFile, Module, Options) ->
       nifty_compiler:compile(InterfaceFile, Module, Options).
   
  -%% @doc returns nifty's base types as a dict
  +%% @doc Returns nifty's base types as a dict
   -spec get_types() -> dict().
   get_types() ->
       %% builtin types:
  
positive.code: raw_deref(_) ->
      erlang:nif_error(nif_library_not_loaded).
  
  %% @doc writes the <code>Data</code> to the memory area pointed to by <code>Ptr</code> and returns a the pointer; the list elements are interpreted as byte values
  -spec mem_write(ptr(), binary() | list()) -> ptr().
  mem_write({Addr, _} = Ptr, Data) ->
      {Addr, _} = case is_binary(Data) of
  
negative.code: 	end,
      Ptr.
  
  %% @doc Writes the <code>Data</code> to memory and returns a nifty pointer to it; the list elements are interpreted as byte values
  -spec mem_write(binary() | list()) -> ptr().
  mem_write(Data) ->
      case is_binary(Data) of
  