Skip to content

Commit

Permalink
Add noexcept to make sdrplay compile
Browse files Browse the repository at this point in the history
  • Loading branch information
jopohl committed Jan 21, 2024
1 parent 0eb5c29 commit ab100ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/urh/dev/native/lib/sdrplay.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ cdef void __rx_stream_callback(short *xi, short *xq, unsigned int firstSampleNum
PyGILState_Release(gstate)
free(data)

cdef void _rx_stream_callback(short *xi, short *xq, unsigned int firstSampleNum, int grChanged, int rfChanged, int fsChanged, unsigned int numSamples, unsigned int reset, unsigned int hwRemoved, void *cbContext):
cdef void _rx_stream_callback(short *xi, short *xq, unsigned int firstSampleNum, int grChanged, int rfChanged, int fsChanged, unsigned int numSamples, unsigned int reset, unsigned int hwRemoved, void *cbContext) noexcept:
__rx_stream_callback(xi, xq, firstSampleNum, grChanged, rfChanged, fsChanged, numSamples, reset, cbContext)

cdef void _gain_change_callback(unsigned int gRdB, unsigned int lnaGRdB, void *cbContext):
cdef void _gain_change_callback(unsigned int gRdB, unsigned int lnaGRdB, void *cbContext) noexcept:
return

cpdef void set_gr_mode_for_dev_model(int dev_model):
Expand Down

0 comments on commit ab100ec

Please sign in to comment.