Burninate IDataPack (#864)
This doesn't break any extensions NOT using IDataPack, and we do not know of any that are. * The extension storage utility of this interface has been broken for the last 9 months, with ISourceMod::CreateDataPack being disabled. * The plugin interop utility of this interface (its stated purpose) has been broken for the last 11+ years, with ISourceMod::GetDataPackHandleType being disabled. I imagine it only survived the first cleanup 11 years ago because CSS:DM was using it internally, which it has now been migrated away from. Compiled all the included extensions without changes (API compat), and loaded extensions build pre-change without issue (ABI compat).
This commit is contained in:
+3
-3
@@ -617,14 +617,14 @@ unsigned int SourceModBase::GetGlobalTarget() const
|
||||
return m_target;
|
||||
}
|
||||
|
||||
IDataPack *SourceModBase::CreateDataPack()
|
||||
void *SourceModBase::CreateDataPack()
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void SourceModBase::FreeDataPack(IDataPack *pack)
|
||||
void SourceModBase::FreeDataPack(void *pack)
|
||||
{
|
||||
logicore.FreeDataPack(pack);
|
||||
return;
|
||||
}
|
||||
|
||||
Handle_t SourceModBase::GetDataPackHandleType(bool readonly)
|
||||
|
||||
Reference in New Issue
Block a user