[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA_API
- From: Sean Middleditch <elanthis@...>
- Date: 01 Nov 2002 15:52:25 -0500
On Fri, 2002-11-01 at 15:43, Pyrogon Public wrote:
> I notice that Lua (and many other open source projects) prefix their
> function prototypes with an "extern" -- is this absolutely necessary?
> What compilers/platforms won't link properly if this is missing?
It's ANSI C. Many many compilers won't handle it right without the
extern, including GCC with certain options enabled.
>
> Thanks,
>
> Brian
>