diff options
author | Rickard Green <[email protected]> | 2019-02-05 15:55:23 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2019-02-05 20:32:45 +0100 |
commit | dbeaca78bc6c0d4719a522e447fa59d7a1006ae0 (patch) | |
tree | a88b6e91fc884f826e26a6eb6ffa71c27f0200b3 /lib/erl_interface/doc/src/ei_users_guide.xml | |
parent | 50bf9f5d8403b9903ea63867611ac16ffec1c14c (diff) | |
download | otp-dbeaca78bc6c0d4719a522e447fa59d7a1006ae0.tar.gz otp-dbeaca78bc6c0d4719a522e447fa59d7a1006ae0.tar.bz2 otp-dbeaca78bc6c0d4719a522e447fa59d7a1006ae0.zip |
Introduce ei_init()
You previously had to initialize ei via erl_init() which
implied that you were forced to link against the erl_interface
even when not using it (besides initializing ei).
Diffstat (limited to 'lib/erl_interface/doc/src/ei_users_guide.xml')
-rw-r--r-- | lib/erl_interface/doc/src/ei_users_guide.xml | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/lib/erl_interface/doc/src/ei_users_guide.xml b/lib/erl_interface/doc/src/ei_users_guide.xml index 0eed50b50b..2dfd99e35a 100644 --- a/lib/erl_interface/doc/src/ei_users_guide.xml +++ b/lib/erl_interface/doc/src/ei_users_guide.xml @@ -162,12 +162,20 @@ $ ld -L/usr/local/otp/lib/erl_interface-3.2.3/ </section> <section> - <title>Initializing the Erl_Interface Library</title> - <p>Before calling any of the other <c>Erl_Interface</c> functions, call - <c>erl_init()</c> exactly once to initialize the library. + <title>Initializing the Libraries</title> + <p> + Before calling any of the other functions in the <c>erl_interface</c> + and <c>ei</c> libraries, call <c>erl_init()</c> exactly once to initialize + both libraries. <c>erl_init()</c> takes two arguments. However, the arguments - are no longer used by <c>Erl_Interface</c> and are therefore to be - specified as <c>erl_init(NULL,0)</c>.</p> + are no longer used by <c>erl_interface</c> and are therefore to be + specified as <c>erl_init(NULL,0)</c>. + </p> + <p> + If you only use the <c>ei</c> library, instead initialize it by calling + <c>ei_init()</c> exactly once before calling any other functions in + the <c>ei</c> library. + </p> </section> <section> |