diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-19 10:28:16 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-19 12:05:03 +0100 |
| commit | 4905f678318d6a95b30a56b0551a356593dbd00c (patch) | |
| tree | 78d1b37cac1c79d017007989dad091f55dae4ded /buffer.c | |
| parent | c73845177bad1fe27df105a06aac5f71f94b5ebd (diff) | |
| download | vis-4905f678318d6a95b30a56b0551a356593dbd00c.tar.gz vis-4905f678318d6a95b30a56b0551a356593dbd00c.tar.xz | |
vis-lua: implement file.marks[] array
We need to retrieve a pointer to the File struct but can not store it
directly in the Lua uservalue because the address is already used for
the regular file object (of type vis.file). For now we use file->marks
as an address and then use offsetof to retrieve the start of the struct.
Diffstat (limited to 'buffer.c')
0 files changed, 0 insertions, 0 deletions
