Logo Search packages:      
Sourcecode: libjna-java version File versions  Download package

void com::sun::jna::Pointer::setPointer ( long  offset,
Pointer  value 
) [inline]

Set value at location being pointed to. This is equivalent to the expression *((void **)((char *)Pointer + offset)) = value.

offset byte offset from pointer at which value must be set
value Pointer holding the actual pointer value to set, which may be null to indicate a NULL pointer.

Reimplemented in com::sun::jna::Memory, and com::sun::jna::Pointer::Opaque.

Definition at line 760 of file Pointer.java.

References peer.

Referenced by write().

        _setPointer(peer + offset, value != null ? value.peer : 0);

Generated by  Doxygen 1.6.0   Back to index