Function pointer callback from C
Derek Parnell
derek at nomail.afraid.org
Sun Feb 25 22:36:04 PST 2007
On Sun, 25 Feb 2007 22:12:51 -0800, Mike Johnson wrote:
> The function doing black magic:
>
> extern(C) public void connectSignal(
. . .
> The signal handler itself:
>
> private extern(C) void on_sv_changed(int *widget, int *data) {
Why do you use "extern (C)" ?
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Justice for David Hicks!"
26/02/2007 5:35:23 PM
More information about the Digitalmars-d-learn
mailing list