Skip to content

Commit

Permalink
Add C++ extern ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorig committed Oct 25, 2012
1 parent 3f159c8 commit 4e87e5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ucdn.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#ifndef UCDN_H
#define UCDN_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

#define UCDN_EAST_ASIAN_F 0
Expand Down Expand Up @@ -287,4 +291,8 @@ int ucdn_compat_decompose(uint32_t code, uint32_t *decomposed);
*/
int ucdn_compose(uint32_t *code, uint32_t a, uint32_t b);

#ifdef __cplusplus
}
#endif

#endif

0 comments on commit 4e87e5d

Please sign in to comment.