Add initializer
git-svn-id: svn://svn.cc65.org/cc65/trunk@406 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
|
||||
/* common */
|
||||
#include "exprdefs.h"
|
||||
|
||||
|
||||
/* ca65 */
|
||||
#include "symentry.h"
|
||||
|
||||
@@ -86,6 +86,14 @@ void SymGlobal (const char* Name, int ZP);
|
||||
* either imported or exported.
|
||||
*/
|
||||
|
||||
void SymInitializer (const char* Name, int ZP);
|
||||
/* Mark the given symbol as an initializer. This will also mark the symbol as
|
||||
* an export. Initializers may never be zero page symbols, the ZP parameter
|
||||
* is supplied to make the prototype the same as the other functions (this
|
||||
* is used in pseudo.c). Passing something else but zero as ZP argument will
|
||||
* trigger an internal error.
|
||||
*/
|
||||
|
||||
int SymIsConst (SymEntry* Sym);
|
||||
/* Return true if the given symbol has a constant value */
|
||||
|
||||
@@ -145,4 +153,4 @@ void WriteDbgSyms (void);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user