avm1: Removed export of SystemPrototypes and SharedObject

This commit is contained in:
= 2022-08-19 16:31:21 +02:00 committed by Mike Welsh
parent 6ed1dd5942
commit ce0752c225
2 changed files with 2 additions and 4 deletions

View File

@ -30,10 +30,8 @@ pub use function::ExecutionReason;
pub use globals::context_menu::make_context_menu_state;
pub use globals::shared_object::flush;
pub use globals::system::SystemProperties;
pub use globals::SystemPrototypes;
pub use object::array_object::ArrayObject;
pub use object::script_object::ScriptObject;
pub use object::shared_object::SharedObject;
pub use object::sound_object::SoundObject;
pub use object::stage_object::StageObject;
pub use object::xml_node_object::XmlNodeObject;

View File

@ -30,7 +30,7 @@ pub struct Avm1<'gc> {
globals: Object<'gc>,
/// System built-ins that we use internally to construct new objects.
prototypes: avm1::SystemPrototypes<'gc>,
prototypes: avm1::globals::SystemPrototypes<'gc>,
/// Cached functions for the AsBroadcaster
broadcaster_functions: BroadcasterFunctions<'gc>,
@ -347,7 +347,7 @@ impl<'gc> Avm1<'gc> {
}
/// Obtain system built-in prototypes for this instance.
pub fn prototypes(&self) -> &avm1::SystemPrototypes<'gc> {
pub fn prototypes(&self) -> &avm1::globals::SystemPrototypes<'gc> {
&self.prototypes
}