diff options
author | Ken Hughes <khughes@pacific.edu> | 2008-04-25 23:18:24 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2008-04-25 23:18:24 +0400 |
commit | bc18e9e2908cad1d416c101f9aa07c29fdaed7c0 (patch) | |
tree | cac2f554a27030780dfbc74917ab75b96d8d165a /source/blender/blenkernel/BKE_font.h | |
parent | 2a72b986d4dc8b6bef845e5ca9bdbb6bbf0ff8f4 (diff) |
Suggestion by GSR; move "extern C" into header file, remove "_" from
utf8towchar function name.
Diffstat (limited to 'source/blender/blenkernel/BKE_font.h')
-rw-r--r-- | source/blender/blenkernel/BKE_font.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_font.h b/source/blender/blenkernel/BKE_font.h index d1f569e3f16..33747eb35a3 100644 --- a/source/blender/blenkernel/BKE_font.h +++ b/source/blender/blenkernel/BKE_font.h @@ -31,6 +31,10 @@ #ifndef BKE_VFONT_H #define BKE_VFONT_H +#ifdef __cplusplus +extern "C" { +#endif + #include <wchar.h> struct VFont; @@ -65,7 +69,11 @@ int getselection(int *start, int *end); void chtoutf8(unsigned long c, char *o); void wcs2utf8s(char *dst, wchar_t *src); int wcsleninu8(wchar_t *src); -int utf8towchar_(wchar_t *w, char *c); +int utf8towchar(wchar_t *w, char *c); + +#ifdef __cplusplus +} +#endif #endif |