What is unclear or missing?
Current C API comment says all returned strings must be freed, but implementation mixes owned and borrowed pointers.
Suggested improvement
Document ownership per function (owned, borrowed, caller-frees) and align to implementation or adjust implementation to match docs.
Additional context
Contract location: src/InfiniFrame.Native/Exports.cpp:19
Affected APIs include:
InfiniFrame_GetUserAgent, InfiniFrame_GetTitle, InfiniFrame_GetIconFileName
What is unclear or missing?
Current C API comment says all returned strings must be freed, but implementation mixes owned and borrowed pointers.
Suggested improvement
Document ownership per function (
owned,borrowed,caller-frees) and align to implementation or adjust implementation to match docs.Additional context
Contract location:
src/InfiniFrame.Native/Exports.cpp:19Affected APIs include:
InfiniFrame_GetUserAgent,InfiniFrame_GetTitle,InfiniFrame_GetIconFileName