CClosure

class CClosure(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

A #GCClosure is a specialization of #GClosure for C function callbacks.

Skipped during bindings generation

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args: va_list

  • parameter args_list: va_list

  • parameter destroy_data: ClosureNotify

  • parameter callback_func: Callback

  • parameter callback_func: Callback

  • parameter destroy_data: ClosureNotify

  • field closure: Closure

Constructors

Link copied to clipboard
constructor()

Allocate a new CClosure.

constructor(scope: <Error class: unknown class>)

Allocate a new CClosure using the provided AutofreeScope.

constructor(callback: <Error class: unknown class>)

Allocate a new CClosure.

constructor(callback: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new CClosure using the provided AutofreeScope.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var callback: <Error class: unknown class>

the callback function

Link copied to clipboard
val gobjectCClosurePointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open override fun toString(): String