#ifndef __INC_LIBTHECORE_HANGUL_H__ #define __INC_LIBTHECORE_HANGUL_H__ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifdef __WIN32__ #define isdigit iswdigit #define isspace iswspace #endif #define ishan(ch) (((ch) & 0xE0) > 0x90) #define ishanasc(ch) (isascii(ch) || ishan(ch)) #define ishanalp(ch) (isalpha(ch) || ishan(ch)) #define isnhdigit(ch) (!ishan(ch) && isdigit(ch)) #define isnhspace(ch) (!ishan(ch) && isspace(ch)) extern const char * first_han(const BYTE * str); // ù¹ø° µÎ ±ÛÀÚÀÇ ¸ðÀ½(¤¡¤¤¤§)À» »Ì¾Æ °¡/³ª/´Ù/..¸¦ ¸®ÅÏÇÑ´Ù. extern int check_han(const char * str); // ÇѱÛÀ̸é true ½ºÆ®¸µ ÀüºÎ üũ extern int is_hangul(const BYTE * str); // ÇѱÛÀ̸é true (2¹ÙÀÌÆ®¸¸ üũ) extern int under_han(const void * orig); // ¹ÞħÀÌ ÀÖÀ¸¸é true #define UNDER(str) under_han(str) #ifdef __cplusplus }; #endif #endif