我要评分
获取效率
正确性
完整性
易理解

Description of Structures and Enumeration Types

There are complex data structures and function context structures.

Enumeration types include Return Values and Bool Data Type.

For details about the naming rules and formats of data structures and enumeration types, see Table 1 and Table 2.

Table 1 Structure naming rules

Structure Type

Naming Rule

Form

Type name

Upper camel case, with "Hmpp" as the prefix

Example: HmppLibraryVersion

Member variable name

Lower camel case

Example: major, buildDate

Table 2 Naming rules of enumeration types

Enumeration Type

Naming Rule

Form

Type name

Upper camel case, with "Hmpp" as the prefix

Example: HmppResult

Member variable name

All capitalized, separated with underscores (_)

Example: HMPP_STS_NO_ERR