@@ -146,7 +146,7 @@ ncmpii_utf8_validate(const char* name)
146146#include "utf8proc_data.h"
147147
148148
149- #ifndef _PNETCDF_H
149+ #ifndef H_PNETCDF
150150UTF8PROC_DLLEXPORT const utf8proc_int8_t utf8proc_utf8class [256 ] = {
151151 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,
152152 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ,
@@ -191,7 +191,7 @@ UTF8PROC_DLLEXPORT const utf8proc_int8_t utf8proc_utf8class[256] = {
191191 be different, being based on ABI compatibility.): */
192192#define STRINGIZEx (x ) #x
193193#define STRINGIZE (x ) STRINGIZEx(x)
194- #ifndef _PNETCDF_H
194+ #ifndef H_PNETCDF
195195UTF8PROC_DLLEXPORT const char * utf8proc_version (void ) {
196196 return STRINGIZE (UTF8PROC_VERSION_MAJOR ) "." STRINGIZE (UTF8PROC_VERSION_MINOR ) "." STRINGIZE (UTF8PROC_VERSION_PATCH ) "" ;
197197}
@@ -263,7 +263,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_iterate(
263263 return 4 ;
264264}
265265
266- #ifndef _PNETCDF_H
266+ #ifndef H_PNETCDF
267267UTF8PROC_DLLEXPORT utf8proc_bool utf8proc_codepoint_valid (utf8proc_int32_t uc ) {
268268 return (((utf8proc_uint32_t )uc )- 0xd800 > 0x07ff ) && ((utf8proc_uint32_t )uc < 0x110000 );
269269}
@@ -336,7 +336,7 @@ static const utf8proc_property_t *unsafe_get_property(utf8proc_int32_t uc) {
336336 );
337337}
338338
339- #ifndef _PNETCDF_H
339+ #ifndef H_PNETCDF
340340UTF8PROC_DLLEXPORT const utf8proc_property_t * utf8proc_get_property (utf8proc_int32_t uc ) {
341341 return uc < 0 || uc >= 0x110000 ? utf8proc_properties : unsafe_get_property (uc );
342342}
@@ -417,7 +417,7 @@ static utf8proc_bool grapheme_break_extended(int lbc, int tbc, utf8proc_int32_t
417417 return break_permitted ;
418418}
419419
420- #ifndef _PNETCDF_H
420+ #ifndef H_PNETCDF
421421UTF8PROC_DLLEXPORT utf8proc_bool utf8proc_grapheme_break_stateful (
422422 utf8proc_int32_t c1 , utf8proc_int32_t c2 , utf8proc_int32_t * state ) {
423423
@@ -444,7 +444,7 @@ static utf8proc_int32_t seqindex_decode_entry(const utf8proc_uint16_t **entry)
444444 return entry_cp ;
445445}
446446
447- #ifndef _PNETCDF_H
447+ #ifndef H_PNETCDF
448448static utf8proc_int32_t seqindex_decode_index (const utf8proc_uint32_t seqindex )
449449{
450450 const utf8proc_uint16_t * entry = & utf8proc_sequences [seqindex ];
@@ -471,7 +471,7 @@ static utf8proc_ssize_t seqindex_write_char_decomposed(utf8proc_uint16_t seqinde
471471 return written ;
472472}
473473
474- #ifndef _PNETCDF_H
474+ #ifndef H_PNETCDF
475475UTF8PROC_DLLEXPORT utf8proc_int32_t utf8proc_tolower (utf8proc_int32_t c )
476476{
477477 utf8proc_int32_t cl = utf8proc_get_property (c )-> lowercase_seqindex ;
@@ -595,7 +595,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(utf8proc_int32_t uc,
595595 return 1 ;
596596}
597597
598- #ifndef _PNETCDF_H
598+ #ifndef H_PNETCDF
599599UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose (
600600 const utf8proc_uint8_t * str , utf8proc_ssize_t strlen ,
601601 utf8proc_int32_t * buffer , utf8proc_ssize_t bufsize , utf8proc_option_t options
@@ -844,7 +844,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_map_custom(
844844 return result ;
845845}
846846
847- #ifndef _PNETCDF_H
847+ #ifndef H_PNETCDF
848848UTF8PROC_DLLEXPORT utf8proc_uint8_t * utf8proc_NFD (const utf8proc_uint8_t * str ) {
849849 utf8proc_uint8_t * retval ;
850850 utf8proc_map (str , 0 , & retval , UTF8PROC_NULLTERM | UTF8PROC_STABLE |
0 commit comments