Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/src/avm2/globals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ in ActionScript classes in playerglobal. During the build process, we automatica
generate a reference to a Rust function at the corresponding path in Ruffle.

For example, the native method function `flash.system.Security.allowDomain`
expects a Rust function to be defined at `crate::avm2::globals::flash::system::security::allowDomain`.
expects a Rust function to be defined at `crate::avm2::globals::flash::system::security::allow_domain`.

This function is cast to a `NativeMethodImpl` function pointer, exactly like
functions defined on a pure-Rust class definition.
Expand All @@ -65,7 +65,7 @@ See `flash/events/Event.as` for an example

## API Versioning

Ruffle supports Flash's Api versioning, which hides newer playerglobal definitions
Ruffle supports Flash's API versioning, which hides newer playerglobal definitions
(including methods/properties) from SWFs compiled with older API versions.
For example, see `Event.WORKER_STATE`

Expand Down