mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
keep normal as the default refcounting
This commit is contained in:
parent
2093405ffc
commit
3606543ac0
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ const Refcount = enum {
|
||||||
atomic,
|
atomic,
|
||||||
};
|
};
|
||||||
|
|
||||||
const RC_TYPE = Refcount.atomic;
|
const RC_TYPE = Refcount.normal;
|
||||||
|
|
||||||
pub fn increfC(ptr_to_refcount: *isize, amount: isize) callconv(.C) void {
|
pub fn increfC(ptr_to_refcount: *isize, amount: isize) callconv(.C) void {
|
||||||
if (RC_TYPE == Refcount.none) return;
|
if (RC_TYPE == Refcount.none) return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue