[cairo] [PATCH] building libcairo-2.dll on Linux
Tor Lillqvist
tml at iki.fi
Mon Apr 16 00:02:35 PDT 2007
Behdad Esfahbod writes:
> BTW, don't we need
> to define cairo_public to __declspec(dllexport) and
> __declspec(dllimport) for win32? I don't see any code for that. Or is
> that not needed because of cairo.def?
Marking functions for export is unnecessary as cairo.def takes care of
listing them. Marking functions as imported is not really needed (it
works automagically anyway). If the cairo API had variables, they
would have to be marked for import/export in the headers, but luckily
(or actually, by deliberate design, I guess) it hasn't.
--tml
More information about the cairo
mailing list