Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Sync gc_* declrations with core.memory
Browse files Browse the repository at this point in the history
The forward gc_enable, gc_disable, gc_malloc delcarations in core.thread should
be nothrow as defined in core.memory.
  • Loading branch information
David Soria Parra committed Dec 13, 2014
1 parent 46061e6 commit bc1788c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/thread.d
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ private
//
// from core.memory
//
extern (C) void gc_enable();
extern (C) void gc_disable();
extern (C) void* gc_malloc(size_t sz, uint ba = 0);
extern (C) void gc_enable() nothrow;
extern (C) void gc_disable() nothrow;
extern (C) void* gc_malloc(size_t sz, uint ba = 0, const TypeInfo = null) pure nothrow;

//
// from core.stdc.string
Expand Down

0 comments on commit bc1788c

Please sign in to comment.