forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Loading a library

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Magriep



Joined: 28 Aug 2005
Posts: 8

PostPosted: Wed Mar 01, 2006 1:43 pm    Post subject: Loading a library Reply with quote

Hi,

I would like to use the struct library (http://www.inf.puc-rio.br/~roberto/struct/) for lua, but I'm not quite sure how to go about implementing this. From a brief search of the lua forum, it seems like there isn't really a way to do something like this, so would I need to build it into lua itself (last resort)? Or is there some other way I can get the same functions. Any help would be greatly appreciated.
Back to top
View user's profile Send private message
Oobles
Site Admin


Joined: 17 Jan 2004
Posts: 362
Location: Melbourne, Australia

PostPosted: Wed Mar 01, 2006 2:12 pm    Post subject: Reply with quote

The loadlib function is not currently available for LUA. The only way you could support your library would be to build it directly into LUA. The other option is to setup LUA to allow loading modules and compile it as a module.

There is now enough information on creating and loading PRX files that adding loadable modules into LUA should not be too difficult. It just seems no-one has had the time to do it. It is still on my to do list, however, I don't know when I'll get to it.

David. aka Oobles.
www.livemedia.com.au/Blog
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Magriep



Joined: 28 Aug 2005
Posts: 8

PostPosted: Mon Mar 06, 2006 4:50 am    Post subject: Reply with quote

Ok, I am going to try and build it in LUA. I'm not sure exactly where it should be added (not familiar with the structure), so any help that would point me in the right direction would be greatly appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group