Method: MrubyBridgeSignaturePluginModule#gen_preamble_ptr

Defined in:
lib/tecsgen/plugin/lib/MrubyBridgeSignaturePluginModule.rb

#gen_preamble_ptr(file, b_singleton, ct_name, global_ct_name) ⇒ Object



56
57
58
59
60
61
62
63
# File 'lib/tecsgen/plugin/lib/MrubyBridgeSignaturePluginModule.rb', line 56

def gen_preamble_ptr( file, b_singleton, ct_name, global_ct_name )
  tment = @@ptr_list[ ct_name ]
  file.print <<EOT

GET_SET_#{tment[3]}( #{tment[1]}, #{tment[0]} )
POINTER_CLASS( #{tment[1]}, #{tment[0]} )
EOT
end