Austin Schuh
|
bb9988365f
|
Fixed const correctness in casts and unused parameters.
GCC was throwing warnings about const correctness issues and unused
parameters. This patch gets rid of those warnings by using the
correct casts.
|
2015-11-28 13:12:30 -08:00 |
|
Peter Johnson
|
e9618df1b5
|
Avoid pointer aliasing for double/bits conversions.
Instead use the llvm MathExtras.h functions for this, which use union
aliasing.
|
2015-08-12 17:15:10 -07:00 |
|
Peter Johnson
|
fcbd2751ba
|
Provide C++ API. Move all classes to "nt" namespace.
The C API is now just simple wrappers around the C++ API.
|
2015-07-17 07:21:07 -07:00 |
|
Peter Johnson
|
9906116d23
|
Don't base Value on NT_Value.
Also use std::string instead of NT_String.
Conversions to/from the internal structures will be done at the interface.
|
2015-07-16 01:38:27 -07:00 |
|
Peter Johnson
|
2016bcb37a
|
Replace MessageReader and MessageWriter with Message.
Change-Id: I4b23d5a1e0e39dc2487f252a0947f11328e33090
|
2015-07-12 11:24:34 -07:00 |
|
Peter Johnson
|
f4673f3123
|
WireDecoder::Read(): Use const char instead of plain char.
Change-Id: I14932ccd174b70fa3f90676c66ac0907e6086238
MessageReader: Use StringRef for callbacks.
|
2015-07-11 09:33:35 -07:00 |
|
Peter Johnson
|
6aa32e8752
|
WireDecoder: Add overloads for StringValue and Value.
Change-Id: Idb41fd16fec8efc8b984c1a9b4d225829d16e344
StringValue: Add comparison operators.
|
2015-07-11 09:33:34 -07:00 |
|
Peter Johnson
|
a55b6565b8
|
WireDecoder ReadDouble: Use ref cast.
Change-Id: I47f23709960d13c005916b5d41d81339302adda5
|
2015-07-11 09:33:34 -07:00 |
|
Peter Johnson
|
e37a9d81f1
|
Cleanups and commenting.
Change-Id: I491a68af8614198af450942cd378c9486f27d338
|
2015-07-11 09:33:33 -07:00 |
|
Peter Johnson
|
de4ba1aa35
|
Fix up naming of Base64 and Leb128 functions.
Change-Id: I80a2493d822b59311ba0d7bd68b5ccf0e3b29e6a
|
2015-07-11 09:33:33 -07:00 |
|
Peter Johnson
|
d7ca3343bc
|
File renames.
Change-Id: I3fa88f94593941a25f65eaabfcbbca2428613e6c
|
2015-07-11 09:33:33 -07:00 |
|