summaryrefslogtreecommitdiff
path: root/util.c
AgeCommit message (Collapse)Author
2012-01-16srd: don't decref an object we don't ownBert Vermeulen
2012-01-15srd: clean up module loading/unloading, and the decoder structBert Vermeulen
PDs are now checked for a proper Decoder object, with at least the required attributes. The author, long_desc and func attributes in the decoder object are gone.
2012-01-07convert data coming in from a PD to C structsBert Vermeulen
This is in preparation for passing annotation data back to the calling frontend, and python data up to the next protocol in the stack.
2012-01-03sr/srd: Fix left-over #includes.Uwe Hermann
The libs themselves should use #include "sigrok.h" etc., while the frontends must use #include <sigrok.h> and so on.
2011-12-28better python memory managementBert Vermeulen
2011-12-28python 3 portBert Vermeulen
2011-12-04refactored PD framework, now using new sigrok.Decoder objectBert Vermeulen
This uses the new python unified type/class object API to construct an object for PDs to subclass. The sigrok.Decoder class has a method put() which is implemented as a C function, and receives the PD's object instance as its first parameter.