?? gc-brefs.c
字號:
/* gc-brefs.c * Boehm gc wrapper functions for KaffeGC reference implementation. * * Copyright (c) 2008 * Dalibor Topic <robilad@kaffe.org> * * See the file "license.terms" for information on usage and redistribution * of this file. (GPLv2 or any later version). */#include "gc.h"#include "gc-refs.h"#include "gc2.h"#include "gtypes.h"/** * Call KaffeGC_addRef with corrected object address. * * @param collector the garbage collector * @param mem the object * * @return TRUE if a reference could be added, otherwise FALSE. */boolBoehmGC_addRef(Collector *collector, const void* mem){ return KaffeGC_addRef(collector, ALIGN_BACKWARD(mem));}/** * Call KaffeGC_rmRef with corrected object address. * * @param collector the garbage collector * @param mem the object * * @return TRUE if a reference could be removed, otherwise FALSE. */boolBoehmGC_rmRef(Collector *collector, void* mem){ return KaffeGC_rmRef(collector, ALIGN_BACKWARD(mem));}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -