-
Notifications
You must be signed in to change notification settings - Fork 13
hio/erlang-record_info
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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.
.. ---------------------------------------------------------------------------
About
convert between record and proplist
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published