diff options
author | Karl Berry <karl@freefriends.org> | 2009-08-15 23:57:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-08-15 23:57:48 +0000 |
commit | 16d128e5e10d541a78654b86409d5a3539f07708 (patch) | |
tree | 66de0af63c3811bb3040c16e9b52c11985f70811 /Build/source/utils/asymptote/util.h | |
parent | b20f78c549859ec0e8610bdd3ad904245e86b489 (diff) |
asymptote 1.83
git-svn-id: svn://tug.org/texlive/trunk@14696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/util.h')
-rw-r--r-- | Build/source/utils/asymptote/util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/util.h b/Build/source/utils/asymptote/util.h index 76614aadc6d..57712ae78f0 100644 --- a/Build/source/utils/asymptote/util.h +++ b/Build/source/utils/asymptote/util.h @@ -11,11 +11,15 @@ #include <sys/types.h> #include <iostream> #include <cstdlib> +#include <csignal> #include "common.h" #include <strings.h> +// Demangle a typeid name (if the proper library is installed. +string demangle(const char *s); + // Duplicate a string. char *Strdup(string s); char *StrdupNoGC(string s); @@ -52,6 +56,11 @@ string String(T x) return buf.str(); } +typedef void (*sighandler_t)(int); + +// Portable signal (sigaction wrapper). +sighandler_t Signal(int signum, sighandler_t handler); + // Split string S and push the pieces onto vector a. void push_split(mem::vector<string>& a, const string& S); |