When looking over the bin folder manifest I found that fake_dynamic_load.pike isn't documented. What is it for and when is it used?
Seems to be the tool that handles the PMOD_EXPORT magic. My guess is that it's stuff to fix dynamic loading on NT, but I've no idea how it works. (Not very well according to xenofarm, btw, and it's been that way for a while now.)
/ Martin Stjernholm, Roxen IS
Previous text:
2003-11-18 23:43: Subject: fake_dynamic_load.pike
When looking over the bin folder manifest I found that fake_dynamic_load.pike isn't documented. What is it for and when is it used?
/ Martin Nilsson (saturator)
It generates import_functions.h. Interesting, this is probably the reason why the dynamic loading doesn't work anymore:
/* bignum.protos:1 */ #define (*int64_from_bignum) (*(int(*)(long long*,struct object*))(PikeSymbol[0])) /* bignum.protos:2 */ #define (*push_int64) (*(void(*)(long long))(PikeSymbol[1])) /* bignum.protos:3 */ #define (*reduce_stack_top_bignum) (*(void(*)(void))(PikeSymbol[2]))
/ Martin Stjernholm, Roxen IS
Previous text:
2003-11-18 23:59: Subject: fake_dynamic_load.pike
Seems to be the tool that handles the PMOD_EXPORT magic. My guess is that it's stuff to fix dynamic loading on NT, but I've no idea how it works. (Not very well according to xenofarm, btw, and it's been that way for a while now.)
/ Martin Stjernholm, Roxen IS
Cool. I want a C preprocessor where I can define macros like that!
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-11-19 00:06: Subject: fake_dynamic_load.pike
It generates import_functions.h. Interesting, this is probably the reason why the dynamic loading doesn't work anymore:
/* bignum.protos:1 */ #define (*int64_from_bignum) (*(int(*)(long long*,struct object*))(PikeSymbol[0])) /* bignum.protos:2 */ #define (*push_int64) (*(void(*)(long long))(PikeSymbol[1])) /* bignum.protos:3 */ #define (*reduce_stack_top_bignum) (*(void(*)(void))(PikeSymbol[2]))
/ Martin Stjernholm, Roxen IS
Nope, fixing that didn't help. :(
/ Martin Stjernholm, Roxen IS
Previous text:
2003-11-19 00:06: Subject: fake_dynamic_load.pike
It generates import_functions.h. Interesting, this is probably the reason why the dynamic loading doesn't work anymore:
/* bignum.protos:1 */ #define (*int64_from_bignum) (*(int(*)(long long*,struct object*))(PikeSymbol[0])) /* bignum.protos:2 */ #define (*push_int64) (*(void(*)(long long))(PikeSymbol[1])) /* bignum.protos:3 */ #define (*reduce_stack_top_bignum) (*(void(*)(void))(PikeSymbol[2]))
/ Martin Stjernholm, Roxen IS
pike-devel@lists.lysator.liu.se