XU XUv0.16.0

#ffi/dl

import: #ffi/dl

counts: 0 functions, 2 methods, 1 types, 0 constants, 0 method sets

Dynamic shared library handle and symbol lookup helpers on top of #ffi.

struct Library

XuAPI
pub struct Library {

}

Purpose

Library context or state structure.

Public fields

This type has no public fields.

(&Library) is_valid

XuAPI
pub fn (lib &Library) is_valid() bool

Purpose

Operation on &Library: whether it is valid.

Parameters

lib &Library
The Library instance used by this call (borrow).

Returns

bool — true or false

(&Library) raw

XuAPI
pub fn (lib &Library) raw() c_ptr

Purpose

Execute raw on &Library.

Parameters

lib &Library
The Library instance used by this call (borrow).

Returns

c_ptr — a value of this type