File tree Expand file tree Collapse file tree 2 files changed +277
-61
lines changed
Expand file tree Collapse file tree 2 files changed +277
-61
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,8 @@ pub const c = @cImport({
5151// ...
5252
5353pub const Tuple = extern struct {
54- pub const BaseType = c.PyTupleObject;
55-
5654 // The underlying python structure
57- impl: BaseType ,
55+ impl: c.PyTupleObject ,
5856
5957 // Import the object protocol
6058 pub usingnamespace ObjectProtocol(@This());
@@ -74,10 +72,8 @@ can get the name like this:
7472
7573``` zig
7674pub const Type = extern struct {
77- pub const BaseType = c.PyTypeObject;
78-
7975 // The underlying python structure
80- impl: BaseType ,
76+ impl: c.PyTypeObject ,
8177
8278 // ...
8379
@@ -95,3 +91,8 @@ However it is generally recommended to use public C-API functions as is done wit
9591
9692This is currently very alpha status and is undergoing breaking changes to functions but the
9793basic design concept is unlikely to change.
94+
95+
96+ ## Plans
97+
98+ Auto generate bindings...
You can’t perform that action at this time.
0 commit comments