summaryrefslogtreecommitdiff
path: root/prism/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'prism/options.h')
-rw-r--r--prism/options.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/prism/options.h b/prism/options.h
index 9a4d6969c3..d0b46a0864 100644
--- a/prism/options.h
+++ b/prism/options.h
@@ -67,12 +67,6 @@ typedef struct {
int32_t line;
/**
- * The offset within the file that the parse starts on. This value is
- * 0-indexed.
- */
- uint32_t offset;
-
- /**
* The name of the encoding that the source file is in. Note that this must
* correspond to a name that can be found with Encoding.find in Ruby.
*/
@@ -165,14 +159,6 @@ PRISM_EXPORTED_FUNCTION void pm_options_filepath_set(pm_options_t *options, cons
PRISM_EXPORTED_FUNCTION void pm_options_line_set(pm_options_t *options, int32_t line);
/**
- * Set the offset option on the given options struct.
- *
- * @param options The options struct to set the offset on.
- * @param offset The offset to set.
- */
-PRISM_EXPORTED_FUNCTION void pm_options_offset_set(pm_options_t *options, uint32_t offset);
-
-/**
* Set the encoding option on the given options struct.
*
* @param options The options struct to set the encoding on.
@@ -267,7 +253,6 @@ PRISM_EXPORTED_FUNCTION void pm_options_free(pm_options_t *options);
* | `4` | the length of the filepath |
* | ... | the filepath bytes |
* | `4` | the line number |
- * | `4` | the offset |
* | `4` | the length the encoding |
* | ... | the encoding bytes |
* | `1` | frozen string literal |