Old 09-25-2008   #1 (permalink)
Newbie
 
Arch-mage's Avatar
 

Join Date: Aug 2008
Location: NY
Posts: 18
Arch-mage is an unknown quantity at this point
Default C++ in lua?

I now u can dynamic link other facility/libires, I was wondering if anybody knew how to and would tell me how to link C++ libire like <iostream> to lua file?

Last edited by Arch-mage; 09-25-2008 at 02:43 PM..
Arch-mage is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09-25-2008   #2 (permalink)
Wire Guru
 
Fatal_Exception's Avatar
 

Join Date: Oct 2007
Location: New Zealand
Posts: 428
Fatal_Exception is on a distinguished road
Default Re: C++ in lua?

Normally that would be done from the C++ side of things in the host program. Dynamic linking iostream is an "interesting" idea too...
Fatal_Exception is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-26-2008   #3 (permalink)
Newbie
 
Arch-mage's Avatar
 

Join Date: Aug 2008
Location: NY
Posts: 18
Arch-mage is an unknown quantity at this point
Default Re: C++ in lua?

k so what do I do to dynamic link from a lua form a C++ program?
Arch-mage is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2008   #4 (permalink)
COMPLETE BLOODY BASTARD

 
AzraelUK's Avatar
 

Join Date: Aug 2007
Location: Camelot, it is a silly place.
Posts: 583
AzraelUK is on a distinguished road
Send a message via MSN to AzraelUK
Default Re: C++ in lua?

You can't link a C++ library in. You could make a GMod module out of a C++ library which exposes the functionality to Lua, but you can't just take a C++ library and use commands from it in Lua.
__________________
A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.
—Antoine De Saint-Exupery
AzraelUK is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-16-2008   #5 (permalink)
Advanced Member
 
dnifan's Avatar
 

Join Date: Mar 2007
Location: Amersfoort, the Netherlands
Posts: 273
dnifan is on a distinguished road
Default Re: C++ in lua?

Quote:
Originally Posted by Arch-mage View Post
k so what do I do to dynamic link from a lua form a C++ program?
If Lua would be of use for you, you would know how to do that.
__________________


^ 51mbps Fiber ftw [03:32] <ITSBOT> lua serializing function to be
intergrated into xbox live
[03:34] <ITSBOT> no girlfriend for a pineapple under the Channels
dnifan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -7. The time now is 12:04 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.

Page top