Sha256: a6cd4d0903a39351efe569c4a2bc85ec21966d699317220394e16fe3ec91328e

Contents?: true

Size: 753 Bytes

Versions: 9

Compression:

Stored size: 753 Bytes

Contents

###
# wxRuby3 PGProperty typemap definition
# Copyright (c) M.J.N. Corino, The Netherlands
###

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

9 entries across 9 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0.pre.rc.2 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0.pre.rc.1 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0.pre.beta.14 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0.pre.beta.13 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0.pre.beta.11 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0.pre.beta.10 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0.pre.beta.9 rakelib/lib/typemap/pgeditor.rb
wxruby3-0.9.0.pre.beta.8 rakelib/lib/typemap/pgeditor.rb