Support c++ compile (#2566)

This commit is contained in:
feiniks 2022-04-25 11:58:55 +08:00 committed by GitHub
parent 57c5ebab0e
commit d47a3b06b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,10 @@
#ifndef SEAFILE_H
#define SEAFILE_H
#ifdef __cplusplus
extern "C" {
#endif
int seafile_destroy_repo (SearpcClient *client,
const char *repo_id, GError **error);
@ -39,5 +43,8 @@ char *seafile_get_config (SearpcClient *client, const char *key, GError **error)
int seafile_calc_dir_size (SearpcClient *client, const char *path, GError **error);
#ifdef __cplusplus
}
#endif
#endif