Mercurial > hg > octave-lyh
diff src/toplev.h @ 9221:659657942ba6
declare octave_exit using a typedef
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 20 May 2009 13:37:18 +0200 |
parents | 00ce0ae4ec63 |
children | 3c1762c7e787 |
line wrap: on
line diff
--- a/src/toplev.h +++ b/src/toplev.h @@ -43,7 +43,8 @@ #include "oct-map.h" -extern OCTINTERP_API void (*octave_exit) (int); +typedef void (*octave_exit_func) (int); +extern OCTINTERP_API octave_exit_func octave_exit; // quit is a lot like an interrupt, so we subclass it to simplify possible // handling.