Пример #1
0
int
simv2_OptionList_alloc(visit_handle *h)
{
    *h = VisItStorePointer(new VisIt_OptionList);
    return (*h != VISIT_INVALID_HANDLE) ? VISIT_OKAY : VISIT_ERROR;
}
int
simv2_UnstructuredMesh_alloc(visit_handle *h)
{
    *h = VisItStorePointer(new VisIt_UnstructuredMesh);
    return (*h != VISIT_INVALID_HANDLE) ? VISIT_OKAY : VISIT_ERROR;
}
int
simv2_CommandMetaData_alloc(visit_handle *h)
{
    *h = VisItStorePointer(new VisIt_CommandMetaData);
    return (*h != VISIT_INVALID_HANDLE) ? VISIT_OKAY : VISIT_ERROR;
}