Created
July 21, 2022 13:20
-
-
Save steve-s/dc42d59ac9409c871493858bc88ae5f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct { | |
// ... | |
HPy (*ctx_Absolute)(HPyContext *ctx, HPy h1); | |
int (*ctx_IsTrue)(HPyContext *ctx, HPy h); | |
HPy (*ctx_Type_FromSpec)(HPyContext *ctx, HPyType_Spec *spec, HPyType_SpecParam *params); | |
// ... | |
} HPyContext; | |
// ... | |
HPyInit_kiwisolver(HPyContext *ctx) { | |
// ... | |
ctx->ctx_Type_FromSpec(ctx, &my_type_spec, ...); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment