[Vm-dev] extern function with definition
Ben Coman
btc at openinworld.com
Sat Jan 5 07:38:41 UTC 2019
Here is something I don't comprehend, a function declared extern but also
with its definition provided. Is there anything strange about that
arrangement?
extern int sqAskSecurityYesNoQuestion(const char *question)
{
return MessageBoxA(stWindow, question, "Squeak Security Alert",
MB_YESNO | MB_ICONSTOP) == IDYES;
}
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/1d97d795/platforms/win32/vm/sqWin32Window.c#L200
cheers -ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190105/36867b1f/attachment.html>
More information about the Vm-dev
mailing list