Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add some info and an example of writing a C++ plugin. #3

merged 2 commits into from Apr 1, 2012


None yet
3 participants

codebrainz commented Apr 1, 2012

A little blurb about C++ plugins, the example isn't great because I'm a C++ n00b.

elextr commented on bcb6911 Apr 1, 2012

Should add the following:

Note that the dynamic library loading mechanism that loads plugins is C functionality and does not know about C++ constructors. This means that global and static objects in the plugin wil not have their constructors called when the plugin is loaded. Use dynamically created objects as shown in the example.

@frlan frlan added a commit that referenced this pull request Apr 1, 2012

@frlan frlan Merge pull request #3 from codebrainz/c++-plugins
Add some info and an example of writing a C++ plugin.

@frlan frlan merged commit ccd176b into geany:master Apr 1, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment