tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Help with tcc_add_symbol // pe_find_import in 0.9.27


From: Michael Richter
Subject: Re: [Tinycc-devel] Help with tcc_add_symbol // pe_find_import in 0.9.27
Date: Fri, 24 Jun 2022 07:25:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

OMG, thank you grishka for once again pointing in the right direction!

Sorry for bothering, as you see I'm not very experienced in C...

We can close this issue here, patch works and I learned something new :-)


Michael


Am 23.06.22 um 18:01 schrieb grischka:
      tcc_define_symbol(s, "tclStubsPtr", "(*_imp__tclStubsPtr)");

which would redirect any usage of tclStubsPtr in client code as well
as provide a legal declaration for it from (non-patched) tclDefs.h:

     extern TclStubs *tclStubsPtr;

(-> extern TclStubs *(*_imp__tclStubsPtr); )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]