Provide C++ API. Move all classes to "nt" namespace.

The C API is now just simple wrappers around the C++ API.
This commit is contained in:
Peter Johnson
2015-07-17 07:21:07 -07:00
committed by Peter Johnson
parent 56f1481c24
commit fcbd2751ba
38 changed files with 880 additions and 439 deletions

View File

@@ -12,9 +12,9 @@
#include <cstddef>
#include "llvm/StringRef.h"
#include "Value.h"
#include "nt_Value.h"
namespace ntimpl {
namespace nt {
/* Encodes native data for network transmission.
* This class maintains an internal memory buffer for written data so that
@@ -130,6 +130,6 @@ class WireEncoder {
char* m_end;
};
} // namespace ntimpl
} // namespace nt
#endif // NT_WIREENCODER_H_