[Github-comments] [geany/geany] plugins: separate geany_plugin_set_data() dual-use (437837d)

Matthew Brush notifications at xxxxx
Wed Sep 21 02:40:52 UTC 2016


I should mention for the specific case of Vala, I think you can write something like this:

```vala
// some gobject in vala, to save typing
namespace Foo {
  public class Plugin : Object {
    [CCode(instance_pos=1.1)]
    bool init(Geany.Plugin p) { return true; }
    [CCode(instance_pos=1.1)]
    void cleanup(Geany.Plugin p) {}
  }
}
```

It might work directly in this case.

-- 
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/commit/437837d3a54367393c41d6c1e1f4d1af4481627e#commitcomment-19107354
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160920/7764babd/attachment.html>


More information about the Github-comments mailing list