|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: C T
Length: 735 (0x2df)
Types: TextFile
Names: »CreateObj.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec1/offconv/CreateObj.c«
/*
*
* Description
* Allocate and initialize an OFF object description structure.
*
* Output
* OFFCreateObj returns a pointer to the newly-created and
* initialized object structure.
*
* Input
*
* Diagnostics
* Returns NULL if unsuccessful malloc'ing memory for object structure
*
* Author
* Randi J. Rost
* Digital Equipment Corp.
* Workstation Systems Engineering
* Palo Alto, CA
*
* History
* 17-Nov-86 Created
*
*/
#include <stdio.h>
#include "off.h"
OFFObjDesc *OFFCreateObj()
{
OFFObjDesc *Obj;
Obj = (OFFObjDesc *) malloc(sizeof(OFFObjDesc));
if (Obj == NULL)
{
fprintf(stderr, "OFFCreateObj: malloc failed\n");
return(NULL);
}
Obj->FirstProp = NULL;
return(Obj);
}