diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-10-20 17:09:13 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-10-24 10:54:47 +0200 |
commit | 7f237ebf67c24d4bec111f04dd81a83c83fd76f6 (patch) | |
tree | e6ed795055c08653c01b1eca306d967960ebb911 /lib/erl_interface/doc/src/erl_interface.xml | |
parent | 3a6ece2c93372fff5dba6914bdcf2d70e5b941e2 (diff) | |
download | otp-7f237ebf67c24d4bec111f04dd81a83c83fd76f6.tar.gz otp-7f237ebf67c24d4bec111f04dd81a83c83fd76f6.tar.bz2 otp-7f237ebf67c24d4bec111f04dd81a83c83fd76f6.zip |
erl_interface: Fix broken links in documentation
Diffstat (limited to 'lib/erl_interface/doc/src/erl_interface.xml')
-rw-r--r-- | lib/erl_interface/doc/src/erl_interface.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/erl_interface/doc/src/erl_interface.xml b/lib/erl_interface/doc/src/erl_interface.xml index 2a3831cf0f..ab5b46cc01 100644 --- a/lib/erl_interface/doc/src/erl_interface.xml +++ b/lib/erl_interface/doc/src/erl_interface.xml @@ -153,7 +153,7 @@ i = erl_encode(tuple, buf); ]]></code> <section> <title>Building Terms and Patterns</title> - <p>The previous example can be simplified by using + <p>The previous example can be simplified by using <c><![CDATA[erl_format()]]></c> to create an Erlang term.</p> <code type="none"><![CDATA[ @@ -171,7 +171,7 @@ ep = erl_format("[{name,~a},{age,~i},{data,~w}]", erl_format("[{adr,~s,~i}]", "E-street", 42)); erl_free_compound(ep); ]]></code> <p>As in previous examples, it is your responsibility to free the - memory allocated for Erlang terms. In this example, + memory allocated for Erlang terms. In this example, <c><![CDATA[erl_free_compound()]]></c> ensures that the complete term pointed to by <c><![CDATA[ep]]></c> is released. This is necessary, because the pointer from the second call to <c><![CDATA[erl_format()]]></c> is lost. </p> @@ -623,4 +623,3 @@ ei_reg_restore(fd, reg, "mtab"); ]]></code> </section> </section> </chapter> - |