mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Switch to <* *> docs. Fix issue with dynamically loaded C3 libs with other C3 code.
This commit is contained in:
committed by
Christoffer Lerno
parent
9f6a4eb300
commit
31cd839063
@@ -1,9 +1,9 @@
|
||||
module test;
|
||||
import libc;
|
||||
|
||||
/**
|
||||
* @require values::@assign_to(*b, *a) && values::@assign_to(*a, *b)
|
||||
*/
|
||||
<*
|
||||
@require values::@assign_to(*b, *a) && values::@assign_to(*a, *b)
|
||||
*>
|
||||
macro void @swap(&a, &b)
|
||||
{
|
||||
var temp = *a;
|
||||
|
||||
Reference in New Issue
Block a user