Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_elem_content(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_elem_content(3g)  —  Subroutines

Name

pinq_elem_content − Returns the values associated with a structure element. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function

Syntax

void pinq_elem_content (
  Pint           stid,       /∗ (I) Structure identifier. ∗/
  Pint           elem_num,   /∗ (I) Element number. ∗/
  Pstore         store,      /∗ (I) Handle to store the object.  store
                                    manages the memory referenced by
                                    ∗elem_data. ∗/
  Pint          ∗error_ind,  /∗ (O) Error indicator. ∗/
  Pelem_data   ∗∗elem_data   /∗ (O) Data record. ∗/
)

  See Element Data for the Pelem_data data structure, substructures, and data structure constants. 

Data Structures

typedef void ∗Pstore;

Description

pinq_elem_content returns the values associated with the specified structure element.  Use the function pinq_elem_type_size to obtain the element type and the element size.  You then use this size to allocate enough memory for the pinq_elem_content function.  See Element Data for detailed information on these functions. 

See Also

pcreate_store
pdel_store
pinq_cur_elem_content
pinq_elem_type_size

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026