/* methodbindingtype.c generated by valac, the Vala compiler
 * generated from methodbindingtype.vala, do not modify */

/* methodbindingtype.vala
 *
 * Copyright (C) 2011 Florian Brosch
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 * Author:
 * 	Brosch Florian <flo.brosch@gmail.com>
 */

#include <glib.h>
#include <glib-object.h>
#include "valadoc.h"
#include <stdlib.h>
#include <string.h>






gchar* valadoc_method_binding_type_to_string (ValadocMethodBindingType self) {
	gchar* result = NULL;
	switch (self) {
		case VALADOC_METHOD_BINDING_TYPE_OVERRIDE:
		{
			gchar* _tmp0_;
			_tmp0_ = g_strdup ("override");
			result = _tmp0_;
			return result;
		}
		case VALADOC_METHOD_BINDING_TYPE_ABSTRACT:
		{
			gchar* _tmp1_;
			_tmp1_ = g_strdup ("abstract");
			result = _tmp1_;
			return result;
		}
		case VALADOC_METHOD_BINDING_TYPE_VIRTUAL:
		{
			gchar* _tmp2_;
			_tmp2_ = g_strdup ("virtual");
			result = _tmp2_;
			return result;
		}
		case VALADOC_METHOD_BINDING_TYPE_INLINE:
		{
			gchar* _tmp3_;
			_tmp3_ = g_strdup ("inline");
			result = _tmp3_;
			return result;
		}
		case VALADOC_METHOD_BINDING_TYPE_STATIC:
		{
			gchar* _tmp4_;
			_tmp4_ = g_strdup ("static");
			result = _tmp4_;
			return result;
		}
		case VALADOC_METHOD_BINDING_TYPE_UNMODIFIED:
		{
			gchar* _tmp5_;
			_tmp5_ = g_strdup ("");
			result = _tmp5_;
			return result;
		}
		default:
		break;
	}
	g_assert_not_reached ();
}


GType valadoc_method_binding_type_get_type (void) {
	static volatile gsize valadoc_method_binding_type_type_id__volatile = 0;
	if (g_once_init_enter (&valadoc_method_binding_type_type_id__volatile)) {
		static const GEnumValue values[] = {{VALADOC_METHOD_BINDING_TYPE_UNMODIFIED, "VALADOC_METHOD_BINDING_TYPE_UNMODIFIED", "unmodified"}, {VALADOC_METHOD_BINDING_TYPE_OVERRIDE, "VALADOC_METHOD_BINDING_TYPE_OVERRIDE", "override"}, {VALADOC_METHOD_BINDING_TYPE_ABSTRACT, "VALADOC_METHOD_BINDING_TYPE_ABSTRACT", "abstract"}, {VALADOC_METHOD_BINDING_TYPE_VIRTUAL, "VALADOC_METHOD_BINDING_TYPE_VIRTUAL", "virtual"}, {VALADOC_METHOD_BINDING_TYPE_INLINE, "VALADOC_METHOD_BINDING_TYPE_INLINE", "inline"}, {VALADOC_METHOD_BINDING_TYPE_STATIC, "VALADOC_METHOD_BINDING_TYPE_STATIC", "static"}, {0, NULL, NULL}};
		GType valadoc_method_binding_type_type_id;
		valadoc_method_binding_type_type_id = g_enum_register_static ("ValadocMethodBindingType", values);
		g_once_init_leave (&valadoc_method_binding_type_type_id__volatile, valadoc_method_binding_type_type_id);
	}
	return valadoc_method_binding_type_type_id__volatile;
}



