Add struct sr_context to the sr_init() and sr_exit() calls
authorPeter Stuge <peter@stuge.se>
Sun, 21 Oct 2012 23:12:52 +0000 (01:12 +0200)
committerJoel Holdsworth <joel@airwebreathe.org.uk>
Fri, 2 Nov 2012 00:14:54 +0000 (00:14 +0000)
commitf224292974bed0d34333c5a2158968200e42238c
treec89d6358ce2116055d05140e4fb6971f7bd17375
parentbe03620eb7b765ff01f52d0f8b9e7dac308524c5
Add struct sr_context to the sr_init() and sr_exit() calls

libsigrok.git commit b8072700c1bc7d13ba004fd897668b56cec4ac62 adds
struct sr_context to the public API, and changes sr_init() and sr_exit()
to take a struct sr_context ** and struct sr_context * parameter
respectively.

struct sr_context is opaque, and all sr_init() and sr_exit() calls must
be balanced.
main.cpp