Hi Thomas,
Humm, dunno why it didn't work when Matthew and I tried it before, but:
$ cat test.cpp
#include
#include
extern "C"
{
PLUGIN_VERSION_CHECK(211)
PLUGIN_SET_INFO("Test C++","Test C++", "etc", "etc");
void plugin_init(GeanyData *){}
void plugin_cleanup(void){}
}
class Te
On 12-05-28 02:24 PM, Thomas Martitz wrote:
Am 28.05.2012 13:27, schrieb Lex Trotman:
This doesn't actually call the C++ constructors/destructors in the way
they would be in normally be if the plugin had been statically linked.
This simply labels a C function to be called at dlopen time. It ma
Am 28.05.2012 13:27, schrieb Lex Trotman:
This doesn't actually call the C++ constructors/destructors in the way
they would be in normally be if the plugin had been statically linked.
This simply labels a C function to be called at dlopen time. It may
be used to do some initialisation, but you
Am 28.05.2012 13:27, schrieb Lex Trotman:
> On 28 May 2012 19:59, Thomas Martitz
> wrote:
>> Am 28.05.2012 11:27, schrieb Frank Lanitz:
>>>
>>> It's important to note that the dynamic library loading mechanism
>>> that loads plugins is C functionality and does not know about C++
>>> constructors.
On 28 May 2012 19:59, Thomas Martitz
wrote:
> Am 28.05.2012 11:27, schrieb Frank Lanitz:
>>
>> It's important to 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
>>
Am 28.05.2012 11:27, schrieb Frank Lanitz:
It's important to 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 will *not* have their constructors called when the p
Geany Newsletter #5
---
1 About Geany
2 New translations and updates
3 Wiki available
4 C++ plugins supported
5 Plugins
5.1 New Plugins
5.1.1 GeanyPyflakes
5.1.2 GeniusPaste
5.2 GeanyPG
6 Geany local
7 Geany Packages for Fedora