Sha256: 8d5172ea0c0949768c4f917d675e2e602852ef82544268da82f2abdc2ec4afb1

Contents?: true

Size: 829 Bytes

Versions: 19

Compression:

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

      include Typemap::Module

      define do

        map 'wxPGProperty*' => 'Wx::PG::PGProperty' do
          add_header_code <<~__CODE
            #include <wx/propgrid/property.h>
            extern VALUE wxRuby_WrapWxPGPropertyInRuby(const wxPGProperty *wx_pp);
            __CODE
          map_out code: '$result = wxRuby_WrapWxPGPropertyInRuby($1);'
          map_directorin code: '$input = wxRuby_WrapWxPGPropertyInRuby($1);'
        end

      end

    end

  end

end

Version data entries

19 entries across 19 versions & 1 rubygems

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