PSPunch wrote:
Hi IOhannes,
I think lua_setup() needs to be 'exported' in order to be read externally with Windows DLLs.
correct
Also, from your description I thought that PD_INTERNAL was reserved for internal functions or classes, etc. However, when grepping the source of vanilla Pd, I did not find the macro being used anywhere else other than this part of m_pd.h. What is this reserved for?
well it's enough to have it defined in the header-file as this is _declares_ the functions to be exported (the _definitions_ need not care about that anymore)
mfgadr. IOhannes