summaryrefslogtreecommitdiff
path: root/gnulib-local/lib/obstack.h.diff
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-12-24 07:38:37 +0000
committer <>2015-02-02 12:02:29 +0000
commit482840e61f86ca321838a91e902c41d40c098bbb (patch)
tree01ea2e242fd2792d19fe192476601587901db794 /gnulib-local/lib/obstack.h.diff
downloadgettext-tarball-482840e61f86ca321838a91e902c41d40c098bbb.tar.gz
Imported from /home/lorry/working-area/delta_gettext-tarball/gettext-0.19.4.tar.xz.gettext-0.19.4
Diffstat (limited to 'gnulib-local/lib/obstack.h.diff')
-rw-r--r--gnulib-local/lib/obstack.h.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnulib-local/lib/obstack.h.diff b/gnulib-local/lib/obstack.h.diff
new file mode 100644
index 0000000..c4d2013
--- /dev/null
+++ b/gnulib-local/lib/obstack.h.diff
@@ -0,0 +1,25 @@
+*** obstack.h.orig 2014-04-07 15:57:16.908837962 +0900
+--- obstack.h 2014-04-07 15:58:22.208411479 +0900
+***************
+*** 201,210 ****
+ more memory. This can be set to a user defined function which
+ should either abort gracefully or use longjump - but shouldn't
+ return. The default action is to print a message and abort. */
+! extern void (*obstack_alloc_failed_handler) (void);
+
+ /* Exit value used when 'print_and_abort' is used. */
+! extern int obstack_exit_failure;
+
+ /* Pointer to beginning of object being allocated or to be allocated next.
+ Note that this might not be the final address of the object
+--- 201,210 ----
+ more memory. This can be set to a user defined function which
+ should either abort gracefully or use longjump - but shouldn't
+ return. The default action is to print a message and abort. */
+! extern DLL_VARIABLE void (*obstack_alloc_failed_handler) (void);
+
+ /* Exit value used when 'print_and_abort' is used. */
+! extern DLL_VARIABLE int obstack_exit_failure;
+
+ /* Pointer to beginning of object being allocated or to be allocated next.
+ Note that this might not be the final address of the object