Class NativeStructAttribute
Definition
- Assembly:
- Tizen.dll
Indicates that the attributed struct maps an unmanaged struct.
public class NativeStructAttribute : Attribute
- Inheritance
-
objectNativeStructAttribute
Remarks
The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.
Constructors
View SourceNativeStructAttribute(string)
Initializes a new instance of the NativeStructAttribute class with the native struct information.
Declaration
public NativeStructAttribute(string structName)
Parameters
Type | Name | Description |
---|---|---|
string | structName | The name of structure to test the size. |
Remarks
The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.
Properties
View SourceArch
Runtime architecture to specify mapping.
Declaration
public NativeStructArch Arch { get; set; }
Property Value
Type | Description |
---|---|
NativeStructArch |
Remarks
The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.
Include
The name of C header file(.h) that contains the struct to test.
Declaration
public string Include { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.
PkgConfig
The name of pkg-config that provides the header file location.
Declaration
public string PkgConfig { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.
StructName
The name of structure to test the size.
Declaration
public string StructName { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
The NativeStructAttribute attribute provides the information needed to verify that tue struct is correctly mapped.