Results 1 to 7 of 7

Thread: JetLua - Delphi Lua SDK

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    @JernejL

    I added this new routine that allows Lua function registration in freepascal:

    Code:
    procedure IJetLua.RegisterRoutine(aName: PChar; aData: Pointer; aCode: Pointer);
    So far so good. I will have to do more testing. The IJetLua.RegisterRoutines methods (the ones that take TClass and TObject params) take advantage of Delphi's extended RTTI to scan and find the JetLua function signatures for auto registration. With the added routine above, it now should be possible to implement auto registration in freepascal. Scan for the routines and call the above routine to register them. Does freepascal have extended RTTI like Delphi?
    Last edited by drezgames; 16-08-2020 at 02:05 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •