aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/beam_lib.xml
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-10-22 13:15:25 +0200
committerBjörn Gustavsson <[email protected]>2015-10-22 14:07:04 +0200
commit32ba359b05658960b86f7587b61b46d1fb2021be (patch)
treeeb89f4b73ee601d0f71774823e2b8c84f9eebfe6 /lib/stdlib/doc/src/beam_lib.xml
parenta76cc1d337c0bf44ecefebeccac2d08e496ba7e8 (diff)
downloadotp-32ba359b05658960b86f7587b61b46d1fb2021be.tar.gz
otp-32ba359b05658960b86f7587b61b46d1fb2021be.tar.bz2
otp-32ba359b05658960b86f7587b61b46d1fb2021be.zip
beam_lib: Document all_chunks/1 and build_module/1
beam_lib:all_chunks/1 and beam_lib:build_module/1 can be useful for special-purpose stripping, for example to remove the "Line" chunk.
Diffstat (limited to 'lib/stdlib/doc/src/beam_lib.xml')
-rw-r--r--lib/stdlib/doc/src/beam_lib.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/beam_lib.xml b/lib/stdlib/doc/src/beam_lib.xml
index c556180b8b..faf668735e 100644
--- a/lib/stdlib/doc/src/beam_lib.xml
+++ b/lib/stdlib/doc/src/beam_lib.xml
@@ -224,6 +224,13 @@
<funcs>
<func>
+ <name name="all_chunks" arity="1"/>
+ <fsummary>Read all chunks from a BEAM file or binary</fsummary>
+ <desc>
+ <p>Reads chunk data for all chunks.</p>
+ </desc>
+ </func>
+ <func>
<name name="chunks" arity="2"/>
<fsummary>Read selected chunks from a BEAM file or binary</fsummary>
<desc>
@@ -251,6 +258,13 @@
</desc>
</func>
<func>
+ <name name="build_module" arity="1"/>
+ <fsummary>Creates a BEAM module from a list of chunks</fsummary>
+ <desc>
+ <p>Builds a BEAM module (as a binary) from a list of chunks.</p>
+ </desc>
+ </func>
+ <func>
<name name="version" arity="1"/>
<fsummary>Read the BEAM file's module version</fsummary>
<desc>