Skip to content

Commit b34d9a1

Browse files
committed
Merge branch 'master' of github.com:dsm9000/sdc into slab_alloc_threadcache
2 parents 54c3968 + 45559e2 commit b34d9a1

File tree

2 files changed

+177
-85
lines changed

2 files changed

+177
-85
lines changed

sdlib/d/gc/slab.d

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ public:
7676
return true;
7777
}
7878

79+
void free() {
80+
setFreeSpace(0);
81+
}
82+
7983
@property
8084
Finalizer finalizer() {
8185
if (!finalizerEnabled) {

0 commit comments

Comments
 (0)