diff options
| author | Alex Marshall <SquidMan72@gmail.com> | 2009-03-18 12:32:15 -0700 |
|---|---|---|
| committer | Alex Marshall <SquidMan72@gmail.com> | 2009-03-18 12:32:15 -0700 |
| commit | 82afee74aba00c54ab59356ab715cbe4206fb14c (patch) | |
| tree | 2ee54a1209dd15e55b76b9ed296e13a9e2df0734 /zetsubou/endian.h | |
| parent | 0a20f095e79575efadb6ca26d0952df86a022837 (diff) | |
Added Zetsubou, a (currently only) TPL extractor, which will eventually be able to write TPLs. Successor to gentpl.
Diffstat (limited to '')
| -rw-r--r-- | zetsubou/endian.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/zetsubou/endian.h b/zetsubou/endian.h new file mode 100644 index 0000000..6bdd9d4 --- /dev/null +++ b/zetsubou/endian.h @@ -0,0 +1,23 @@ +/* + * endian.h + * Zetsubou + * + * Created by Alex Marshall on 09/03/16. + * Copyright 2009 __MyCompanyName__. All rights reserved. + * + */ + +#ifndef _ENDIAN_H_ +#define _ENDIAN_H_ + +#include "types.h" + +#define le16 be16 +#define le32 be32 +#define le64 be64 + +u16 be16(u16 x); +u32 be32(u32 x); +u64 be64(u64 x); + +#endif //_ENDIAN_H_ |
