Rachel
Toggle table of contents
3.5.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.platform.ffi.posix
/
love.yinlin.platform.ffi
/
LibCLibrary
Lib
CLibrary
open
class
LibCLibrary
:
NativeLibrary
Members
Constructors
Lib
CLibrary
Link copied to clipboard
constructor
(
)
Properties
as
Address
Link copied to clipboard
val
Long
.
asAddress
:
Address
as
Long
Link copied to clipboard
val
Address
.
asLong
:
Long
close
Link copied to clipboard
val
close
:
MethodHandle
flock
Link copied to clipboard
val
flock
:
MethodHandle
ftruncate
Link copied to clipboard
val
ftruncate
:
MethodHandle
getpid
Link copied to clipboard
val
getpid
:
MethodHandle
is
Not
Null
Link copied to clipboard
val
Address
.
isNotNull
:
Boolean
is
Null
Link copied to clipboard
val
Address
.
isNull
:
Boolean
open
Link copied to clipboard
val
open
:
MethodHandle
unlink
Link copied to clipboard
val
unlink
:
MethodHandle
write
Link copied to clipboard
val
write
:
MethodHandle
Functions
astr
Link copied to clipboard
fun
Arena
.
astr
(
str
:
String
)
:
Address
declare
Link copied to clipboard
fun
declare
(
vararg
type
:
Layout
,
retType
:
Layout
?
)
:
FunctionDescriptor
func
Link copied to clipboard
fun
func
(
vararg
type
:
Layout
,
retType
:
Layout
?
)
:
ReadOnlyProperty
<
Any
?
,
MethodHandle
>
upcall
Link copied to clipboard
fun
upcall
(
handle
:
MethodHandle
,
function
:
FunctionDescriptor
)
:
Address
use
Memory
Link copied to clipboard
inline
fun
<
R
>
useMemory
(
block
:
(
Arena
)
->
R
)
:
R
wstr
Link copied to clipboard
fun
Arena
.
wstr
(
str
:
String
)
:
Address