mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
- New const enum declaration syntax.
- New enum associated value syntax.
This commit is contained in:
@@ -40,7 +40,7 @@ extern fn CFTypeRef CFType.retain(&self) @cname("CFRetain");
|
||||
extern fn void CFType.release(&self) @cname("CFRelease");
|
||||
extern fn CFIndex CFType.getRetainCount(&self) @cname("CFGetRetainCount");
|
||||
|
||||
enum CFStringEncoding : const uint
|
||||
const enum CFStringEncoding : uint
|
||||
{
|
||||
INVALID_ID = 0xffffffffU,
|
||||
MAC_ROMAN = 0,
|
||||
|
||||
Reference in New Issue
Block a user