mirror of https://github.com/vitalif/openscad
#1156 Bugfix: We don't have userdata any longer
parent
f7a5c1c78e
commit
39e7442b92
|
@ -4,9 +4,7 @@
|
|||
#include <boost/foreach.hpp>
|
||||
|
||||
static void *stdAlloc(void* userData, unsigned int size) {
|
||||
int* allocated = ( int*)userData;
|
||||
TESS_NOTUSED(userData);
|
||||
*allocated += (int)size;
|
||||
return malloc(size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue