⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gc.h

📁 这个程序是关于OpenC++的反射植入机制的编译器
💻 H
字号:
//@beginlicenses@//@license{Stefan Seefeld}{2004}@////  Permission to use, copy, distribute and modify this software and its  //  documentation for any purpose is hereby granted without fee, provided that//  the above copyright notice appears in all copies and that both that copyright//  notice and this permission notice appear in supporting documentation.// //  Stefan Seefeld make(s) no representations about the suitability of this//  software for any purpose. It is provided "as is" without express or implied//  warranty.//  //  Copyright (C) 2004 Stefan Seefeld////@endlicenses@/*  Copyright (C) 2004 Stefan Seefeld  Permission to use, copy, distribute and modify this software and  its documentation for any purpose is hereby granted without fee,  provided that the above copyright notice appear in all copies and that  both that copyright notice and this permission notice appear in  supporting documentation.*/#ifndef guard_opencxx_parser_GC_h#define guard_opencxx_parser_GC_h#include <cstdlib>// define dummy replacements for GC allocator operatorsnamespace Opencxx{enum GCPlacement {GC, NoGC};class LightObject {};class Object {};inlineint GcCount(){    return 0;}}inline void* operator new(size_t size, Opencxx::GCPlacement gcp){    return ::operator new(size);}inline void* operator new [](size_t size, Opencxx::GCPlacement gcp){    return ::operator new [](size);}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -