Discard changes that have not been committed and revert the last commit
Cannot revert the first commit
Parses a C struct’s members
Example:
require 'fiddle/import' include Fiddle::CParser #=> Object parse_struct_signature(['int i', 'char c']) #=> [[Fiddle::TYPE_INT, Fiddle::TYPE_CHAR], ["i", "c"]] parse_struct_signature(['char buffer[80]']) #=> [[[Fiddle::TYPE_CHAR, 80]], ["buffer"]]
Compile a ClassVariableOperatorWriteNode
node
Compile a GlobalVariableOperatorWriteNode
node
Compile a InstanceVariableOperatorWriteNode
node
Compile a LocalVariableOperatorWriteNode
node
@@foo &&= bar
becomes
@@foo && @@foo = bar
@@foo ||= bar
becomes
defined?(@@foo) ? @@foo : @@foo = bar
@@foo += bar
becomes
@@foo = @@foo + bar