LLAPI_LAYOUT_COMP_USE_LAST = 2,
LLAPI_LAYOUT_COMP_USE_NEXT = 3,
LLAPI_LAYOUT_COMP_USE_PREV = 4,
+
+ /* ensure -fshort-enums keeps u32 size for interop */
+ _LLAPI_LAYOUT_COMP_TYPE_SIZE = (__u32)-1,
};
/**
/**
* Select the currently active component at the specified position.
*/
-int llapi_layout_comp_use(struct llapi_layout *layout, uint32_t pos);
+int llapi_layout_comp_use(struct llapi_layout *layout,
+ enum llapi_layout_comp_use pos);
/**
* Add layout components to an existing file.
*/