OpenTP1 Version 7 Programming Reference C Language

[Contents][Index][Back][Next]

Parameter declaration

Format

[parameter_attribute, ...]  type_specifier  parameter_declarator;

Meaning

The parameter declaration defines operation parameters.

Specification item

parameter_attribute

Specify a parameter attribute. The following attributes can be specified:

type_specifier

Specify a parameter data type. The following types can be specified:

parameter_declarator

Specify a parameter declarator. The following values can be specified:

Explanation

  1. Either in or out must be specified.
  2. The parameter of the out attribute must be an array or an explicitly declared pointer. An explicitly declared pointer is a pointer declared with *.

OpenTP1 IDL-only TxRPC restriction