diff --git a/core/vm/sp_vm_engine.cpp b/core/vm/sp_vm_engine.cpp index c2c81bfe..d59b70b3 100644 --- a/core/vm/sp_vm_engine.cpp +++ b/core/vm/sp_vm_engine.cpp @@ -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); diff --git a/public/sourcepawn/sp_file_headers.h b/public/sourcepawn/sp_file_headers.h index 526d764c..eb0bab53 100644 --- a/public/sourcepawn/sp_file_headers.h +++ b/public/sourcepawn/sp_file_headers.h @@ -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. */ diff --git a/public/sourcepawn/sp_vm_types.h b/public/sourcepawn/sp_vm_types.h index b8f94324..3440aa8a 100644 --- a/public/sourcepawn/sp_vm_types.h +++ b/public/sourcepawn/sp_vm_types.h @@ -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; /**