mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Make many more utility classes/headers public. (#76)
Moving these headers from src to include enables other libraries to use the functionality provided. * tcpsockets * atomic_static * raw_istream * timestamp * SafeThread * Base64 * LEB128 * ConcurrentQueue The classes have been moved into the wpi namespace as they're generic.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "llvm/MathExtras.h"
|
||||
#include "leb128.h"
|
||||
#include "support/leb128.h"
|
||||
|
||||
using namespace nt;
|
||||
|
||||
@@ -45,7 +45,8 @@ static double ReadDouble(const char*& buf) {
|
||||
return llvm::BitsToDouble(val);
|
||||
}
|
||||
|
||||
WireDecoder::WireDecoder(raw_istream& is, unsigned int proto_rev) : m_is(is) {
|
||||
WireDecoder::WireDecoder(wpi::raw_istream& is, unsigned int proto_rev)
|
||||
: m_is(is) {
|
||||
// Start with a 1K temporary buffer. Use malloc instead of new so we can
|
||||
// realloc.
|
||||
m_allocated = 1024;
|
||||
|
||||
Reference in New Issue
Block a user