Action:
|
Reads an of array indices.
|
|
Prototype:
|
ENTITY* read_array (
|
|
|
ENTITY* array[],
|
// array of entities
|
|
|
int i
|
// number of entities
|
|
|
);
|
|
|
ENTITY* read_array (
|
|
|
ENTITY* array[],
|
// array of entities
|
|
|
const void* ptr
|
// pointer to restore
|
|
|
|
|
// routine
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kerndata/data/entity.hxx"
|
|
#include "kernel/kerndata/savres/savres_small.hxx"
|
|
Description:
|
This routine is used as part of restore from a SAT or SAB file. It returns an array of indices or
NULL for negative index.
|
|
|
if (i < 0)
|
|
return NULL
|
|
else
|
|
|
return array[i]
|
|
Array of indices.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kerndata/savres/savres_small.hxx
|
|
Effect:
|
Read-only
|