Class GLib::MkEnums
In: lib/glib-mkenums.rb
Parent: Object

Methods

create   create_c   create_h   new  

Public Class methods

Create target_filename.c and target_filename.h from files with g_type_prefix and include_files.

  • target_filename: the target file name. This creates #{target_filename.c} and #{target_filename.h}.
  • files: header files to parse
  • g_type_prefix: the gtype prefix such as GTK_TYPE_
  • include_files: define include <file> lines into target_filename.c

Initialize GLib::MkEnums

  • target_filename: the target file name. This creates #{target_filename.c} and #{target_filename.h}.
  • files: header files to parse
  • g_type_prefix: the gtype prefix such as GTK_TYPE_
  • include_files: define include <file> lines into target_filename.c

Public Instance methods

Create a C source as a String.

Create a C header as a String.

[Validate]