about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-09-16 19:30:28 -0700
committerDerek Guenther <dguenther9@gmail.com>2014-02-08 23:40:16 -0600
commitc1cc7e5f164b0119fcd60d6c9ade31fbfcff4b55 (patch)
treec773589dde45c66030ad5d99fb9ee03355bb2a8e /src/rustllvm/PassWrapper.cpp
parentb66ec3483bd5081bcc829efb88ceb841189b754d (diff)
downloadrust-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