Skip to content

Conversation

@santorofer
Copy link
Contributor

@santorofer santorofer commented Dec 10, 2025

Since the values of SEEK_SET, SEEK_CUR and SEEK_END aren't standard, this adds a way to access the C macros from TDI. This is for use with the FSEEK() builtin, like so:

FSEEK(_file, *, $SEEK_END);

Each constant required a new opcode, which have been allocated in opcodes.csv

Since the values of SEEK_SET, SEEK_CUR and SEEK_END aren't standard, this adds a way to access the C macros from TDI.
This is for use with the FSEEK() builtin, like so:

FSEEK(_file, *, $SEEK_END);

Each constant required a new opcode, which have been allocated in opcodes.csv
@WhoBrokeTheBuild WhoBrokeTheBuild added feature Indicates new feature requests or implementations tool/tdi Relates to the TDI language or prompts (tditest, tdic) labels Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Indicates new feature requests or implementations tool/tdi Relates to the TDI language or prompts (tditest, tdic)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants