changeset 6972:b5a6f5c71451

[project @ 2007-10-08 09:36:57 by jwe]
author jwe
date Mon, 08 Oct 2007 09:36:57 +0000
parents 0a9d97cf2e13
children 6fcc2f5b2c7d
files src/ChangeLog src/sighandlers.h src/sysdep.h
diffstat 3 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Oct 07 19:44:53 2007 +0000
+++ b/src/ChangeLog	Mon Oct 08 09:36:57 2007 +0000
@@ -1,3 +1,9 @@
+2007-10-08  Michael Goffioul <michael.goffioul@gmail.com>
+
+	* sighandlers.h (can_interrupt): Tag with OCTINERP_API.
+	* sysdep.h (raw_mode, octave_popen, octave_pclose,
+	same_file_internal): Likewise.
+
 2007-10-06  John W. Eaton  <jwe@octave.org>
 
 	* oct-stream.cc (octave_base_stream::do_scanf):
--- a/src/sighandlers.h	Sun Oct 07 19:44:53 2007 +0000
+++ b/src/sighandlers.h	Mon Oct 08 09:36:57 2007 +0000
@@ -95,7 +95,7 @@
 extern int pipe_handler_error_count;
 
 // TRUE means we can be interrupted.
-extern bool can_interrupt;
+extern OCTINTERP_API bool can_interrupt;
 
 extern OCTINTERP_API sig_handler *octave_set_signal_handler (int, sig_handler *,
 					       bool restart_syscalls = true);
--- a/src/sysdep.h	Sun Oct 07 19:44:53 2007 +0000
+++ b/src/sysdep.h	Mon Oct 08 09:36:57 2007 +0000
@@ -35,10 +35,10 @@
 
 extern void sysdep_cleanup (void);
 
-extern void raw_mode (bool, bool wait = true);
+extern OCTINTERP_API void raw_mode (bool, bool wait = true);
 
-extern FILE *octave_popen (const char *command, const char *mode);
-extern int octave_pclose (FILE *f);
+extern OCTINTERP_API FILE *octave_popen (const char *command, const char *mode);
+extern OCTINTERP_API int octave_pclose (FILE *f);
 
 extern OCTINTERP_API int octave_kbhit (bool wait = true);
 
@@ -52,7 +52,7 @@
 #define MINGW_SIGNAL_CLEANUP() do { } while (0)
 #endif
 
-extern bool same_file_internal (const std::string&, const std::string&);
+extern OCTINTERP_API bool same_file_internal (const std::string&, const std::string&);
 
 #endif