mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
38388625ca
change project name and url on kernal sources rename global Value format name use g_PikaObjState add gc chain add gc_mark() add printCanFree add sub locals init try use mark-sweep to solve circle-ref use mark sweep to collect circle ref succeed import mark-sweep GC config_default update
33 lines
732 B
C
33 lines
732 B
C
#define __OOC_CPP__
|
|
#define __OOC_DEBUG__
|
|
|
|
extern "C" {
|
|
#include <stdio.h>
|
|
#include "../package/pikascript/pikascript-lib/PikaStdDevice/pika_hal.h"
|
|
#include "BaseObj.h"
|
|
#include "PikaCompiler.h"
|
|
#include "PikaMain.h"
|
|
#include "PikaMath_Operator.h"
|
|
#include "PikaParser.h"
|
|
#include "PikaStdLib_MemChecker.h"
|
|
#include "PikaStdLib_SysObj.h"
|
|
#include "PikaVM.h"
|
|
#include "TinyObj.h"
|
|
#include "dataArgs.h"
|
|
#include "dataMemory.h"
|
|
#include "dataStrs.h"
|
|
#include "pikaScript.h"
|
|
#include "pika_config_gtest.h"
|
|
extern pikaMemInfo g_pikaMemInfo;
|
|
/* the log_buff of printf */
|
|
extern char log_buff[LOG_BUFF_MAX][LOG_SIZE];
|
|
}
|
|
|
|
#if USE_GOOGLE_TEST
|
|
#include "gtest/gtest.h"
|
|
#define TEST_START
|
|
#define TEST_END
|
|
#else
|
|
#include "test_purec.h"
|
|
#endif
|