[Github-comments] [geany/geany] Api tmtag (#1093)

Colomban Wendling notifications at xxxxx
Wed Jun 29 13:51:48 UTC 2016


> I guess lang says what the tag parser thinks it is, that may be different to filetype since thats settable by those pesky users :)  

Lang says which parser generated the tag.  It's probably mostly useless as of today because it's somewhat redundant with the GeanyFiletype, and anyway the possible values there are not exposed as of today, so the best you can do is compare 2 values for equality.

> Also `refcount`, will plugins need to increment it and are the reference manipulation functions exported?

*never* touch `refcount` manually. It should be as private as possible, that's an implementation detail.
And no, the GType or ref/unref aren't exposed currently.  They are not needed for common use (e.g. looking up a tag in one of the arrays), but maybe one day if really people want to be able to store them on their side.  But that's a somewhat separate issue IMO.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1093#issuecomment-229361926
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160629/1d707b5d/attachment.html>


More information about the Github-comments mailing list