Sha256: 78c480c2101784169ac3c790b40e4cb0fa0db32219795ea157c2de7ea6cc92d7

Contents?: true

Size: 738 Bytes

Versions: 9

Compression:

Stored size: 738 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 PGCell references to
    # either the correct wxRuby class
    module PGCell

      include Typemap::Module

      define do

        map 'wxPGCell&' => 'Wx::PG::PGCell' do
          add_header_code <<~__CODE
            #include <wx/propgrid/property.h>
            extern VALUE wxRuby_WrapWxPGCellInRuby(const wxPGCell *wx_pc);
            __CODE
          map_out code: '$result = wxRuby_WrapWxPGCellInRuby($1);'
          map_directorin code: '$input = wxRuby_WrapWxPGCellInRuby($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/pgcell.rb
wxruby3-0.9.0.pre.rc.2 rakelib/lib/typemap/pgcell.rb
wxruby3-0.9.0.pre.rc.1 rakelib/lib/typemap/pgcell.rb
wxruby3-0.9.0.pre.beta.14 rakelib/lib/typemap/pgcell.rb
wxruby3-0.9.0.pre.beta.13 rakelib/lib/typemap/pgcell.rb
wxruby3-0.9.0.pre.beta.11 rakelib/lib/typemap/pgcell.rb
wxruby3-0.9.0.pre.beta.10 rakelib/lib/typemap/pgcell.rb
wxruby3-0.9.0.pre.beta.9 rakelib/lib/typemap/pgcell.rb
wxruby3-0.9.0.pre.beta.8 rakelib/lib/typemap/pgcell.rb