prg_calendar_destroy()
Abstract
Destroy a calendar object created with prg_calendar_create.
Syntax
prg_calendar_destroy (calendar_handle, destroy_proc)
| Argument | Type | Description |
|---|---|---|
calendar_handle |
PrgT_Calendar_Handle |
object to destroy |
destroy_proc |
PrgT_Calendar_Event_Destroy_Proc |
if not PRGC_NIL, called to destroy data associated with events still in the calendar object |
Return Type
void
No return value.
Header
prg_calendar.h
Details
Destroy a calendar object created with prg_calendar_create(). If a destroy_proc is provided, this will be invoked to destroy the data associated with events still in the calendar.
The callback prototype is given in PrgT_Calendar_Event_Destroy_Proc.