aboutsummaryrefslogtreecommitdiffstats
path: root/gawkapi.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-05-25 01:38:16 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-05-25 01:38:16 +0300
commit827b8732b5b558c5aa5e6c5d5c1198e49b90b66f (patch)
treefd00687a7429711153e95322bff3d75103af61a8 /gawkapi.h
parent89fa14e4ef45ac12811546abe03cf48fe997a694 (diff)
parent44d5655584bfa914c127f177919a7069e6cff841 (diff)
downloadegawk-827b8732b5b558c5aa5e6c5d5c1198e49b90b66f.tar.gz
egawk-827b8732b5b558c5aa5e6c5d5c1198e49b90b66f.tar.bz2
egawk-827b8732b5b558c5aa5e6c5d5c1198e49b90b66f.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'gawkapi.h')
-rw-r--r--gawkapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gawkapi.h b/gawkapi.h
index bf6750de..33959901 100644
--- a/gawkapi.h
+++ b/gawkapi.h
@@ -710,6 +710,10 @@ typedef struct gawk_api {
*/
const awk_input_buf_t **ibufp,
const awk_output_buf_t **obufp);
+
+ /* Print nonfatal error message */
+ void (*api_nonfatal)(awk_ext_id_t id, const char *format, ...);
+
} gawk_api_t;
#ifndef GAWK /* these are not for the gawk code itself! */
@@ -731,6 +735,7 @@ typedef struct gawk_api {
(api->api_set_argument(ext_id, count, new_array))
#define fatal api->api_fatal
+#define nonfatal api->api_nonfatal
#define warning api->api_warning
#define lintwarn api->api_lintwarn