    # File lib/ffi/library.rb, line 259
        def find_type(name)
          code = if defined?(@ffi_typedefs) && @ffi_typedefs.has_key?(name)
            @ffi_typedefs[name]
          elsif defined?(@ffi_callbacks) && @ffi_callbacks.has_key?(name)
            @ffi_callbacks[name]
          elsif name.is_a?(Class) && name < FFI::Struct
            FFI::NativeType::POINTER
          elsif name.kind_of?(FFI::Type)
            name
          end
          if code.nil? || code.kind_of?(Symbol)
            FFI.find_type(name)
          else
            code
          end
        end