[fpc-pascal] fpc_write_text_shortstr (case sensitive!)

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Nov 28 10:01:16 CET 2008

On 28 Nov 2008, at 02:38, leledumbo wrote:

> Jonas Maebe-2 wrote:
>> It's the "compilerproc" directive that takes care of this. These are
>> special routines reserved for the compiler-rtl interface, and which
>> can be changed at will since they cannot be called from user code
>> without hacking.
> Meaning that the compiler changes the exported symbol name from
> FPC_WRITE_TEXT_SHORTSTR to fpc_write_text_shortstr automatically?

No. "compilerproc" takes the Pascal name of the procedure (the  
identifier as it appears in the source code) and lowercases it.  
Furthermore, it also marks the routine in the ppu as a compilerproc.  
The FPC_WRITE_TEXT_SHORTSTR is a remnant from the past.


More information about the fpc-pascal mailing list