diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-05-20 22:26:46 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-05-20 22:26:46 +0300 |
commit | cd9fdf221c0504639a38e773c3d56a32ae80e2cc (patch) | |
tree | 24a71be37fc096f77c3726fd460cc50ac9a44db7 /gawkapi.c | |
parent | ab670cb99e104c3718c4c6b343d236898e057634 (diff) | |
download | egawk-cd9fdf221c0504639a38e773c3d56a32ae80e2cc.tar.gz egawk-cd9fdf221c0504639a38e773c3d56a32ae80e2cc.tar.bz2 egawk-cd9fdf221c0504639a38e773c3d56a32ae80e2cc.zip |
More extension work.
Diffstat (limited to 'gawkapi.c')
-rw-r--r-- | gawkapi.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -452,3 +452,16 @@ static gawk_api_t api_impl = { api_make_string, api_make_number, }; + +/* init_ext_api --- init the extension API */ + +void +init_ext_api() +{ + api_impl.do_flags[0] = do_lint; + api_impl.do_flags[1] = do_traditional; + api_impl.do_flags[2] = do_profile; + api_impl.do_flags[3] = do_sandbox; + api_impl.do_flags[4] = do_debug; + api_impl.do_flags[5] = do_mpfr; +} |