Python userlibs?

Blitz3D Forums/Blitz3D Programming/Python userlibs?

BulletMagnet(Posted 2004) [#1]
Anyone have a userlib that works with Python? If not, can you point me to help/resources on creating a userlib and calling it from blitz.

Thanks,
-BulletMagnet


N(Posted 2004) [#2]
Well now that'd be a fun and literal pain in the arse.

Community -> Specs and Utils -> DLL (userlib) Specs there.

Just so you know, it'd be pretty pointless to attempt to use Python through Blitz (and calling Blitz functions through Python), since the lack of callbacks/function pointers/classes/etc. is probably gonna give you a swift kick in the jewels.

I've attempted wrapping AngelScript, Lua, and Ruby, and it's pointless to bother anymore 'cause by now I get it that I cannot in any way call a function from Lua/AngelScript/Ruby/etc. without hacking Blitz to pieces.

Judging by your question alone, I'd say you're not going to get anywhere with this.

Just my opinion on the subject.