"Fossies" - the Fresh Open Source Software Archive

Member "pango-1.44.7/pango/pango-enum-types.c.template" (25 Oct 2019, 892 Bytes) of package /linux/misc/pango-1.44.7.tar.xz:


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 /*** BEGIN file-header ***/
    2 #include "config.h"
    3 
    4 #include <pango.h>
    5 
    6 /*** END file-header ***/
    7 
    8 /*** BEGIN file-production ***/
    9 /* enumerations from "@filename@" */
   10 /*** END file-production ***/
   11 
   12 /*** BEGIN value-header ***/
   13 GType
   14 @enum_name@_get_type (void)
   15 {
   16   static volatile gsize g_define_type_id__volatile = 0;
   17 
   18   if (g_once_init_enter (&g_define_type_id__volatile))
   19     {
   20       static const G@Type@Value values[] = {
   21 /*** END value-header ***/
   22 
   23 /*** BEGIN value-production ***/
   24         { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
   25 /*** END value-production ***/
   26 
   27 /*** BEGIN value-tail ***/
   28         { 0, NULL, NULL }
   29       };
   30       GType g_define_type_id =
   31         g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
   32       g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
   33     }
   34 
   35   return g_define_type_id__volatile;
   36 }
   37 
   38 /*** END value-tail ***/