Tabs->Spaces
This commit is contained in:
@@ -250,8 +250,8 @@ FL_SP operator * (const FL_SP& a, const FL_SP& b)
|
||||
|
||||
FL_SP twoMinus(const FL_SP& b)
|
||||
{
|
||||
uint64_t hi = 2U - b.mInt;
|
||||
uint64_t md = 0U - b.mFracHi;
|
||||
uint64_t hi = 2U - b.mInt;
|
||||
uint64_t md = 0U - b.mFracHi;
|
||||
uint64_t lo = 0U - b.mFracLo;
|
||||
|
||||
// N.B. - must be able to double carry!
|
||||
|
||||
@@ -288,8 +288,8 @@ FrameLib_LocalAllocator::Storage::~Storage()
|
||||
void FrameLib_LocalAllocator::Storage::resize(bool tagged, size_t size)
|
||||
{
|
||||
size_t actualSize = tagged ? Serial::inPlaceSize(size) : size * sizeof(double);
|
||||
size_t maxSize = actualSize << 1;
|
||||
|
||||
size_t maxSize = actualSize << 1;
|
||||
|
||||
if (mMaxSize >= maxSize)
|
||||
{
|
||||
// Reallocate for tagged frames
|
||||
|
||||
@@ -11,21 +11,21 @@
|
||||
|
||||
void unmangleName(std::string& name, FrameLib_Object<FrameLib_Multistream> *obj)
|
||||
{
|
||||
int status;
|
||||
|
||||
const char *type_mangled_name = typeid(*obj).name();
|
||||
char *real_name = abi::__cxa_demangle(type_mangled_name, 0, 0, &status);
|
||||
|
||||
name = real_name;
|
||||
free(real_name);
|
||||
int status;
|
||||
|
||||
const char *type_mangled_name = typeid(*obj).name();
|
||||
char *real_name = abi::__cxa_demangle(type_mangled_name, 0, 0, &status);
|
||||
|
||||
name = real_name;
|
||||
free(real_name);
|
||||
}
|
||||
#else
|
||||
void unmangleName(std::string& name, FrameLib_Object<FrameLib_Multistream> *obj)
|
||||
{
|
||||
// FIX - needs implementing
|
||||
|
||||
const char *type_mangled_name = typeid(*obj).name();
|
||||
name = type_mangled_name;
|
||||
// FIX - needs implementing
|
||||
|
||||
const char *type_mangled_name = typeid(*obj).name();
|
||||
name = type_mangled_name;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user