diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-09-16 19:30:28 -0700 |
|---|---|---|
| committer | Derek Guenther <dguenther9@gmail.com> | 2014-02-08 23:40:16 -0600 |
| commit | c1cc7e5f164b0119fcd60d6c9ade31fbfcff4b55 (patch) | |
| tree | c773589dde45c66030ad5d99fb9ee03355bb2a8e /src/rustllvm/PassWrapper.cpp | |
| parent | b66ec3483bd5081bcc829efb88ceb841189b754d (diff) | |
| download | rust-c1cc7e5f164b0119fcd60d6c9ade31fbfcff4b55.tar.gz rust-c1cc7e5f164b0119fcd60d6c9ade31fbfcff4b55.zip | |
Add new syntax extension fourcc!()
fourcc!() allows you to embed FourCC (or OSType) values that are evaluated as u32 literals. It takes a 4-byte ASCII string and produces the u32 resulting in interpreting those 4 bytes as a u32, using either the platform-native endianness, or explicitly as big or little endian.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
