OpenTP1 Version 7 Programming Reference C Language
pointer_default attribute
Format
pointer_default (pointer_attribute)
|
Attribute meaning
The pointer_default attribute specifies which of the two pointer semantics usable in the IDL is set as the default.
Specification item
pointer_attribute
Specify either of the following pointer attributes:
- ref
- Reference pointer
- ptr
- Complete pointer
Explanation
- The default pointer semantics is used for the following pointers:
- Pointer used for structure member declaration
- Pointer used for other than the top level operation parameter declared by multiple pointer operators
- The pointer returned from the operation is always a complete pointer. Therefore, the pointer_default attribute is not used.
- The pointer attribute has the priority over the pointer_default attribute.
- A compiler error occurs if declaration for which a default pointer semantics is required is defined without the pointer_default attribute specified in the interface definition.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.