Herb C Reference
Loading...
Searching...
No Matches
position.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  POSITION_STRUCT
 

Typedefs

typedef struct POSITION_STRUCT position_T
 

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)
 

Typedef Documentation

◆ position_T

typedef struct POSITION_STRUCT position_T

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 
)