Sha256: 522d3a4c7779649510a18f378f963a23de05ed3a5e492b00c1a9d62a9b7f8324

Contents?: true

Size: 588 Bytes

Versions: 6

Compression:

Stored size: 588 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_threadstate_h__
#define INCLUDE_threadstate_h__

#include "common.h"

typedef struct {
	git_error *last_error;
	git_error error_t;
	git_buf error_buf;
	char oid_fmt[GIT_OID_HEXSZ+1];
} git_threadstate;

extern int git_threadstate_global_init(void);
extern git_threadstate *git_threadstate_get(void);

#define GIT_THREADSTATE (git_threadstate_get())

#endif

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rugged-1.3.2.3 vendor/libgit2/src/threadstate.h
rugged-1.3.2.1 vendor/libgit2/src/threadstate.h
rugged-1.3.2 vendor/libgit2/src/threadstate.h
rugged-1.3.1 vendor/libgit2/src/threadstate.h
rugged-1.3.0 vendor/libgit2/src/threadstate.h
rugged-1.2.0 vendor/libgit2/src/threadstate.h