Name

get-slot-value — Retrieves a value from a slot of a structure.

Macro

Syntax

	  get-slot-value obj type field => value
	

Arguments and Values

obj

A pointer to foreign structure.

type

A name of the foreign structure.

field

A name of the desired field in foreign structure.

value

The value of the field in the structure.

Description

Accesses a slot value from a structure.

Examples

(get-slot-value foo-ptr 'foo-structure 'field-name)
	

Side Effects

None.

Affected by

None.

Exceptional Situations

None.