From b498650ba3c8076f98f408ff9fe51d5a3a50bf33 Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Sat, 11 Nov 2023 13:52:45 -0900 Subject: libbindle: replacing '#pragma mark' with '// MARK:' --- include/bindle.h | 36 ++++++++++++++++++------------------ lib/libbindle/larray.c | 12 ++++++------ lib/libbindle/larray.h | 2 +- lib/libbindle/ldebug.c | 8 ++++---- lib/libbindle/ldebug.h | 8 ++++---- lib/libbindle/lencoding.c | 42 +++++++++++++++++++++--------------------- lib/libbindle/lencoding.h | 2 +- lib/libbindle/lfile.c | 8 ++++---- lib/libbindle/lfile.h | 8 ++++---- lib/libbindle/libbindle.h | 12 ++++++------ lib/libbindle/lmap.c | 4 ++-- lib/libbindle/lmap.h | 2 +- lib/libbindle/lobj.c | 8 ++++---- lib/libbindle/lobj.h | 2 +- lib/libbindle/loptions.c | 8 ++++---- lib/libbindle/loptions.h | 2 +- lib/libbindle/lprompt.c | 4 ++-- lib/libbindle/lprompt.h | 2 +- lib/libbindle/lstring.c | 8 ++++---- lib/libbindle/lstring.h | 2 +- lib/libbindle/lstrings.c | 8 ++++---- lib/libbindle/lstrings.h | 2 +- lib/libbindle/lurl.c | 10 +++++----- lib/libbindle/lurl.h | 2 +- lib/libbindle/lutf8.c | 8 ++++---- lib/libbindle/lutf8.h | 2 +- 26 files changed, 106 insertions(+), 106 deletions(-) diff --git a/include/bindle.h b/include/bindle.h index 31d850b..693e05c 100644 --- a/include/bindle.h +++ b/include/bindle.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -50,7 +50,7 @@ // Macros // // // ////////////// -#pragma mark - Macros +// MARK: - Macros // Exports function type #undef BINDLE_C_DECLS @@ -96,7 +96,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions #define BNDL_SUCCESS 0 #define BNDL_OFF 0 @@ -154,7 +154,7 @@ // Data Types // // // ////////////////// -#pragma mark - Data Types +// MARK: - Data Types typedef struct _bindle_map { @@ -193,7 +193,7 @@ typedef struct bindle_url_desc // Variables // // // ///////////////// -#pragma mark - Variables +// MARK: - Variables ////////////////// @@ -201,12 +201,12 @@ typedef struct bindle_url_desc // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes //------------------// // array prototypes // //------------------// -#pragma mark array prototypes +// MARK: array prototypes _BINDLE_F ssize_t bindle_badd( @@ -293,7 +293,7 @@ bindle_push( //------------------// // debug prototypes // //------------------// -#pragma mark debug prototypes +// MARK: debug prototypes _BINDLE_F void bindle_debug( @@ -305,7 +305,7 @@ bindle_debug( //---------------------// // encoding prototypes // //---------------------// -#pragma mark encoding prototypes +// MARK: encoding prototypes _BINDLE_F ssize_t bindle_decode( @@ -354,7 +354,7 @@ bindle_encoding_verify( //-----------------// // file prototypes // //-----------------// -#pragma mark file prototypes +// MARK: file prototypes _BINDLE_F int bindle_filetostr( @@ -373,7 +373,7 @@ bindle_readline( //----------------// // map prototypes // //----------------// -#pragma mark map prototypes +// MARK: map prototypes _BINDLE_F int bindle_map_lookup( @@ -400,7 +400,7 @@ bindle_map_lookup_value( //-------------------// // object prototypes // //-------------------// -#pragma mark object prototypes +// MARK: object prototypes _BINDLE_F void * bindle_alloc( @@ -437,7 +437,7 @@ bindle_retain_count( //-------------------// // option prototypes // //-------------------// -#pragma mark option prototypes +// MARK: option prototypes _BINDLE_F int bindle_get_option( @@ -456,7 +456,7 @@ bindle_set_option( //------------------------// // user prompt prototypes // //------------------------// -#pragma mark user prompt prototypes +// MARK: user prompt prototypes char * bindle_getpass( @@ -473,7 +473,7 @@ bindle_getpass_r( //-------------------// // string prototypes // //-------------------// -#pragma mark string prototypes +// MARK: string prototypes _BINDLE_F char * bindle_basename( @@ -565,7 +565,7 @@ bindle_strtrim( //-------------------------// // string array prototypes // //-------------------------// -#pragma mark string array prototypes +// MARK: string array prototypes _BINDLE_F int bindle_strsadd( @@ -600,7 +600,7 @@ bindle_strsplit( //----------------// // URI prototypes // //----------------// -#pragma mark URI prototypes +// MARK: URI prototypes _BINDLE_F int bindle_is_url( @@ -633,7 +633,7 @@ bindle_urldesc_resolve( //-----------------// // UTF8 prototypes // //-----------------// -#pragma mark UTF8 prototypes +// MARK: UTF8 prototypes _BINDLE_F size_t bindle_utf8len( diff --git a/lib/libbindle/larray.c b/lib/libbindle/larray.c index 2b7be5e..6a30459 100644 --- a/lib/libbindle/larray.c +++ b/lib/libbindle/larray.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -49,7 +49,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes ///////////////// @@ -57,12 +57,12 @@ // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions //-------------------------// // sorted array prototypes // //-------------------------// -#pragma mark sorted array prototypes +// MARK: sorted array prototypes ssize_t bindle_badd( @@ -320,7 +320,7 @@ bindle_bsearch( //------------------------// // queue array prototypes // //------------------------// -#pragma mark queue array prototypes +// MARK: queue array prototypes void * bindle_dequeue( @@ -390,7 +390,7 @@ bindle_enqueue( //------------------------// // stack array prototypes // //------------------------// -#pragma mark stack prototypes +// MARK: stack prototypes void * bindle_peek( diff --git a/lib/libbindle/larray.h b/lib/libbindle/larray.h index cac4ed1..e848af2 100644 --- a/lib/libbindle/larray.h +++ b/lib/libbindle/larray.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/ldebug.c b/lib/libbindle/ldebug.c index 9a8c07a..5c3c557 100644 --- a/lib/libbindle/ldebug.c +++ b/lib/libbindle/ldebug.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #undef NDEBUG @@ -55,7 +55,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions ///////////////// @@ -63,7 +63,7 @@ // Variables // // // ///////////////// -#pragma mark - Variables +// MARK: - Variables // yes, global variables are evil... const char * bindle_debug_ident = BNDL_DFLT_DEBUG_IDENT; @@ -77,7 +77,7 @@ int bindle_debug_syslog = BNDL_DFLT_DEBUG_SYSLOG; // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions void bindle_debug( diff --git a/lib/libbindle/ldebug.h b/lib/libbindle/ldebug.h index 4297cf5..4de0547 100644 --- a/lib/libbindle/ldebug.h +++ b/lib/libbindle/ldebug.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" @@ -52,7 +52,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions @@ -61,7 +61,7 @@ // Variables // // // ///////////////// -#pragma mark - Variables +// MARK: - Variables _BINDLE_V const char * bindle_debug_ident; @@ -84,7 +84,7 @@ bindle_debug_syslog; // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes #endif /* end of header */ diff --git a/lib/libbindle/lencoding.c b/lib/libbindle/lencoding.c index 8a3cc25..870bfbf 100644 --- a/lib/libbindle/lencoding.c +++ b/lib/libbindle/lencoding.c @@ -36,7 +36,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -53,7 +53,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes static ssize_t bindle_base32_decode( @@ -186,9 +186,9 @@ bindle_pctenc_verify( // Variables // // // ///////////////// -#pragma mark - Variables +// MARK: - Variables -#pragma mark base32_vals[] +// MARK: base32_vals[] static const int8_t base32_vals[256] = { // This map cheats and interprets: @@ -213,11 +213,11 @@ static const int8_t base32_vals[256] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 }; -#pragma mark base32_chars[] +// MARK: base32_chars[] static const char * base32_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567="; -#pragma mark base32hex_vals[] +// MARK: base32hex_vals[] static const int8_t base32hex_vals[256] = { // 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F @@ -238,11 +238,11 @@ static const int8_t base32hex_vals[256] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 }; -#pragma mark base32hex_chars[] +// MARK: base32hex_chars[] static const char * base32hex_chars = "0123456789ABCDEFGHIJKLMNOPQRSTUV="; -#pragma mark base64_vals[] +// MARK: base64_vals[] static const int8_t base64_vals[256] = { // 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F @@ -263,11 +263,11 @@ static const int8_t base64_vals[256] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 }; -#pragma mark base64_chars[] +// MARK: base64_chars[] static const char * base64_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; -#pragma mark crockford_vals[] +// MARK: crockford_vals[] static const int8_t crockford_vals[256] = { // 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F @@ -288,11 +288,11 @@ static const int8_t crockford_vals[256] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 }; -#pragma mark crockford_chars[] +// MARK: crockford_chars[] static const char * crockford_chars = "0123456789ABCDEFGHJKMNPQRSTVWXYZ"; -#pragma mark hex_vals[] +// MARK: hex_vals[] static const int8_t hex_vals[256] = { // 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F @@ -313,11 +313,11 @@ static const int8_t hex_vals[256] = -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xE0 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0xF0 }; -#pragma mark hex_chars[] +// MARK: hex_chars[] static const char * hex_chars = "0123456789abcdef"; -#pragma mark pctenc_vals[] +// MARK: pctenc_vals[] static const int8_t pctenc_vals[256] = { // 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F @@ -345,12 +345,12 @@ static const int8_t pctenc_vals[256] = // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions //------------------// // base32 functions // //------------------// -#pragma mark base32 functions +// MARK: base32 functions ssize_t bindle_base32_decode( @@ -608,7 +608,7 @@ bindle_base32_verify( //------------------// // base64 functions // //------------------// -#pragma mark base64 functions +// MARK: base64 functions ssize_t bindle_base64_decode( @@ -802,7 +802,7 @@ bindle_base64_verify( //---------------// // hex functions // //---------------// -#pragma mark hex functions +// MARK: hex functions ssize_t bindle_hex_decode( @@ -917,7 +917,7 @@ bindle_hex_verify( //----------------// // none functions // //----------------// -#pragma mark none functions +// MARK: none functions ssize_t bindle_none_decode( @@ -962,7 +962,7 @@ bindle_none_encode( //----------------------------// // percent-encoding functions // //----------------------------// -#pragma mark percent-encoding functions +// MARK: percent-encoding functions ssize_t bindle_pctenc_decode( @@ -1101,7 +1101,7 @@ bindle_pctenc_verify( //--------------------// // frontend functions // //--------------------// -#pragma mark frontend functions +// MARK: frontend functions ssize_t bindle_decode( diff --git a/lib/libbindle/lencoding.h b/lib/libbindle/lencoding.h index 1513903..a0169c4 100644 --- a/lib/libbindle/lencoding.h +++ b/lib/libbindle/lencoding.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/lfile.c b/lib/libbindle/lfile.c index a99c684..e3e6658 100644 --- a/lib/libbindle/lfile.c +++ b/lib/libbindle/lfile.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -56,7 +56,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions ///////////////// @@ -64,7 +64,7 @@ // Variables // // // ///////////////// -#pragma mark - Variables +// MARK: - Variables ///////////////// @@ -72,7 +72,7 @@ // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions int bindle_filetostr( diff --git a/lib/libbindle/lfile.h b/lib/libbindle/lfile.h index b6ceeb6..d9401c3 100644 --- a/lib/libbindle/lfile.h +++ b/lib/libbindle/lfile.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" @@ -52,7 +52,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions @@ -61,7 +61,7 @@ // Variables // // // ///////////////// -#pragma mark - Variables +// MARK: - Variables ////////////////// @@ -69,7 +69,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes #endif /* end of header */ diff --git a/lib/libbindle/libbindle.h b/lib/libbindle/libbindle.h index 4d71f89..59f6d7b 100644 --- a/lib/libbindle/libbindle.h +++ b/lib/libbindle/libbindle.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers // defined in the Single UNIX Specification #ifndef _XOPEN_SOURCE @@ -60,7 +60,7 @@ // Macros // // // ////////////// -#pragma mark - Macros +// MARK: - Macros #undef Debug #ifdef USE_DEBUG @@ -77,7 +77,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions #define BNDL_SUCCESS 0 @@ -93,7 +93,7 @@ // Data Types // // // ////////////////// -#pragma mark - Data Types +// MARK: - Data Types ///////////////// @@ -101,7 +101,7 @@ // Variables // // // ///////////////// -#pragma mark - Variables +// MARK: - Variables ////////////////// @@ -109,7 +109,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes #endif /* end of header */ diff --git a/lib/libbindle/lmap.c b/lib/libbindle/lmap.c index d6c3184..2ed2871 100644 --- a/lib/libbindle/lmap.c +++ b/lib/libbindle/lmap.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -52,7 +52,7 @@ // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions int bindle_map_lookup( diff --git a/lib/libbindle/lmap.h b/lib/libbindle/lmap.h index 242ee11..8354978 100644 --- a/lib/libbindle/lmap.h +++ b/lib/libbindle/lmap.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/lobj.c b/lib/libbindle/lobj.c index 244d410..06aed1b 100644 --- a/lib/libbindle/lobj.c +++ b/lib/libbindle/lobj.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -53,7 +53,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions // Magic number used to determine if memory passed to bindle_free() is a // "bindle_obj_t" or raw virtual memory. The magic number purposely starts @@ -66,7 +66,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes static int bindle_verify_is_obj( @@ -78,7 +78,7 @@ bindle_verify_is_obj( // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions void * bindle_alloc( diff --git a/lib/libbindle/lobj.h b/lib/libbindle/lobj.h index 34b0097..afef0ff 100644 --- a/lib/libbindle/lobj.h +++ b/lib/libbindle/lobj.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/loptions.c b/lib/libbindle/loptions.c index 4714c5a..5fd4d9b 100644 --- a/lib/libbindle/loptions.c +++ b/lib/libbindle/loptions.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -55,7 +55,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions ////////////////// @@ -63,7 +63,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes ///////////////// @@ -71,7 +71,7 @@ // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions int bindle_get_option( diff --git a/lib/libbindle/loptions.h b/lib/libbindle/loptions.h index b5698d5..c7a3c46 100644 --- a/lib/libbindle/loptions.h +++ b/lib/libbindle/loptions.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/lprompt.c b/lib/libbindle/lprompt.c index 2e4e728..a661d39 100644 --- a/lib/libbindle/lprompt.c +++ b/lib/libbindle/lprompt.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -56,7 +56,7 @@ // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions char * bindle_getpass( diff --git a/lib/libbindle/lprompt.h b/lib/libbindle/lprompt.h index 1d5785a..e7b9f75 100644 --- a/lib/libbindle/lprompt.h +++ b/lib/libbindle/lprompt.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/lstring.c b/lib/libbindle/lstring.c index aaba573..7a4b560 100644 --- a/lib/libbindle/lstring.c +++ b/lib/libbindle/lstring.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -62,7 +62,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions ////////////////// @@ -70,7 +70,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes ///////////////// @@ -78,7 +78,7 @@ // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions char * bindle_basename( diff --git a/lib/libbindle/lstring.h b/lib/libbindle/lstring.h index 09cd952..e165935 100644 --- a/lib/libbindle/lstring.h +++ b/lib/libbindle/lstring.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/lstrings.c b/lib/libbindle/lstrings.c index d77ccfa..275116b 100644 --- a/lib/libbindle/lstrings.c +++ b/lib/libbindle/lstrings.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -53,7 +53,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions ////////////////// @@ -61,7 +61,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes ///////////////// @@ -69,7 +69,7 @@ // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions int bindle_strsadd( diff --git a/lib/libbindle/lstrings.h b/lib/libbindle/lstrings.h index 9aa9687..e94c5c1 100644 --- a/lib/libbindle/lstrings.h +++ b/lib/libbindle/lstrings.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/lurl.c b/lib/libbindle/lurl.c index 0ed7492..a80dfe9 100644 --- a/lib/libbindle/lurl.c +++ b/lib/libbindle/lurl.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -59,7 +59,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions #define BINDLE_URLDESC_SCHEME 0x01 #define BINDLE_URLDESC_USERINFO 0x02 @@ -75,7 +75,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes static void bindle_urldesc_free_sockaddrs( @@ -87,7 +87,7 @@ bindle_urldesc_free_sockaddrs( // Variables // // // ///////////////// -#pragma mark - Variables +// MARK: - Variables ///////////////// @@ -95,7 +95,7 @@ bindle_urldesc_free_sockaddrs( // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions int bindle_is_url( diff --git a/lib/libbindle/lurl.h b/lib/libbindle/lurl.h index 760609f..ee52d1c 100644 --- a/lib/libbindle/lurl.h +++ b/lib/libbindle/lurl.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" diff --git a/lib/libbindle/lutf8.c b/lib/libbindle/lutf8.c index 42e4c8b..fa7a024 100644 --- a/lib/libbindle/lutf8.c +++ b/lib/libbindle/lutf8.c @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include #include @@ -51,7 +51,7 @@ // Definitions // // // /////////////////// -#pragma mark - Definitions +// MARK: - Definitions ////////////////// @@ -59,7 +59,7 @@ // Prototypes // // // ////////////////// -#pragma mark - Prototypes +// MARK: - Prototypes ///////////////// @@ -67,7 +67,7 @@ // Functions // // // ///////////////// -#pragma mark - Functions +// MARK: - Functions size_t diff --git a/lib/libbindle/lutf8.h b/lib/libbindle/lutf8.h index 19f143a..56a6ddf 100644 --- a/lib/libbindle/lutf8.h +++ b/lib/libbindle/lutf8.h @@ -37,7 +37,7 @@ // Headers // // // /////////////// -#pragma mark - Headers +// MARK: - Headers #include "libbindle.h" -- cgit v1.2.3