Mercurial > hg > octave-nkf
changeset 10198:025564630c8d
file-ops.cc: don't tag functions with OCTAVE_API i source file
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 26 Jan 2010 01:49:39 -0500 |
parents | 4d433bd2d4dc |
children | 956eab916c86 |
files | liboctave/ChangeLog liboctave/file-ops.cc |
diffstat | 2 files changed, 25 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +2010-01-26 John W. Eaton <jwe@octave.org> + + * file-ops.cc: Don't tag functions with OCTAVE_API in source file. + 2010-01-26 John W. Eaton <jwe@octave.org> * lo-cutils.c, lo-utils.h (octave_link, octave_symlink,
--- a/liboctave/file-ops.cc +++ b/liboctave/file-ops.cc @@ -485,14 +485,14 @@ return retval; } -OCTAVE_API int +int octave_mkdir (const std::string& nm, mode_t md) { std::string msg; return octave_mkdir (nm, md, msg); } -OCTAVE_API int +int octave_mkdir (const std::string& name, mode_t mode, std::string& msg) { msg = std::string (); @@ -510,14 +510,14 @@ return status; } -OCTAVE_API int +int octave_mkfifo (const std::string& nm, mode_t md) { std::string msg; return octave_mkfifo (nm, md, msg); } -OCTAVE_API int +int octave_mkfifo (const std::string& name, mode_t mode, std::string& msg) { msg = std::string (); @@ -539,14 +539,14 @@ return status; } -OCTAVE_API int +int octave_link (const std::string& old_name, const std::string& new_name) { std::string msg; return octave_link (old_name, new_name, msg); } -OCTAVE_API int +int octave_link (const std::string& old_name, const std::string& new_name, std::string& msg) { @@ -565,14 +565,14 @@ return status; } -OCTAVE_API int +int octave_symlink (const std::string& old_name, const std::string& new_name) { std::string msg; return octave_symlink (old_name, new_name, msg); } -OCTAVE_API int +int octave_symlink (const std::string& old_name, const std::string& new_name, std::string& msg) { @@ -591,14 +591,14 @@ return status; } -OCTAVE_API int +int octave_readlink (const std::string& path, std::string& result) { std::string msg; return octave_readlink (path, result, msg); } -OCTAVE_API int +int octave_readlink (const std::string& path, std::string& result, std::string& msg) { @@ -625,14 +625,14 @@ return status; } -OCTAVE_API int +int octave_rename (const std::string& from, const std::string& to) { std::string msg; return octave_rename (from, to, msg); } -OCTAVE_API int +int octave_rename (const std::string& from, const std::string& to, std::string& msg) { @@ -651,14 +651,14 @@ return status; } -OCTAVE_API int +int octave_rmdir (const std::string& name) { std::string msg; return octave_rmdir (name, msg); } -OCTAVE_API int +int octave_rmdir (const std::string& name, std::string& msg) { msg = std::string (); @@ -678,14 +678,14 @@ // And a version that works recursively. -OCTAVE_API int +int octave_recursive_rmdir (const std::string& name) { std::string msg; return octave_recursive_rmdir (name, msg); } -OCTAVE_API int +int octave_recursive_rmdir (const std::string& name, std::string& msg) { msg = std::string (); @@ -753,7 +753,7 @@ return status; } -OCTAVE_API int +int octave_umask (mode_t mode) { #if defined (HAVE_UMASK) @@ -763,14 +763,14 @@ #endif } -OCTAVE_API int +int octave_unlink (const std::string& name) { std::string msg; return octave_unlink (name, msg); } -OCTAVE_API int +int octave_unlink (const std::string& name, std::string& msg) { msg = std::string (); @@ -788,14 +788,14 @@ return status; } -OCTAVE_API std::string +std::string octave_tempnam (const std::string& dir, const std::string& pfx) { std::string msg; return octave_tempnam (dir, pfx, msg); } -OCTAVE_API std::string +std::string octave_tempnam (const std::string& dir, const std::string& pfx, std::string& msg) {