//===-- llvm/Bytecode/Reader.h - Reader for VM bytecode files ---*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This functionality is implemented by the lib/Bytecode/Reader library.
// This library is used to read VM bytecode files from an iostream.
#include <string>
#include <vector>
+namespace llvm {
+
/// getBytecodeModuleProvider - lazy function-at-a-time loading from a file
///
-AbstractModuleProvider*
-getBytecodeModuleProvider(const std::string &Filename);
+ModuleProvider *getBytecodeModuleProvider(const std::string &Filename);
/// getBytecodeBufferModuleProvider - lazy function-at-a-time loading from a
/// buffer
///
-AbstractModuleProvider*
-getBytecodeBufferModuleProvider(const unsigned char *Buffer,
- unsigned BufferSize,
- const std::string &ModuleID = "");
+ModuleProvider *getBytecodeBufferModuleProvider(const unsigned char *Buffer,
+ unsigned BufferSize,
+ const std::string &ModuleID="");
/// ParseBytecodeFile - Parse the given bytecode file
///
std::vector<Module*> &Objects,
std::string *ErrorStr = 0);
+} // End llvm namespace
+
#endif