Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
WinMD::Fun
Inherits
Reference
<
Object
Constants
LIBC_FUN_REGEX = /^\s*fun\s+([
A
-
Za
-z_][
A
-
Za
-z0-9_]*)(?:\s*=\s*([
A
-
Za
-z_][
A
-
Za
-z0-9_]*))?/
Constructors
new
(name :
String
, params :
Array
(
FunParam
), original_def :
String
, return_type :
String
|
Nil
= nil)
Source
Class methods
collect_funs
Source
exception?
(name :
String
)
Source
exceptions
Exceptions will be treated as LibC funs
Source
find_fun
(name :
String
)
Source
funs
Source
parse_fun
(fun_def :
String
) :
WinMD::Fun
Source
Instance methods
==
(other :
Fun
)
Source
==
(other :
String
)
Source
file=
(file)
Source
name
Source
original_def
Source
params
Source
return_type
Source