mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
First 0.7 update, removing all deprecated features.
This commit is contained in:
committed by
Christoffer Lerno
parent
cff6697818
commit
2a895ec7be
@@ -1,4 +1,4 @@
|
||||
module std::thread::channel(<Type>);
|
||||
module std::thread::channel{Type};
|
||||
|
||||
distinct UnbufferedChannel = void*;
|
||||
|
||||
@@ -18,8 +18,6 @@ struct UnbufferedChannelImpl @private
|
||||
ConditionVariable read_cond;
|
||||
}
|
||||
|
||||
fn void! UnbufferedChannel.new_init(&self) @deprecated("Use init") => self.init(allocator::heap());
|
||||
|
||||
fn void! UnbufferedChannel.init(&self, Allocator allocator)
|
||||
{
|
||||
UnbufferedChannelImpl* channel = allocator::alloc(allocator, UnbufferedChannelImpl);
|
||||
|
||||
Reference in New Issue
Block a user