aboutsummaryrefslogtreecommitdiffstats
path: root/gawkapi.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-05-20 22:26:46 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-05-20 22:26:46 +0300
commitcd9fdf221c0504639a38e773c3d56a32ae80e2cc (patch)
tree24a71be37fc096f77c3726fd460cc50ac9a44db7 /gawkapi.c
parentab670cb99e104c3718c4c6b343d236898e057634 (diff)
downloadegawk-cd9fdf221c0504639a38e773c3d56a32ae80e2cc.tar.gz
egawk-cd9fdf221c0504639a38e773c3d56a32ae80e2cc.tar.bz2
egawk-cd9fdf221c0504639a38e773c3d56a32ae80e2cc.zip
More extension work.
Diffstat (limited to 'gawkapi.c')
-rw-r--r--gawkapi.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gawkapi.c b/gawkapi.c
index 2a9ad927..e1d2a511 100644
--- a/gawkapi.c
+++ b/gawkapi.c
@@ -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;
+}