Next Previous Up Top Contents Index

1.9 Utility designator classes

register-C-Dylan-object

Function

Summary

Allows objects to be passed to a C function as instances of <c-Dylan-object>.

Signature

register-C-Dylan-object object 

Arguments

object
An instance of <object>.

Library

c-ffi

Module

c-ffi

Description

Allows objects to be passed to a C function as instances of <C-Dylan-object>.

The register-C-Dylan-object function arranges for the garbage collector to leave the storage used by object unclaimed, and assures that the handle passed to C is not accidentally corrupted (from C's point of view) by the memory manager.

See also

unregister-C-Dylan-object, page 71.


C FFI and Win 32 Reference - 31 MAR 2000

Next Previous Up Top Contents Index