Next returns the next object type structure given the previous structure pointer.
(typ *ObjectTypeInformation)
| 90 | |
| 91 | // Next returns the next object type structure given the previous structure pointer. |
| 92 | func (*ObjectTypesInformation) Next(typ *ObjectTypeInformation) *ObjectTypeInformation { |
| 93 | align := (uintptr(typ.TypeName.MaximumLength) + typesize.Pointer() - 1) &^ (typesize.Pointer() - 1) |
| 94 | offset := uintptr(unsafe.Pointer(typ)) + unsafe.Sizeof(ObjectTypeInformation{}) |
| 95 | return (*ObjectTypeInformation)(unsafe.Pointer(offset + align)) |
| 96 | } |
| 97 | |
| 98 | // ObjectNameInformation stores object name information. |
| 99 | type ObjectNameInformation struct { |
no test coverage detected