Sha256: fd6ec1222ee1e5331da147fe66e524743e1d303506b10d1ede8d587b5965087f

Contents?: true

Size: 1.29 KB

Versions: 9

Compression:

Stored size: 1.29 KB

Contents

###
# wxRuby3 wxWidgets interface director
# Copyright (c) M.J.N. Corino, The Netherlands
###

module WXRuby3

  class Director

    class Utils < Director

      def setup
        spec.items.replace %w[utils.h]
        spec.ignore %w[
          wxGetenv
          wxGetEnv
          wxSetEnv
          wxUnsetEnv
          wxGetEnvMap
          wxSecureZeroMemory
          wxGetBatteryState
          wxGetPowerType
          wxGetDisplayName
          wxSetDisplayName
          wxGetDiskSpace
          wxLoadUserResource
          wxQsort
          wxGetOsVersion
          wxGetLinuxDistributionInfo
          wxExecute
          wxGetProcessId
          wxKill
          wxShell
          wxMicroSleep
          wxMilliSleep
          wxSleep
          wxUsleep
          wxNow
          wxDecToHex
          wxHexToDec
          wxStripMenuCodes
          ]
        spec.ignore 'wxPostDelete'  unless Config.instance.wx_version >= '3.3.0'
        spec.ignore 'wxGetEmailAddress(char *,int)',
                    'wxGetUserId(char *,int)',
                    'wxGetUserName(char *,int)'
        # we want only the functions that are not ignored
        spec.do_not_generate(:classes, :typedefs, :variables, :enums, :defines)
        super
      end
    end # class Utils

  end # class Director

end # module WXRuby3

Version data entries

9 entries across 9 versions & 1 rubygems

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