Hi, I recently assisted with some changes to the fantastic serial.nim project
by euantorano. Part of my contribution required including a modified version of
the windows registry module with 2 extra bits of functionality:
iterator enumKeyValues*(path: string, handle: HKEY): tuple[key:string,
value:string] =
# to retreive all name/value pairs from a registry key.
proc getDwordValue*(path, key: string; handle: HKEY): int32 =
# to get a numeric value from the registry
Run
The project author suggested that the iterator would be useful in the standard
library, and I often need to read numeric values from the registry, so I was
wondering, **_what is the correct way to see if these functions can be included
in the standard library?_**
I'm happy to submit a PR for review, which doesn't break backward compatibility.