|
|
Subscribe / Log in / New account

Documenting counted-by relationships in kernel data structures

Documenting counted-by relationships in kernel data structures

Posted Jul 3, 2023 19:44 UTC (Mon) by iabervon (subscriber, #722)
In reply to: Documenting counted-by relationships in kernel data structures by Paf
Parent article: Documenting counted-by relationships in kernel data structures

These other-language bindings are generally done by programs that use a C parser to analyze a C library's API and produce C code that would call it correctly. When there's a list of records, this currently requires recognizing a naming convention or something in order to interface between a language with built-in data structures with embedded lengths and C. This attribute would tell you the correct answer directly.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds