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"]]
Create a new ArrayPatternNode node.
Create a new BlockParameterNode node.
Create a new BlockParametersNode node.
Create a new ConstantPathNode node.
Create a new ConstantTargetNode node.
Create a new ConstantWriteNode node.
Create a new ForwardingArgumentsNode node.
Create a new NumberedParametersNode node.
Create a new PinnedExpressionNode node.
Create a new RequiredParameterNode node.
Create a new RestParameterNode node.
Create a new ShareableConstantNode node.
Fetch the start code units offset of the value, for the encoding that was configured on the repository.
Fetch the start code units column of the value, for the encoding that was configured on the repository.
A block’s parameters.