README, LICENSE added

This commit is contained in:
2023-07-14 12:32:12 +01:00
parent 07836b7c26
commit 9c02586cef
4 changed files with 584 additions and 8 deletions

View File

@@ -15,13 +15,9 @@ module Voicemeeter
)
ffi_convention :stdcall
class << self
private
def self.attach_function(c_name, args, returns)
ruby_name = "bind_#{c_name.to_s.delete_prefix("VBVMR_").snakecase}".to_sym
super(ruby_name, c_name, args, returns)
end
def self.attach_function(c_name, args, returns)
ruby_name = "bind_#{c_name.to_s.delete_prefix("VBVMR_").snakecase}".to_sym
super(ruby_name, c_name, args, returns)
end
attach_function :VBVMR_Login, [], :long