Sha256: 4afcc8d95c6003a7cff0cb9c47ca2f52fe88d69e9208d02795350abfc77504a4

Contents?: true

Size: 615 Bytes

Versions: 56

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true

module SassC
  module Native
    module LibC
      extend FFI::Library
      ffi_lib FFI::Library::LIBC

      # memory allocators
      attach_function :malloc, [:size_t], :pointer
      # attach_function :calloc, [:size_t], :pointer
      # attach_function :valloc, [:size_t], :pointer
      # attach_function :realloc, [:pointer, :size_t], :pointer
      # attach_function :free, [:pointer], :void

      # memory movers
      # attach_function :memcpy, [:pointer, :pointer, :size_t], :pointer
      # attach_function :bcopy, [:pointer, :pointer, :size_t], :void
    end
  end
end

Version data entries

56 entries across 41 versions & 3 rubygems

Version Path
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.0/lib/sassc/native/lib_c.rb
sassc-2.3.0-x64-mingw32 lib/sassc/native/lib_c.rb
sassc-2.3.0 lib/sassc/native/lib_c.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/native/lib_c.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/native/lib_c.rb
sassc-2.2.1-x86-mingw32 lib/sassc/native/lib_c.rb