/* return-code.c generated by valac 0.56.19, the Vala compiler
 * generated from return-code.vala, do not modify */

#include <glib-object.h>

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

typedef enum  {
	PROTON_PLUS_RETURN_CODE_UNKNOWN_ERROR,
	PROTON_PLUS_RETURN_CODE_RELEASES_LOADED,
	PROTON_PLUS_RETURN_CODE_NOTHING_TO_UPDATE,
	PROTON_PLUS_RETURN_CODE_RUNNERS_UPDATED,
	PROTON_PLUS_RETURN_CODE_RUNNER_UPDATED,
	PROTON_PLUS_RETURN_CODE_VALID_REQUEST,
	PROTON_PLUS_RETURN_CODE_CONNECTION_ISSUE,
	PROTON_PLUS_RETURN_CODE_CONNECTION_REFUSED,
	PROTON_PLUS_RETURN_CODE_CONNECTION_UNKNOWN,
	PROTON_PLUS_RETURN_CODE_API_LIMIT_REACHED,
	PROTON_PLUS_RETURN_CODE_INVALID_ACCESS_TOKEN
} ProtonPlusReturnCode;

#define PROTON_PLUS_TYPE_RETURN_CODE (proton_plus_return_code_get_type ())

VALA_EXTERN GType proton_plus_return_code_get_type (void) G_GNUC_CONST ;

static GType
proton_plus_return_code_get_type_once (void)
{
	static const GEnumValue values[] = {{PROTON_PLUS_RETURN_CODE_UNKNOWN_ERROR, "PROTON_PLUS_RETURN_CODE_UNKNOWN_ERROR", "unknown-error"}, {PROTON_PLUS_RETURN_CODE_RELEASES_LOADED, "PROTON_PLUS_RETURN_CODE_RELEASES_LOADED", "releases-loaded"}, {PROTON_PLUS_RETURN_CODE_NOTHING_TO_UPDATE, "PROTON_PLUS_RETURN_CODE_NOTHING_TO_UPDATE", "nothing-to-update"}, {PROTON_PLUS_RETURN_CODE_RUNNERS_UPDATED, "PROTON_PLUS_RETURN_CODE_RUNNERS_UPDATED", "runners-updated"}, {PROTON_PLUS_RETURN_CODE_RUNNER_UPDATED, "PROTON_PLUS_RETURN_CODE_RUNNER_UPDATED", "runner-updated"}, {PROTON_PLUS_RETURN_CODE_VALID_REQUEST, "PROTON_PLUS_RETURN_CODE_VALID_REQUEST", "valid-request"}, {PROTON_PLUS_RETURN_CODE_CONNECTION_ISSUE, "PROTON_PLUS_RETURN_CODE_CONNECTION_ISSUE", "connection-issue"}, {PROTON_PLUS_RETURN_CODE_CONNECTION_REFUSED, "PROTON_PLUS_RETURN_CODE_CONNECTION_REFUSED", "connection-refused"}, {PROTON_PLUS_RETURN_CODE_CONNECTION_UNKNOWN, "PROTON_PLUS_RETURN_CODE_CONNECTION_UNKNOWN", "connection-unknown"}, {PROTON_PLUS_RETURN_CODE_API_LIMIT_REACHED, "PROTON_PLUS_RETURN_CODE_API_LIMIT_REACHED", "api-limit-reached"}, {PROTON_PLUS_RETURN_CODE_INVALID_ACCESS_TOKEN, "PROTON_PLUS_RETURN_CODE_INVALID_ACCESS_TOKEN", "invalid-access-token"}, {0, NULL, NULL}};
	GType proton_plus_return_code_type_id;
	proton_plus_return_code_type_id = g_enum_register_static ("ProtonPlusReturnCode", values);
	return proton_plus_return_code_type_id;
}

GType
proton_plus_return_code_get_type (void)
{
	static volatile gsize proton_plus_return_code_type_id__once = 0;
	if (g_once_init_enter (&proton_plus_return_code_type_id__once)) {
		GType proton_plus_return_code_type_id;
		proton_plus_return_code_type_id = proton_plus_return_code_get_type_once ();
		g_once_init_leave (&proton_plus_return_code_type_id__once, proton_plus_return_code_type_id);
	}
	return proton_plus_return_code_type_id__once;
}

