mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
9d4aa3c38c
fix format can not markSweep after deinit root support markRoot if not root add clang-format fix path enable compile-commonds on to support clangd set markSweep not default use no_gc object for function frame only gc for tinyobj, not pikaobj restore add gc chain when init pikaObj add clang-format in docker set for default formatter to clang-format all Object is GC_ROOT on create only enable mark sweep to collect after OUT markSweep after deinit __pikaMain more mark sweep collect
33 lines
681 B
C
33 lines
681 B
C
#define __OOC_CPP__
|
|
#define __OOC_DEBUG__
|
|
|
|
extern "C" {
|
|
#include <stdio.h>
|
|
#include "PikaCompiler.h"
|
|
#include "PikaMain.h"
|
|
#include "PikaMath_Operator.h"
|
|
#include "BaseObj.h"
|
|
#include "pika_hal.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
|