diff --git a/rea-rs/src/lib.rs b/rea-rs/src/lib.rs index 366dbe5..d889f6b 100644 --- a/rea-rs/src/lib.rs +++ b/rea-rs/src/lib.rs @@ -38,7 +38,7 @@ //! //! #[reaper_extension_plugin] //! fn plugin_main(context: PluginContext) -> Result<(), Box> { -//! Reaper::load(context); +//! Reaper::init_global(context); //! let reaper = Reaper::get_mut(); //! let message = "Hello from small extension"; //! reaper.show_console_msg(message); @@ -75,7 +75,7 @@ //! //! #[reaper_extension_plugin] //! fn plugin_main(context: PluginContext) -> Result<(), Box> { -//! Reaper::load(context); +//! Reaper::init_global(context); //! let reaper = Reaper::get_mut(); //! //! let action = reaper.register_action(