Skip to content
convert between record and proplist
Erlang
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
src
t new, selective record export via -export_record_info([name]) directive. Dec 18, 2011
.gitignore added, ignore pattern. Dec 18, 2011
Changes
Makefile
README

README

erlang-record_info
==================

see t/test.erl as a sample code.

DESCRIPTION
-----------

-include("record_info.hrl") automaticaly creates and exports record_info/1
function.

record_info:record_to_proplist/2 and proplist_to_record/3 use
this function.

 record_to_proplist(Record, Module) -> PropList.
 proplist_to_record(PropList, RecordName, Module) -> Record.

Module argument of proplist_to_record/3 is a module name which
is using record information of RecordName.


BUILD AND INSTALL
-----------------

small Makefile is contained, just type make.

 $ make

beam files are generated into _build/record_info/ebin.
install script is not supplied.
please do it by hand if you want...

.. ---------------------------------------------------------------------------
.. End Of File.
.. ---------------------------------------------------------------------------
Something went wrong with that request. Please try again.