What is an .hrl
file in Erlang/OTP? Is it some sort of library mechanism?
A "header file" akin to a "C" include file.
One needs to invoke the -include
directive from an .erl
file to use them. Can contain any valid Erlang code.
.hrl 文件只是 erlang“头文件”,即包含旨在包含在 .erl 文件中的通用定义的文件。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.