examples: Update comments to mention examples_common

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1575>
This commit is contained in:
Naglis Jonaitis 2024-10-23 14:41:20 +03:00 committed by GStreamer Marge Bot
parent 6e8bb14f7d
commit 0b1be11789
33 changed files with 33 additions and 33 deletions

View file

@ -156,7 +156,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -175,7 +175,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -147,7 +147,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -713,7 +713,7 @@ fn example_main() -> Result<(), Error> {
}
fn main() -> Result<(), Error> {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically).
examples_common::run(example_main)
}

View file

@ -174,7 +174,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -284,7 +284,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically).
examples_common::run(example_main);
}

View file

@ -79,7 +79,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -259,7 +259,7 @@ fn example_main() -> Result<(), Error> {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) {
Ok(r) => r,

View file

@ -94,7 +94,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -276,7 +276,7 @@ fn example_main() -> Result<(), Error> {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) {
Ok(r) => r,

View file

@ -161,7 +161,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -337,7 +337,7 @@ fn example_main() -> Result<(), Error> {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) {
Ok(r) => r,

View file

@ -61,7 +61,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -173,7 +173,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -62,7 +62,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -45,7 +45,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -72,7 +72,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -66,7 +66,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -299,7 +299,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -101,7 +101,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -242,7 +242,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -61,7 +61,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -140,7 +140,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -81,7 +81,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -126,7 +126,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -328,7 +328,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -60,7 +60,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -109,7 +109,7 @@ fn example_main() -> Result<(), Error> {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) {
Ok(r) => r,

View file

@ -245,7 +245,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -156,7 +156,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -208,7 +208,7 @@ fn handle_demux_pad_added(
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
match examples_common::run(example_main) {
Ok(r) => r,

View file

@ -78,7 +78,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}

View file

@ -222,7 +222,7 @@ fn example_main() {
}
fn main() {
// tutorials_common::run is only required to set up the application environment on macOS
// examples_common::run is only required to set up the application environment on macOS
// (but not necessary in normal Cocoa applications where this is set up automatically)
examples_common::run(example_main);
}