Working on the plugins

git-svn-id: svn://svn.cc65.org/cc65/trunk@1223 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2002-04-07 20:39:35 +00:00
parent 58b5779f35
commit 77308fe20f
6 changed files with 196 additions and 68 deletions

View File

@@ -57,6 +57,15 @@
/* Sorted list of all chip data structures */
static Collection Chips = STATIC_COLLECTION_INITIALIZER;
/* SimData instance */
static const SimData Sim65Data = {
1, /* MajorVersion */
1, /* MinorVersion */
xmalloc, /* void* (*Malloc) (size_t Size); */
Warning, /* void (*Warning) (const char* Format, ...); */
Error /* void (*Error) (const char* Format, ...); */
};
/*****************************************************************************/
@@ -101,14 +110,14 @@ static Chip* NewChip (ChipLibrary* Library, const ChipData* Data)
}
#if 0
static void FreeChip (Chip* C)
/* ## Free the given chip structure */
{
/* Free the structure itself */
xfree (C);
}
}
#endif