diff options
Diffstat (limited to 'include/recorder')
| -rw-r--r-- | include/recorder/error.h | 8 | ||||
| -rw-r--r-- | include/recorder/recording_clock.h | 8 | ||||
| -rw-r--r-- | include/recorder/settings.h | 8 |
3 files changed, 0 insertions, 24 deletions
diff --git a/include/recorder/error.h b/include/recorder/error.h index cfa83cd..ba2ae1d 100644 --- a/include/recorder/error.h +++ b/include/recorder/error.h @@ -1,10 +1,6 @@ #ifndef GSR_RECORDER_ERROR_H #define GSR_RECORDER_ERROR_H -#ifdef __cplusplus -extern "C" { -#endif - /* The negated value of each error is the exit code that gpu-screen-recorder exits with */ typedef enum { GSR_ERROR_OK = 0, @@ -24,8 +20,4 @@ static inline int gsr_error_to_exit_code(int error) { return error < 0 ? -error : 0; } -#ifdef __cplusplus -} -#endif - #endif /* GSR_RECORDER_ERROR_H */ diff --git a/include/recorder/recording_clock.h b/include/recorder/recording_clock.h index 4e302b6..b99e936 100644 --- a/include/recorder/recording_clock.h +++ b/include/recorder/recording_clock.h @@ -3,10 +3,6 @@ #include <stdbool.h> -#ifdef __cplusplus -extern "C" { -#endif - /* Monotonic clock that excludes the time the recording has been paused. Safe to use from multiple threads */ typedef struct gsr_recording_clock gsr_recording_clock; @@ -22,8 +18,4 @@ double gsr_recording_clock_get_time(const gsr_recording_clock *self); void gsr_recording_clock_set_paused(gsr_recording_clock *self, bool paused); bool gsr_recording_clock_is_paused(const gsr_recording_clock *self); -#ifdef __cplusplus -} -#endif - #endif /* GSR_RECORDER_RECORDING_CLOCK_H */ diff --git a/include/recorder/settings.h b/include/recorder/settings.h index 8bb7f77..164e082 100644 --- a/include/recorder/settings.h +++ b/include/recorder/settings.h @@ -6,10 +6,6 @@ #include "../defs.h" #include "../vec2.h" -#ifdef __cplusplus -extern "C" { -#endif - typedef struct { gsr_video_encoder_hardware video_encoder; gsr_pixel_format pixel_format; @@ -56,8 +52,4 @@ typedef struct { vec2i region_position; } gsr_recorder_settings; -#ifdef __cplusplus -} -#endif - #endif /* GSR_RECORDER_SETTINGS_H */ |
