method

parse_struct_signature

Importance_1
v2_2_9 - Show latest stable - 0 notes - Class: CParser
parse_struct_signature(signature, tymap=nil) public

Parses a C struct’s members

Example:

include Fiddle::CParser
  #=> Object

parse_struct_signature(['int i', 'char c'])
  #=> [[Fiddle::TYPE_INT, Fiddle::TYPE_CHAR], ["i", "c"]]
Show source
Register or log in to add new notes.