Herb C Reference
Loading...
Searching...
No Matches
position.c File Reference
#include "include/position.h"
#include "include/util.h"

Functions

position_T position_from_source_with_offset (const char *source, size_t offset)
 
bool position_is_within_range (position_T position, position_T start, position_T end)
 

Function Documentation

◆ position_from_source_with_offset()

position_T position_from_source_with_offset ( const char *  source,
size_t  offset 
)

◆ position_is_within_range()

bool position_is_within_range ( position_T  position,
position_T  start,
position_T  end 
)