gsl-check.lua - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/gsl-check.lua
blob: 69d54cf9a82bb3a6ae4975ff11395ccb65d1cd71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

local ffi = require 'ffi'
local gsl = require 'gsl'
local function gsl_check(status)
 if status ~= 0 then
 local msg = ffi.string(gsl.gsl_strerror(status))
 error(msg, 2)
 end
end
return gsl_check
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月10日 17:40:10 +0000

AltStyle によって変換されたページ (->オリジナル) /