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