Commit cd585763 authored by thomas's avatar thomas
Browse files

better buffer checking

git-svn-id: 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent 56cbd51f
......@@ -15,6 +15,8 @@ Version history:
- better handling of click callback
- more compatible handling of attributes in patcher (hiding is now an option - define FLEXT_ATTRHIDE)
- added header file flfeatures.h for compile-time detection of version-specific features
- typed flext::NewAligned allocator
- fixed severe Altivec bug (load unaligned)... thanks to Ian Ollmann
- fixes for 64 bit builds (size_t is integer type of pointer size)
......@@ -200,7 +200,14 @@ public:
/*! \brief Check if the buffer is valid for use
\note This must be true to use any of the other functions except set
bool Ok() const { return sym && data; }
bool Ok() const
return sym
&& arr
&& data;
/*! \brief Check if buffer content is valid (not in state of content change)
\note buffer must be Ok()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment