libguestfs/libguestfs-common
View on GitHub ↗ ★ 7 OCaml
Common code shared between libguestfs and tools
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2020-05-20 · latest 2022-07-14
20082026
-
…in macros to write nicely bracketed start and end C macros eg this set for generating HTML: https://github.com/libguestfs/libguestfs-common/blob/master/... You can write: start_element ("memory") { attribute ("unit", "MiB"); string_format…
comment by rwmj · 2022-07-14 · in The Preprocessor Iceberg Meme -
…I be grepping for to find code that might be of concern? Edit: Some examples of simple stuff: https://github.com/libguestfs/libguestfs-common/blob/master/... https://github.com/libguestfs/libguestfs-common/blob/master/...…
comment by rwmj · 2021-12-21 · in PR to Merge Multicore OCaml -
…wrote a bunch of "interesting" C macros to make it easier to create and submit XML documents: https://github.com/libguestfs/libguestfs-common/blob/master/... Example usage: https://github.com/libguestfs/libguestfs/blob/b9065fa7adc931...…
comment by rwmj · 2020-05-20 · in KVM host in a few lines of code