obs-studio/libobs/callback
jp9000 968f5fed32 Added some return-style functions to calldata.h
When using signal callbacks, there is rarely a need to check to see if
the callback paramters are actually validl; in those cases, if they are
invalid, then the signal is being used incorrectly.  The calldata_get*
functions are meant to be used more for when using dynamic function
calls rather than when using signals.  The calldata_get* functions made
it so that you have to declare your varaibles, and then call that
function to assign that value to those variables, which was slightly
annoying to constantly have to do over and over.

  Therefore I created a few extra functions for returning the value
without having to check for validity.  Although you would think this
would be an issue for maintaining, keep in mind that these functions
return base types.  Admittedly, these functions are merely for
convenience.
2014-01-04 13:28:27 -07:00
..
calldata.c don't hide calldata structure, no reason to, and forced an unnecessary allocation which is bad 2013-12-26 02:02:24 -07:00
calldata.h Added some return-style functions to calldata.h 2014-01-04 13:28:27 -07:00
proc.c fix function pointer types in dynamic procedure handler 2014-01-03 02:58:17 +01:00
proc.h fix function pointer types in dynamic procedure handler 2014-01-03 02:58:17 +01:00
signal.c fix incompatible types warning in signal system 2014-01-01 03:33:16 +01:00
signal.h fix incompatible types warning in signal system 2014-01-01 03:33:16 +01:00