libobs: Allow const argument in obs_set_cmdline_args
obs_set_cmdline_args copies the arguments passed to it. This means that the array passed will never require it to be modified.
This commit is contained in:
@@ -305,7 +305,7 @@ EXPORT const char *obs_get_version_string(void);
|
||||
* @param argv An array of command line arguments, copied from main() and ends
|
||||
* with NULL.
|
||||
*/
|
||||
EXPORT void obs_set_cmdline_args(int argc, char **argv);
|
||||
EXPORT void obs_set_cmdline_args(int argc, const char * const *argv);
|
||||
|
||||
/**
|
||||
* Get the argc/argv used to start OBS
|
||||
|
Reference in New Issue
Block a user