From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:6214:10c4:: with SMTP id r4mr11300206qvs.62.1603683517471; Sun, 25 Oct 2020 20:38:37 -0700 (PDT) X-Received: by 2002:a05:620a:4:: with SMTP id j4mr15873019qki.164.1603683517246; Sun, 25 Oct 2020 20:38:37 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 25 Oct 2020 20:38:36 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=99.10.228.144; posting-account=AgomvAoAAAAj6rtZlNDUf1S1XVXbXDpg NNTP-Posting-Host: 99.10.228.144 References: <9d822023-b604-46b1-9443-4471e095704bn@googlegroups.com> <6f14427c-15a6-4874-a3f5-7bc308b2d3bfn@googlegroups.com> <1f745514-0d25-439f-8872-59030515406en@googlegroups.com> <8287aaea-1945-455d-bfb0-c82f5d27bc4cn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GDNative thick binding design From: Michael Hardeman Injection-Date: Mon, 26 Oct 2020 03:38:37 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:60487 List-Id: On Wednesday, October 21, 2020 at 7:23:39 PM UTC-4, Luke A. Guest wrote: > On 21/10/2020 23:08, Michael Hardeman wrote: > > > Hey Luke, > > > > I managed to figure it out: https://ideone.com/H9sV55 > > > I'm fairly sure that's almost right. I think the idea is that you only > need to pass the parameters to a single function which then dispatches > to the correct constructor for you. Hey Luke, https://github.com/MichaelAllenHardeman/gdnative_ada I've done an initial pass on the thick binding. Do you think you could give me some pointers on where I could do better? I have a feeling there is a way to do GDNative.Thick.Objects better Still, as is it's pretty nice to use. It only takes just a tiny bit of user code to get an object registered and running a function on each frame. https://github.com/MichaelAllenHardeman/gdnative_ada/tree/master/examples/adventure_game/src