node/lib/metasm/metasm/disassemble.rb
# parses a C string for function prototypes
parses a C string for function prototypes
parses a C string for function prototypes
def parse_c(str, filename=nil, lineno=1)
		@c_parser_constcache = nil
		@c_parser ||= @cpu.new_cparser
		@c_parser.lexer.define_weak('__METASM__DECODE__')
		@c_parser.parse(str, filename, lineno)
	rescue ParseError
		@c_parser.lexer.feed! ''
		raise
	end
def parse_c ( str , filename = nil , lineno = 1 ) @c_parser_constcache = nil @c_parser ||= @cpu . new_cparser @c_parser . lexer . define_weak ( '__METASM__DECODE__' ) @c_parser . parse ( str , filename , lineno ) rescue ParseError @c_parser . lexer . feed! '' raise end
parses a C string for function prototypes
parses a C string for function prototypes
str
filename
lineno