mirror of
https://github.com/flutter/flutter
synced 2024-10-12 19:23:02 +00:00
33403bd28e
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
7 lines
180 B
C++
7 lines
180 B
C++
#include "my_application.h"
|
|
|
|
int main(int argc, char** argv) {
|
|
g_autoptr(MyApplication) app = my_application_new();
|
|
return g_application_run(G_APPLICATION(app), argc, argv);
|
|
}
|