Sha256: 52c572ea94ceac40f9ea7a1a8d8a9fc3ffa79839b626a34705a10f9e0d59b162

Contents?: true

Size: 960 Bytes

Versions: 14

Compression:

Stored size: 960 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.

###
# wxRuby3 wxWidgets interface director
###

module WXRuby3

  class Director

    class DataFormat < Director

      def setup
        super
        spec.gc_as_object
        spec.ignore 'wxDataFormat::operator ==(wxDataFormatId)'
        if Config.platform == :mingw
          # The formal signature for these is NativeFormat; this is required on
          # MSVC as otherwise an impermissible implicit cast is tried, and so
          # doesn't compile
          spec.ignore 'wxDataFormat::GetType', ignore_doc: false
          spec.extend_interface 'wxDataFormat',
                                'typedef unsigned short NativeFormat',
                                'wxDataFormat::NativeFormat GetType() const'
        end
        spec.do_not_generate :variables
      end
    end # class DataFormat

  end # class Director

end # module WXRuby3

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
wxruby3-1.3.1 rakelib/lib/director/data_format.rb
wxruby3-1.3.0 rakelib/lib/director/data_format.rb
wxruby3-1.2.1 rakelib/lib/director/data_format.rb
wxruby3-1.2.0 rakelib/lib/director/data_format.rb
wxruby3-1.1.2 rakelib/lib/director/data_format.rb
wxruby3-1.1.1 rakelib/lib/director/data_format.rb
wxruby3-1.1.0 rakelib/lib/director/data_format.rb
wxruby3-1.0.1 rakelib/lib/director/data_format.rb
wxruby3-0.9.8 rakelib/lib/director/data_format.rb
wxruby3-0.9.7 rakelib/lib/director/data_format.rb
wxruby3-0.9.5 rakelib/lib/director/data_format.rb
wxruby3-0.9.4 rakelib/lib/director/data_format.rb
wxruby3-0.9.3 rakelib/lib/director/data_format.rb
wxruby3-0.9.2 rakelib/lib/director/data_format.rb