Thierry Tracol <[EMAIL PROTECTED]> writes:
> I am currently adapting a Unix Gimp plug-in to Windows Gimp.
> I have a problem because the plug-in is using the
> "gimp_selection_invert" function which works well with Unix, but it
> doesn't seem to exist on PC.
> The function is declared in the windows include "gimpselection_pdb.h",
> but it is not present in the exported functions list of the
> "libgimp.dll" dll.
> The only exported functions in "liggimp.dll" related to selection are :
> "gimp_selection_save, _gimp_selection_none, _gimp_selection_load,
> _gimp_selection_is_empty, _gimp_selection_float, _gimp_selection_clear,
none of the symbols that start with an underscore should be exported.
If they really are, it's a bug and you should expect that they won't
be available in the next release.
The symbols related to selections that should be exported are:
> Does anybody know how to bypass this problem ?
you could call the PDB function directly using gimp_run_procedure()
instead of relying on the availability of the C wrappers.
I'd appreciate if you could file a bug-report for this problem. It
would be even better if you fixed the gimp.def file and attached a
patch to the bug-report. Perhaps Tor can comment if I'm wrong and
libgimp/gimp.def is not the right place to fix this.
Gimp-developer mailing list