Sha256: 9a060ff5e14ab8130dc91aa677473a48abae70097cb5692569273feea3c1e4bc
Contents?: true
Size: 812 Bytes
Versions: 16
Compression:
Stored size: 812 Bytes
Contents
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. ### # wxRuby3 PGProperty typemap definition ### require_relative '../core/mapping' module WXRuby3 module Typemap # Typemaps for converting returned PGEditor references to # either the correct wxRuby class module PGEditor include Typemap::Module define do map 'wxPGEditor*' => 'Wx::PG::PGEditor' do add_header_code <<~__CODE #include <wx/propgrid/editors.h> extern VALUE wxRuby_WrapWxPGEditorInRuby(const wxPGEditor *wx_pp); __CODE map_out code: '$result = wxRuby_WrapWxPGEditorInRuby($1);' map_directorin code: '$input = wxRuby_WrapWxPGEditorInRuby($1);' end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems