Project

General

Profile

Bug #1486 ยป dl_cparser_parse_struct_signature.patch

ermaker (Minwoo Lee), 05/18/2009 10:42 PM

View differences:

ext/dl/lib/dl/cparser.rb (working copy)
module CParser
def parse_struct_signature(signature, tymap=nil)
if( signature.is_a?(String) )
signature = signature.split("\s*,\s*")
signature = signature.split(/\s*,\s*/)
end
mems = []
tys = []
    (1-1/1)