diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-28 16:06:14 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-04-28 16:06:14 -0700 |
| commit | 7a6f9c9f69d32bce6d8825c075d599c58cc510d3 (patch) | |
| tree | 66fd0c7821f5f8300883f228dffe8ff13f313e22 /include | |
| parent | 443b2c2a2b86e368862407cb44804303ccf39c10 (diff) | |
| parent | 513bce35f686aae6e05b92ebbd44dffc8540ea75 (diff) | |
| download | mruby-7a6f9c9f69d32bce6d8825c075d599c58cc510d3.tar.gz mruby-7a6f9c9f69d32bce6d8825c075d599c58cc510d3.zip | |
Merge pull request #1220 from arton/master
add extern funcs declaration and casts for cimpiling C++ compiler
Diffstat (limited to 'include')
| -rwxr-xr-x[-rw-r--r--] | include/mruby/dump.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/mruby/dump.h b/include/mruby/dump.h index d1d097cd2..76a20df77 100644..100755 --- a/include/mruby/dump.h +++ b/include/mruby/dump.h @@ -140,11 +140,12 @@ bin_to_uint8(const uint8_t *bin) return (uint8_t)bin[0]; } -/* crc.c */ -uint16_t -calc_crc_16_ccitt(const uint8_t *src, size_t nbytes, uint16_t crc); #if defined(__cplusplus) } /* extern "C" { */ #endif +/* crc.c */ +uint16_t +calc_crc_16_ccitt(const uint8_t *src, size_t nbytes, uint16_t crc); + #endif /* MRUBY_DUMP_H */ |
