diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2022-11-03 12:55:01 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2022-11-03 12:55:01 -0400 |
| commit | 372eb2647f04c8789679a7fd80a0e91a65e47941 (patch) | |
| tree | e293f1dae67fcc25f20943a341b4a3bb0ef5571d /files.h | |
| parent | 611cf8441a7bd6bf1740914103198967ddab26bb (diff) | |
Added a column getter
Diffstat (limited to 'files.h')
| -rw-r--r-- | files.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,8 @@ void destroy_file(file_t **f); __attribute__((pure, nonnull)) size_t get_line_number(file_t *f, const char *p); __attribute__((pure, nonnull)) +size_t get_line_column(file_t *f, const char *p); +__attribute__((pure, nonnull)) const char *get_line(file_t *f, size_t line_number); #endif |
