kjv

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

kjv_match.h (304B)


      1 #pragma once
      2 
      3 #include "kjv_config.h"
      4 #include "kjv_ref.h"
      5 
      6 typedef struct {
      7     int start;
      8     int end;
      9 } kjv_range;
     10 
     11 typedef struct {
     12     int current;
     13     int next_match;
     14     kjv_range matches[2];
     15 } kjv_next_data;
     16 
     17 int
     18 kjv_next_verse(const kjv_ref *ref, const kjv_config *config, kjv_next_data *next);