Skip to content

Instantly share code, notes, and snippets.

@steve-s
Created July 21, 2022 13:39
Embed
What would you like to do?
HPyContext ctx_ver1 = {
// ...
.ctx_Absolute = &legacy_absolute,
};
HPyContext ctx_ver2 = {
// ...
.ctx_Absolute = &new_fancy_absolute,
};
// ...
MyLegacyPackage_Init(&ctx_ver1);
MyNewShinyPackage_Init(&ctx_ver2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment