Next Previous Up Top Contents Index

1.5 Designator classes

pointer-value-setter

Open generic function

Summary

Allows you to set pointer values.

Signature

pointer-value-setter new-value C-typed-pointer #key index => new-value 

Arguments

new-value
An instance of <object>.

c-typed-pointer
An instance of <C-statically-typed-pointer>.

index
An instance of <integer>.

Values

new-value
An instance of <object>.

Library

c-ffi

Module

c-ffi

Description

Allows you to set pointer values. If you supply index, the pointer is treated as a pointer to an array, and the function returns the appropriate element indexed by the correct unit size.

It is an error if C-typed-pointer does not point to a valid address or is a null pointer.


C FFI and Win 32 Reference - 31 MAR 2000

Next Previous Up Top Contents Index