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

Version Path
wxruby3-1.3.1 rakelib/lib/typemap/pgeditor.rb
wxruby3-1.3.0 rakelib/lib/typemap/pgeditor.rb
wxruby3-1.2.1 rakelib/lib/typemap/pgeditor.rb
wxruby3-1.2.0 rakelib/lib/typemap/pgeditor.rb
wxruby3-1.1.2 rakelib/lib/typemap/pgeditor.rb
wxruby3-1.1.1 rakelib/lib/typemap/pgeditor.rb
wxruby3-1.1.0 rakelib/lib/typemap/pgeditor.rb
wxruby3-1.0.1 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.8 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.7 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.5 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.4 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.3 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.2 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.1 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0 rakelib/lib/typemap/pgeditor.rb