lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Ahem, no, please do *not* force us to link against the AppKit. Many applications are Cocoa-free and want to stay that way.

IMHO you should instead look into something which is a little bit more low-level, relying only on Core Foundation so it's accessible from both Carbon and Cocoa applications. You might want to start from:

In particular, the low-level APIs seem well suited for something like loadlib.

Just my 0.02 Euros,

----- Original Message ----- From: "Roberto Ierusalimschy" <>
To: "Lua discussion list" <>
Sent: Monday, December 20, 2004 3:05 PM
Subject: loadlib for Mac OS X

After all, is there a consensus about the "correct"
way for Lua to load dynamic libraries in Mac OS X?
NSAddImage? NSCreateObjectFileImageFromFile?

-- Roberto