上QQ阅读APP看书,第一时间看更新
Structures
Structures are used to define reusable data types. Their syntaxes have a keyword struct followed by a variable, which acts as a valid type name.
The basic data types advised by the IDL and their corresponding descriptions are as follows:
interface EmployeeRegistry {
struct address_spec {
name string <100>;
salary float;
};