Debian Codegraph @

rpython/rlib/src/boehm-rawrefcount.h

raw symbols SCIP
1
2 /* Missing:
3 OP_GC_RAWREFCOUNT_INIT(callback, r): the callback is not supported here
4 OP_GC_RAWREFCOUNT_CREATE_LINK_PYOBJ(): not implemented, maybe not needed
5 */
6 #define RPY_USES_RAWREFCOUNT
7
8 #ifdef RPY_REVERSE_DEBUGGER
9 /* these macros are defined in src-revdb/revdb_include.h */
10 #else
11 #define OP_GC_RAWREFCOUNT_CREATE_LINK_PYPY(gcobj, pyobj, r) \
12 gc_rawrefcount_create_link_pypy(gcobj, pyobj)
13
14 #define OP_GC_RAWREFCOUNT_FROM_OBJ(gcobj, r) \
15 r = gc_rawrefcount_from_obj(gcobj)
16
17 #define OP_GC_RAWREFCOUNT_TO_OBJ(pyobj, r) \
18 r = gc_rawrefcount_to_obj(pyobj)
19
20 #define OP_GC_RAWREFCOUNT_NEXT_DEAD(r) \
21 r = gc_rawrefcount_next_dead()
22 #endif
23
24 #define OP_GC_RAWREFCOUNT_MARK_DEALLOCATING(gcobj, pyobj, r) /* nothing */
25
26
27 RPY_EXTERN void gc_rawrefcount_create_link_pypy(/*gcobj_t*/void *gcobj,
28 /*pyobj_t*/void *pyobj);
29 RPY_EXTERN /*pyobj_t*/void *gc_rawrefcount_from_obj(/*gcobj_t*/void *gcobj);
30 RPY_EXTERN /*gcobj_t*/void *gc_rawrefcount_to_obj(/*pyobj_t*/void *pyobj);
31 RPY_EXTERN /*pyobj_t*/void *gc_rawrefcount_next_dead(void);