Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 3:80ed23c0ae01, committed 2011-08-30
- Comitter:
- ihunter
- Date:
- Tue Aug 30 21:20:23 2011 +0000
- Parent:
- 2:4dd0a9382f0d
- Commit message:
Changed in this revision
| swtp_codec.h | Show annotated file Show diff for this revision Revisions of this file |
| types.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/swtp_codec.h Tue Aug 30 18:20:47 2011 +0000
+++ b/swtp_codec.h Tue Aug 30 21:20:23 2011 +0000
@@ -1,15 +1,9 @@
#ifndef SWTP_CODEC
#define SWTP_CODEC
-#define SWTP_VERSION (0)
+#include "types.h"
-// I cant bear these '_t'
-typedef uint8_t uint8;
-typedef uint16_t uint16;
-typedef uint32_t uint32;
-typedef int8_t sint8;
-typedef int16_t sint16;
-typedef int32_t sint32;
+#define SWTP_VERSION (0)
typedef struct {
uint16 mimeType;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/types.h Tue Aug 30 21:20:23 2011 +0000 @@ -0,0 +1,12 @@ +#ifndef TYPES_H +#define TYPES_H + +// I cant bear these '_t' +typedef uint8_t uint8; +typedef uint16_t uint16; +typedef uint32_t uint32; +typedef int8_t sint8; +typedef int16_t sint16; +typedef int32_t sint32; + +#endif