-
- Downloads
Use macros to improve safety loading callbacks
Just a minor fix mostly because I noticed that I kept accidentally forgetting to add checks to the code properly. This is one of those cases where macros come in useful, as macros can automate the process and help prevent these mistakes from happening by accident.
Showing
- libobs/obs-data.h 8 additions, 0 deletionslibobs/obs-data.h
- libobs/obs-encoder.c 13 additions, 26 deletionslibobs/obs-encoder.c
- libobs/obs-output.c 12 additions, 24 deletionslibobs/obs-output.c
- libobs/obs-source.c 23 additions, 49 deletionslibobs/obs-source.c
- libobs/obs-source.h 21 additions, 18 deletionslibobs/obs-source.h
- libobs/obs.h 2 additions, 2 deletionslibobs/obs.h
Loading
Please register or sign in to comment