Skip to content

Commit

Permalink
Merge pull request #3 from ThePixelHeart/aa2d0949497c46fbea02b0c4a3ff…
Browse files Browse the repository at this point in the history
…326880521cda

Allow p9813.h to be imported by C++ files.
  • Loading branch information
PaintYourDragon committed Mar 5, 2013
2 parents 0a5941b + aa2d094 commit 672ce1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions p9813.h
Expand Up @@ -36,6 +36,10 @@
#ifndef _P9813_H_
#define _P9813_H_

#if defined __cplusplus
extern "C" {
#endif

#include <stdint.h>

typedef uint32_t TCpixel;
Expand Down Expand Up @@ -118,4 +122,8 @@ extern void
TCprintStats(TCstats*),
TCprintError(TCstatusCode);

#if defined __cplusplus
};
#endif

#endif /* _P9813_H_ */

0 comments on commit 672ce1c

Please sign in to comment.