Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 07-20-2010, 07:30 AM
Harakiri23
Fire Beetle
 
Join Date: Jun 2009
Location: b
Posts: 11
Default

^ this is actually the wrong way and very error prone - it took me a while to figure out how this should work, since nobody documented it =)

see the folder

http://code.google.com/p/projecteqem...r/utils/perlxs

see the dummy header for client.h for example - put all method signatures in there you want to export

after that run

./convert client.h Client

it will create perl_client.cpp

directly modyfing perl_client.cpp is a bad idea, because everything somebody manually put in there will be overwritten - hence the big fat warning in this file

" This file was generated automatically by xsubpp version 1.9508 from the 2 * This file was generated automatically by xsubpp version 1.9508 from the
3 * contents of tmp. Do not edit this file, edit tmp instead."

Do not edit....

The plus site of this is, that you can easily remove/add functions you want to export to the dummy header file - you dont need to export every function.

setting up the environment for perl is another thing, you need xsubpp, its easier on unix than on cygwin/windows
Reply With Quote
 

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

Forum Jump

   

All times are GMT -4. The time now is 04:43 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3