summaryrefslogtreecommitdiffstats
path: root/base/native_library.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
commit0bea7254836d17e3f1e278cbd52e8b8816c49a48 (patch)
treeeb16c01ad0143fad583cd60a87828fd90c94f61a /base/native_library.h
parent93f3edc8adc1db9e3d1deebde0ec58d15b7e1a91 (diff)
downloadchromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.zip
chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.gz
chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.bz2
Rename BASE_API to BASE_EXPORT.
R=rvargas Review URL: http://codereview.chromium.org/7461141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/native_library.h')
-rw-r--r--base/native_library.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/base/native_library.h b/base/native_library.h
index 2896163..1e0dfcd 100644
--- a/base/native_library.h
+++ b/base/native_library.h
@@ -9,7 +9,7 @@
// This file defines a cross-platform "NativeLibrary" type which represents
// a loadable module.
-#include "base/base_api.h"
+#include "base/base_export.h"
#include "build/build_config.h"
#if defined(OS_WIN)
@@ -55,8 +55,8 @@ typedef void* NativeLibrary;
// you're done. Returns NULL on failure.
// If |err| is not NULL, it may be filled in with an error message on
// error.
-BASE_API NativeLibrary LoadNativeLibrary(const FilePath& library_path,
- std::string* error);
+BASE_EXPORT NativeLibrary LoadNativeLibrary(const FilePath& library_path,
+ std::string* error);
#if defined(OS_WIN)
// Loads a native library from disk. Release it with UnloadNativeLibrary when
@@ -64,22 +64,22 @@ BASE_API NativeLibrary LoadNativeLibrary(const FilePath& library_path,
// This function retrieves the LoadLibrary function exported from kernel32.dll
// and calls it instead of directly calling the LoadLibrary function via the
// import table.
-BASE_API NativeLibrary LoadNativeLibraryDynamically(
+BASE_EXPORT NativeLibrary LoadNativeLibraryDynamically(
const FilePath& library_path);
#endif // OS_WIN
// Unloads a native library.
-BASE_API void UnloadNativeLibrary(NativeLibrary library);
+BASE_EXPORT void UnloadNativeLibrary(NativeLibrary library);
// Gets a function pointer from a native library.
-BASE_API void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
- const char* name);
+BASE_EXPORT void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
+ const char* name);
// Returns the full platform specific name for a native library.
// For example:
// "mylib" returns "mylib.dll" on Windows, "libmylib.so" on Linux,
// "mylib.dylib" on Mac.
-BASE_API string16 GetNativeLibraryName(const string16& name);
+BASE_EXPORT string16 GetNativeLibraryName(const string16& name);
} // namespace base