aboutsummaryrefslogtreecommitdiffstats
path: root/core/Print.h
diff options
context:
space:
mode:
authorPerry Hung <iperry@alum.mit.edu>2010-03-31 21:29:29 -0400
committerPerry Hung <iperry@alum.mit.edu>2010-03-31 21:29:29 -0400
commit25c7ba0ed78aea0a368bc178dd720a845dd515ac (patch)
tree86be2502247dc0dd831191ae219a62875daad97c /core/Print.h
parent4e51e057bb5a8d6b3475d2202af8a2a2caf9ba7b (diff)
downloadlibrambutan-25c7ba0ed78aea0a368bc178dd720a845dd515ac.tar.gz
librambutan-25c7ba0ed78aea0a368bc178dd720a845dd515ac.zip
Removed inttypes.h
Removed inttypes.h from libmaple. Will have another pass through to use the standard libmaple types, but will come in another commit.
Diffstat (limited to 'core/Print.h')
-rw-r--r--core/Print.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/core/Print.h b/core/Print.h
index a69e85d..b2f8647 100644
--- a/core/Print.h
+++ b/core/Print.h
@@ -20,7 +20,6 @@
#ifndef Print_h
#define Print_h
-#include <inttypes.h>
#include <stdio.h> // for size_t
#define DEC 10
@@ -32,15 +31,15 @@
class Print
{
private:
- void printNumber(unsigned long, uint8_t);
- void printFloat(double, uint8_t);
+ void printNumber(unsigned long, uint8);
+ void printFloat(double, uint8);
public:
- virtual void write(uint8_t) = 0;
+ virtual void write(uint8) = 0;
virtual void write(const char *str);
- virtual void write(const uint8_t *buffer, size_t size);
+ virtual void write(const uint8 *buffer, uint32 size);
void print(char);
void print(const char[]);
- void print(uint8_t);
+ void print(uint8);
void print(int);
void print(unsigned int);
void print(long);
@@ -50,7 +49,7 @@ class Print
void println(void);
void println(char);
void println(const char[]);
- void println(uint8_t);
+ void println(uint8);
void println(int);
void println(unsigned int);
void println(long);