diff options
| author | Alex Marshall <SquidMan72@gmail.com> | 2009-03-16 20:49:04 -0700 |
|---|---|---|
| committer | Alex Marshall <SquidMan72@gmail.com> | 2009-03-16 20:49:04 -0700 |
| commit | c559c71dd9abff1f0e8d0175b3feac792f337670 (patch) | |
| tree | dca83aa83336e58c36b3a9372f7f4bc399c41340 /player/endian.h | |
| parent | 47c3f8e593eaaba27de23eb07379ee690859047c (diff) | |
Added player. It's in XCode project format. If anyone wants to write a makefile for it, please do, it'd be appreciated. Player doesn't play at the moment, but it does read BRLAN into a nice format, and set up SDL.
Diffstat (limited to '')
| -rw-r--r-- | player/endian.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/player/endian.h b/player/endian.h new file mode 100644 index 0000000..b7ac8ba --- /dev/null +++ b/player/endian.h @@ -0,0 +1,23 @@ +/* + * endian.h + * BannerPlayer + * + * 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_ |
