Sha256: 3afffeef4e473540e3751876762dcb588ded0c39efd3ca2b41247526b4000e77
Contents?: true
Size: 834 Bytes
Versions: 4
Compression:
Stored size: 834 Bytes
Contents
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_git_global_h__ #define INCLUDE_git_global_h__ #include "common.h" GIT_BEGIN_DECL /** * Init the global state * * This function must the called before any other libgit2 function in * order to set up global state and threading. * * This function may be called multiple times. * * @return 0 or an error code */ GIT_EXTERN(int) git_libgit2_init(void); /** * Shutdown the global state * * Clean up the global state and threading context after calling it as * many times as `git_libgit2_init()` was called. * */ GIT_EXTERN(void) git_libgit2_shutdown(void); /** @} */ GIT_END_DECL #endif
Version data entries
4 entries across 4 versions & 1 rubygems