Sha256: a6534d37cd7c5989cc8a2ec4b859740bb656f03f7b85b5f1fc2577493a1d55de

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 Bytes

Contents

module Cups
  module Array
    extend FFI::Library
    
    ffi_lib(Cups.libcups)
    
    # @overload cupsArrayFirst(pointer)
    #   @param pointer [Pointer] to _cups_array_s struct
    #   @return [Pointer] void pointer to first element
    attach_function 'cupsArrayFirst', [:pointer], :pointer, blocking: true

    # @overload cupsArrayNext(pointer)
    #   @param pointer [Pointer] to _cups_array_s struct
    #   @return [Pointer] void pointer to first element
    attach_function 'cupsArrayNext', [:pointer], :pointer, blocking: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffi-cups-0.3.2 lib/ffi-cups/ffi/array.rb
ffi-cups-0.3.1 lib/ffi-cups/ffi/array.rb
ffi-cups-0.3.0 lib/ffi-cups/ffi/array.rb