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