sheepy

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

ByteLoader_stream (900B)


      1 #ifndef  __QUEX_INCLUDE_GUARD__BUFFER__BYTES__BYTE_LOADER_STREAM
      2 #define  __QUEX_INCLUDE_GUARD__BUFFER__BYTES__BYTE_LOADER_STREAM
      3 #ifdef __cplusplus
      4 
      5 
      6 #include <quex/code_base/buffer/bytes/ByteLoader>
      7 
      8 QUEX_NAMESPACE_MAIN_OPEN
      9 
     10 template <class StreamType>
     11 class QUEX_NAME(ByteLoader_stream) { 
     12 public:
     13     QUEX_NAME(ByteLoader)   base;
     14     StreamType*            input_handle;
     15 };
     16 
     17 template <class StreamType> QUEX_INLINE void
     18 QUEX_NAME(ByteLoader_stream_construct)(QUEX_NAME(ByteLoader_stream)<StreamType>* me, StreamType* sh);
     19 template <class StreamType> QUEX_INLINE QUEX_NAME(ByteLoader)*
     20 QUEX_NAME(ByteLoader_stream_new)(StreamType* sh);
     21 QUEX_INLINE QUEX_NAME(ByteLoader)*    
     22 QUEX_NAME(ByteLoader_stream_new_from_file_name)(const char* FileName);
     23 
     24 QUEX_NAMESPACE_MAIN_CLOSE
     25 
     26 #endif /* __cplusplus                           */
     27 #endif /*  __QUEX_INCLUDE_GUARD__BUFFER__BYTES__BYTE_LOADER_STREAM */