Sha256: e38212ab47493708e980cad9b035ad02fe3a648ea38a6bf23a460973b6cedb6f

Contents?: true

Size: 588 Bytes

Versions: 7

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_str 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

7 entries across 7 versions & 1 rubygems

Version Path
rugged-1.5.1 vendor/libgit2/src/libgit2/threadstate.h
rugged-1.4.5 vendor/libgit2/src/threadstate.h
rugged-1.5.0.1 vendor/libgit2/src/libgit2/threadstate.h
rugged-1.5.0 vendor/libgit2/src/libgit2/threadstate.h
rugged-1.4.4 vendor/libgit2/src/threadstate.h
rugged-1.4.3 vendor/libgit2/src/threadstate.h
rugged-1.4.2 vendor/libgit2/src/threadstate.h