From: erg Date: Tue, 17 Jul 2007 21:47:46 +0000 (+0000) Subject: For Windows dlls, allow extern data structure error_info to be accessed X-Git-Tag: LAST_LIBGRAPH~32^2~5516 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62fd1faf49dfa35ff24c1e2f4bf66a2edcbaf0b9;p=graphviz For Windows dlls, allow extern data structure error_info to be accessed by functions. --- diff --git a/lib/ast/error.h b/lib/ast/error.h index f83a8fecb..9140dcb93 100644 --- a/lib/ast/error.h +++ b/lib/ast/error.h @@ -57,6 +57,12 @@ extern "C" { extern Error_info_t error_info; + extern void setErrorLine (int); + extern void setErrorFileLine (char*, int); + extern void setErrorId (char*); + extern void setErrorErrors (int); + extern int getErrorErrors (); + extern void error(int, ...); extern void errorf(void *, void *, int, ...); extern void errorv(const char *, int, va_list);