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:
parent
4bea89f6e7
commit
b489378b9c
@ -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);
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -82,9 +82,7 @@ typedef struct sp_plugin_infotab_s
|
||||
uint32_t natives_num; /**< number of natives */
|
||||
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_file_pubvars_t *pubvars; /**< pubvars table */
|
||||
} sp_plugin_infotab_t;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user