This website requires JavaScript.
Explore
Help
Register
Sign In
IQ.Lvbs
/
pycapnp
Watch
1
Star
0
Fork
0
You've already forked pycapnp
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
1cfea9c846e2566657cd302e4af0e9432f880a6a
pycapnp
/
capnp
History
Kenton Varda
1cfea9c846
Add shortcuts for reading from / writing to files. In Python, it doesn't make much sense to force people to muck around with MessageReaders and MessageBuilders since everything is landing on the heap anyway. Instead, let's make it easy: MyType.read[Packed]From(file) reads a file and returns a MyType reader. MyType.newMessage() returns a MyType builder representing the root of a new message. You can call this builder's write[Packed]To(file) method to write it to a file.
2013-08-31 18:19:02 -07:00
..
__init__.py
Change load to use a global SchemaParser. Make structs settable as field
2013-08-29 21:03:00 -07:00
capnp_cpp.pxd
Store Builders by value rather than allocate them separately on the heap (matches treatment of Readers). v0.3 fixes the bug that made this not work.
2013-08-31 17:22:11 -07:00
capnp.pyx
Add shortcuts for reading from / writing to files. In Python, it doesn't make much sense to force people to muck around with MessageReaders and MessageBuilders since everything is landing on the heap anyway. Instead, let's make it easy: MyType.read[Packed]From(file) reads a file and returns a MyType reader. MyType.newMessage() returns a MyType builder representing the root of a new message. You can call this builder's write[Packed]To(file) method to write it to a file.
2013-08-31 18:19:02 -07:00
fixMaybe.h
Add C++ library version check
2013-08-26 00:57:07 -07:00
schema_cpp.pxd
Wrap MessageBuilder::setRoot().
2013-08-31 17:07:44 -07:00