Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pappl_data(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pappl_data(3g)  —  Subroutines

Name

pappl_data − Creates a structure element that specifies the application data to be inserted into the open structure. 

Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element

Syntax

void pappl_data (
  const Pdata   ∗datarec   /∗ (I) Application data record ∗/
)

Data Structures

typedef struct {
    size_t    size;     /∗ size of data ∗/
    void     ∗data;     /∗ pointer to data ∗/
} Pdata;

Description

pappl_data creates a structure element that specifies the application data to be inserted into the open structure. 

Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new application data element. 

The pappl_data function inserts application-specific data into the open structure. Because application data is used exclusively by the application program, the data is ignored during structure traversal. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

See Also

pelem_search
pinq_cur_elem_content
pinq_cur_elem_type_size
pinq_elem_content
pinq_elem_type_size

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