added PXT_CREATE_BUFFER macro
This commit is contained in:
parent
56252de874
commit
3b27c74084
@ -15,6 +15,10 @@
|
|||||||
#define PXT_BUFFER_DATA(buffer) buffer->data
|
#define PXT_BUFFER_DATA(buffer) buffer->data
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PXT_CREATE_BUFFER
|
||||||
|
#define PXT_CREATE_BUFFER(data, len) pxt::mkBuffer(data, len)
|
||||||
|
#endif
|
||||||
|
|
||||||
// needed for gcc6; not sure why
|
// needed for gcc6; not sure why
|
||||||
#undef min
|
#undef min
|
||||||
#undef max
|
#undef max
|
||||||
|
Loading…
Reference in New Issue
Block a user