2.1.28, initiation update to PXT v5.28.24 (#54)
This commit is contained in:
committed by
Peli de Halleux
parent
38a964516e
commit
5c114a0c57
24
libs/core/pxtcore.h
Normal file
24
libs/core/pxtcore.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef __PXTCORE_H
|
||||
#define __PXTCORE_H
|
||||
|
||||
#include "MicroBit.h"
|
||||
#include "MicroBitImage.h"
|
||||
#include "ManagedString.h"
|
||||
#include "ManagedType.h"
|
||||
|
||||
namespace pxt {
|
||||
void debuglog(const char *format, ...);
|
||||
}
|
||||
|
||||
// #define GC_GET_HEAP_SIZE() device_heap_size(0)
|
||||
#define xmalloc malloc
|
||||
#define xfree free
|
||||
|
||||
#define GC_MAX_ALLOC_SIZE 9000
|
||||
|
||||
#define GC_BLOCK_SIZE 256
|
||||
#define NON_GC_HEAP_RESERVATION 1024
|
||||
|
||||
#define DMESG NOLOG
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user