sheepy

build system (sheepy) and package manager (spm) for C
git clone https://spartatek.se/git/sheepy.git
Log | Files | Refs | README | LICENSE

bufferAsserts (1455B)


      1 /* -*- C++ -*- vim: set syntax=cpp: */
      2 #ifndef __QUEX_INCLUDE_GUARD__BUFFER__ASSERTS
      3 #define __QUEX_INCLUDE_GUARD__BUFFER__ASSERTS
      4 
      5 #ifndef QUEX_OPTION_ASSERTS
      6 
      7 #    define QUEX_BUFFER_ASSERT_pointers_in_range(B)    /* empty */
      8 #    define QUEX_BUFFER_ASSERT_CONSISTENCY(B)          /* empty */
      9 #    define QUEX_BUFFER_ASSERT_NO_BUFFER_LIMIT_CODE(Begin, End) /* empty */
     10 
     11 #else
     12 #    include "definitions"
     13 #    include "bufferBuffer"
     14 
     15 QUEX_NAMESPACE_MAIN_OPEN
     16 
     17 #define QUEX_BUFFER_ASSERT_pointers_in_range    QUEX_NAME(BUFFER_ASSERT_pointers_in_range_core)
     18 #define QUEX_BUFFER_ASSERT_limit_codes_in_place QUEX_NAME(BUFFER_ASSERT_limit_codes_in_place_core)
     19 #define QUEX_BUFFER_ASSERT_CONSISTENCY          QUEX_NAME(BUFFER_ASSERT_CONSISTENCY_core)
     20 #define QUEX_BUFFER_ASSERT_NO_BUFFER_LIMIT_CODE QUEX_NAME(BUFFER_ASSERT_NO_BUFFER_LIMIT_CODE_core)
     21 
     22 QUEX_INLINE void QUEX_NAME(BUFFER_ASSERT_pointers_in_range_core)(QUEX_NAME(Buffer)* B);                 
     23 QUEX_INLINE void QUEX_NAME(BUFFER_ASSERT_limit_codes_in_place_core)(QUEX_NAME(Buffer)* B);
     24 QUEX_INLINE void QUEX_NAME(BUFFER_ASSERT_CONSISTENCY_core)(QUEX_NAME(Buffer)* B);                                            
     25 QUEX_INLINE void QUEX_NAME(BUFFER_ASSERT_NO_BUFFER_LIMIT_CODE_core)(const QUEX_TYPE_LEXATOM* Begin, 
     26                                                                      const QUEX_TYPE_LEXATOM* End);
     27 
     28 QUEX_NAMESPACE_MAIN_CLOSE
     29 
     30 #endif
     31 
     32 #endif /* __QUEX_INCLUDE_GUARD__BUFFER__ASSERTS */