"Fossies" - the Fresh Open Source Software Archive

Member "meson-0.52.1/test cases/vala/17 plain consumer/app.c" (17 May 2017, 237 Bytes) of package /linux/privat/meson-0.52.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #include "badger.h"
    2 
    3 int main(int argc, char *argv[]) {
    4     Badger *badger;
    5 
    6     badger = g_object_new(TYPE_BADGER, NULL);
    7     g_print("Badger whose name is '%s'\n", badger_get_name(badger));
    8     g_object_unref(badger);
    9 
   10     return 0;
   11 }