diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-06-30 06:56:58 -0700 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2011-06-30 06:56:58 -0700 |
| commit | 408d733b1fd6ae7e674076e154dc19a2ca672e16 (patch) | |
| tree | bafb1809d0ab26f9a266b8f67282b1b40f6994bf | |
| parent | 2dfc08875abfab747338c659f85bdf98d718cd1c (diff) | |
| download | libgit2-408d733b1fd6ae7e674076e154dc19a2ca672e16.tar.gz | |
repository: Make head_detached() and head_orphan() convenience methods accessible to bindings
| -rw-r--r-- | include/git2/repository.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h index 9344db7f0..3b2b9dc04 100644 --- a/include/git2/repository.h +++ b/include/git2/repository.h @@ -228,7 +228,7 @@ GIT_EXTERN(int) git_repository_init(git_repository **repo_out, const char *path, * @return 1 if HEAD is detached, 0 if i'ts not; error code if there * was an error. */ -int git_repository_head_detached(git_repository *repo); +GIT_EXTERN(int) git_repository_head_detached(git_repository *repo); /** * Check if the current branch is an orphan @@ -240,7 +240,7 @@ int git_repository_head_detached(git_repository *repo); * @return 1 if the current branch is an orphan, 0 if it's not; error * code if therewas an error */ -int git_repository_head_orphan(git_repository *repo); +GIT_EXTERN(int) git_repository_head_orphan(git_repository *repo); /** * Check if a repository is empty |
