Bull DPX/20 Betriebsanweisung Seite 346

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 345
3-40
SOMobjects Base Toolkit Programmers Reference Manual
TypeCode_free Function
Purpose
Destroys a given TypeCode by freeing all of the memory used to represent it.
IDL Syntax
void TypeCode_free ( );
Description
The TypeCode_free function destroys a given TypeCode by freeing all of the memory used
to represent it. TypeCodes obtained from the TypeCode_copy or TypeCodeNew functions
should be freed using TypeCode_free. TypeCodes contained in Interface Repository
objects should never be freed. Their memory is released when a _somFree method
releases the Interface Repository object.
The TypeCode_free operation has no effect on TypeCode constants. TypeCode constants
are static TypeCodes declared in the header file somtcnst.h or generated in files emitted
by the SOM Compiler. Since TypeCode constants may be used interchangeably with
dynamically created TypeCodes, it is not considered an error to attempt to free a
TypeCode constant with the TypeCode_free function.
This function is a SOM-unique extension to the CORBA standard.
Parameters
tc The TypeCode to be freed.
ev A pointer to an Environment structure. The CORBA standard mandates
the use of this structure as a standard way to return exception information
when an error condition is detected.
Return Value
None. No exceptions are raised by this function.
Related Information
Functions: TypeCodeNew, TypeCode_alignment, TypeCode_copy, TypeCode_equal,
TypeCode_kind, TypeCode_param_count, TypeCode_parameter, TypeCode_print,
TypeCode_setAlignment, TypeCode_size
Seitenansicht 345
1 2 ... 341 342 343 344 345 346 347 348 349 350 351 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare