OSF DCE Application Development Guide--Core Components
Attribute Configuration Language
For a type—
typedef [heap] type_name;
For a parameter—
operation_name ([heap] parameter_name);
Any identifier occurring as a parameter name within an operation declaration in the ACF
must also be a parameter name within the corresponding operation declaration in IDL.
The heap attribute is ignored for pipes, context handles, and scalars.
Example Using the heap Attribute
ACF
[auto_handle] interface galaxies
{
typedef [heap] big_array;
}
IDL File
[uuid(e61de280-0d0b-11ca-6145-08002b111685)]
interface galaxies
{
typedef long big_array[1000];
}
18.3.12 The extern_exceptions Attribute
By default, the IDL compiler declares and initializes all exceptions listed in an
exceptions interface attribute in the stub code that it generates. You can use the
extern_exceptions attribute to override this behavior; the extern_exceptions attribute
allows you to specify one or more exceptions listed in the exceptions interface attribute
that you do not want the IDL-generated stub code to declare. If the extern_exceptions
attribute appears with no list, it has the same effect as if all IDL-defined exceptions were
specified in the list.
The extern_exceptions attribute has the following syntax. (See the example at the end
of this section.)
[extern_exceptions (exception_name [,exception_name]... )]
interface interface_name
124245 Tandem Computers Incorporated 18− 17