Sha256: f0914e02dcd3b181f5def2d3f8f1eca01fa5e0c9ad39c9940c46769d5f1534da
Contents?: true
Size: 495 Bytes
Versions: 1
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true require 'ffi' require 'librollenspielsache/dice/roll' require 'librollenspielsache/dice/roll_result' require 'librollenspielsache/version' module Rollenspielsache class Error < StandardError; end # Rust exported fns module Binding include Rollenspielsache::Dice extend FFI::Library ffi_lib 'librollenspielsache' # Free a string that was passed from the Rust library attach_function :free_str, :roll_from_str, [:string], :void end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
librollenspielsache-rb-0.1.1 | lib/librollenspielsache.rb |