Gjsify LogoGjsify Logo

The #GTypeValueTable provides the functions required by the #GValue implementation, to serve as a container for values of a type.

record

Hierarchy

  • TypeValueTable

Index

Constructors

Properties

collect_format: string

A string format describing how to collect the contents of this value bit-by-bit. Each character in the format represents an argument to be collected, and the characters themselves indicate the type of the argument. Currently supported arguments are:

  • 'i' - Integers. passed as collect_values[].v_int.
  • 'l' - Longs. passed as collect_values[].v_long.
  • 'd' - Doubles. passed as collect_values[].v_double.
  • 'p' - Pointers. passed as collect_values[].v_pointer. It should be noted that for variable argument list construction, ANSI C promotes every type smaller than an integer to an int, and floats to doubles. So for collection of short int or char, 'i' needs to be used, and for collection of floats 'd'.
field
lcopy_format: string

Format description of the arguments to collect for lcopy_value, analogous to collect_format. Usually, lcopy_format string consists only of 'p's to provide lcopy_value() with pointers to storage locations.

field
name: string

Methods

  • collect_value(value: any, n_collect_values: number, collect_values: TypeCValue, collect_flags: number): string
  • lcopy_value(value: any, n_collect_values: number, collect_values: TypeCValue, collect_flags: number): string
  • value_copy(src_value: any, dest_value: any): void
  • value_free(value: any): void
  • value_init(value: any): void
  • value_peek_pointer(value: any): object

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method