git-svn-id: svn://svn.cc65.org/cc65/trunk@2109 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-05-01 18:58:35 +00:00
parent aaf1db13dd
commit 2a5fbd00ef
13 changed files with 401 additions and 44 deletions

View File

@@ -67,6 +67,9 @@ struct SimData {
void (*Internal) (const char* Format, ...);
/* Print an internal program error and terminate */
void (*Break) (const char* Format, ...);
/* Stop the CPU and display the given message */
int (*GetCfgId) (void* CfgInfo, const char* Name, char** Id);
/* Search CfgInfo for an attribute with the given name and type "id". If
* found, remove it from the configuration, pass a pointer to a dynamically
@@ -76,11 +79,11 @@ struct SimData {
*/
int (*GetCfgStr) (void* CfgInfo, const char* Name, char** S);
/* Search CfgInfo for an attribute with the given name and type "id". If
* found, remove it from the configuration, pass a pointer to a dynamically
* allocated string containing the value to Id, and return true. If not
* found, return false. The memory passed in S must be free by a call to
* Free();
/* Search CfgInfo for an attribute with the given name and type "string".
* If found, remove it from the configuration, pass a pointer to a
* dynamically allocated string containing the value to S, and return
* true. If not found, return false. The memory passed in S must be free
* by a call to Free();
*/
int (*GetCfgNum) (void* CfgInfo, const char* Name, long* Val);