nearly finished my exams!!! :D

library table is no longer needed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40387
This commit is contained in:
Borja Ferrer 2007-01-26 19:35:33 +00:00
parent 4bea89f6e7
commit b489378b9c
3 changed files with 1 additions and 16 deletions

View File

@ -182,11 +182,6 @@ sp_plugin_t *_ReadPlugin(sp_file_hdr_t *hdr, uint8_t *base, sp_plugin_t *plugin,
plugin->info.natives_num = secptr->size / sizeof(sp_file_natives_t);
plugin->info.natives = (sp_file_natives_t *)(base + secptr->dataoffs);
}
else if (!(plugin->info.lib) && !strcmp(nameptr, ".libraries"))
{
plugin->info.libraries_num = secptr->size / sizeof(sp_file_libraries_t);
plugin->info.lib = (sp_file_libraries_t *)(base + secptr->dataoffs);
}
else if (!(plugin->info.stringbase) && !strcmp(nameptr, ".names"))
{
plugin->info.stringbase = (const char *)(base + secptr->dataoffs);

View File

@ -125,14 +125,6 @@ typedef struct sp_file_natives_s
uint32_t name; /**< Index into nametable */
} sp_file_natives_t;
/**
* @brief File-encoded format of the ".libraries" section (UNUSED).
*/
typedef struct sp_file_libraries_s
{
uint32_t name; /**< Index into nametable */
} sp_file_libraries_t;
/**
* @brief File-encoded format of the ".pubvars" section.
*/

View File

@ -83,8 +83,6 @@ typedef struct sp_plugin_infotab_s
sp_file_natives_t *natives; /**< native table */
uint32_t pubvars_num; /**< number of pubvars */
sp_file_pubvars_t *pubvars; /**< pubvars table */
uint32_t libraries_num; /**< number of libraries */
sp_file_libraries_t *lib; /**< library table */
} sp_plugin_infotab_t;
/**