lib/rust_require/c_wrapper_generator.rb
# Generates wrapper fns for fn_headers (String)
Generates wrapper fns for fn_headers (String)
Generates wrapper fns for fn_headers ( String )
def generate_fns(fn_headers, submod_string)
      fn_headers.map do |fn|
        WrapperFn.new(submod_string + fn['name'], fn['inputs'], fn['output']).to_s
      end.join("\n")
    end
def generate_fns ( fn_headers , submod_string ) fn_headers . map do | fn | WrapperFn . new ( submod_string + fn [ 'name' ] , fn [ 'inputs' ] , fn [ 'output' ] ) . to_s end . join ( "\n" ) end
Generates wrapper fns for fn_headers (String)
Generates wrapper fns for fn_headers ( String )
fn_headers
<not_specific>
submod_string
<not_specific>