mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added stuff for C++ compilation
This commit is contained in:
parent
c07201926b
commit
d44c657826
2 changed files with 16 additions and 0 deletions
|
|
@ -1,4 +1,8 @@
|
|||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _snd_input snd_input_t;
|
||||
|
||||
typedef enum _snd_input_type {
|
||||
|
|
@ -13,3 +17,7 @@ int snd_input_close(snd_input_t *input);
|
|||
int snd_input_scanf(snd_input_t *input, const char *format, ...) __attribute__ ((format (scanf, 2, 3)));
|
||||
char *snd_input_gets(snd_input_t *input, char *str, size_t size);
|
||||
int snd_input_getc(snd_input_t *input);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue