Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
Kotlin libraries
Toggle table of contents
1.3
Select version
2.2
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Native
Platform filter
Native
Switch theme
Search in API
Kotlin libraries
kotlin-stdlib
/
kotlinx.cinterop
/
CFunction
CFunction
Native
class
CFunction
<
T
:
Function
<
*
>
>
(
rawPtr
:
NativePtr
)
:
CPointed
(
source
)
The C function.
Since Kotlin
1.3
Members
Members & Extensions
Constructors
CFunction
Link copied to clipboard
Native
constructor
(
rawPtr
:
NativePtr
)
Properties
raw
Ptr
Link copied to clipboard
Native
var
rawPtr
:
NativePtr
Since Kotlin
1.3
raw
Ptr
Link copied to clipboard
Native
val
NativePointed
?
.
rawPtr
:
NativePtr
Since Kotlin
1.3
Functions
get
Raw
Pointer
Link copied to clipboard
Native
external
fun
NativePointed
.
getRawPointer
(
)
:
NativePtr
Since Kotlin
1.3
read
Value
Link copied to clipboard
Native
fun
<
T
:
CVariable
>
CPointed
.
readValue
(
size
:
Long
,
align
:
Int
)
:
CValue
<
T
>
Since Kotlin
1.3
read
Values
Link copied to clipboard
Native
fun
<
T
:
CVariable
>
CPointed
.
readValues
(
size
:
Int
,
align
:
Int
)
:
CValues
<