简体   繁体   中英

What is an Erlang hrl file?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM