> Thank you. How about long returned from mio_tell and passed to mio_seek? I 
> will introduce mio_long or mio_off_t. Is this acceptable?

We don't use MIO at all in Geany itself - its only use is through ctags and we 
don't call any of its API directly. So you can do whatever you want with it in 
ctags.

Historically, when MIO wasn't part of ctags, we used to replace all occurrences 
of `FILE` with `MIO` in ctags and pass the editor's buffer as MIO. But since 
MIO is now part of ctags, we just call

```
extern bool parseRawBuffer(const char *fileName, unsigned char *buffer,
                         size_t bufferSize, const langType language, void 
*clientData)
```

and let ctags handle all the MIO stuff.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3510#issuecomment-1570900452
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3510/[email protected]>

Reply via email to