Pascal: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m Fixed typos |
m Fixed typo and monospaced tool name |
||
Line 25: | Line 25: | ||
</pre> |
</pre> |
||
You may end up with "THREADVARLIST_P$KERNEL_MAIN" rather than just "kernel_main" as a function name. If you're using FreePascal |
You may end up with "THREADVARLIST_P$KERNEL_MAIN" rather than just "kernel_main" as a function name. If you're using FreePascal, the tool <tt>objdump</tt> can show you the symbol table of the .o file generated by the compiler, which will give you the "real" name of the function. |
||
Alternatively, you could use compiler extra statements to enforce a "public name" to your function: |
Alternatively, you could use compiler extra statements to enforce a "public name" to your function: |