Haven't tried it yet, but thank you very much! This is something I missed a lot
:-)
LMB
SK Wrote:
Why labor over buggy Makefiles when you could be laboring over buggy
CMake files at a much more productive level of abstraction? :o)
With excellent help from Jens Mueller and Dean Calver
creating yet another wrapper for SQLite. I did my own (not
reusable, and possibly buggy -- I am just beginning to learn D) implementation
of referencing counting with some help from the people on these forums, but I
really wished Phobos had it ready to use.
LMB
Don Wrote:
LMB wrote:
[...]
So, is there any complete example on how to implement reference counting in
D2?
I don't think so. While trying to do it, Bartosz found some severe bugs
in D which made it impossible; they were fixed in the last release.
He's since found bug 3516 might
);
}
}
}
private sqlite3* db_;
private uint* refCount_;
}
Thanks!
LMB
LMB Wrote:
Hello,
[...]
Ouch! I thought I was posting to the learn group. My bad, sorry!
)
{
free(refCount_);
refCount_ = null;
immutable status = sqlite3_close(db_);
}
}
}
private sqlite3* db_;
private uint* refCount_;
}
Thanks!
LMB