src/treebuilder/element-type.c
element_type element_type_from_name(
		hubbub_treebuilder *treebuilder,
		const hubbub_string *tag_name)
{
	const struct element_type_map *value;

	UNUSED(treebuilder);

	value = hubbub_element_type_generated_lookup(
			(const char *)tag_name->ptr,
			tag_name->len);
	if (value == NULL) {
		return UNKNOWN;
	}

	return value->type;
}
/* Exported function, documented in element-type.h */
Exported function, documented in element-type.h
Exported function documented in element - type . h
element_type element_type_from_name(
		hubbub_treebuilder *treebuilder,
		const hubbub_string *tag_name)
{
	const struct element_type_map *value;
	UNUSED(treebuilder);
	value = hubbub_element_type_generated_lookup(
			(const char *)tag_name->ptr,
			tag_name->len);
	if (value == NULL) {
		return UNKNOWN;
	}
	return value->type;
}
element_type element_type_from_name ( hubbub_treebuilder * treebuilder , const hubbub_string * tag_name ) { const struct element_type_map * value ; UNUSED ( treebuilder ) ; value = hubbub_element_type_generated_lookup ( ( const char * ) tag_name -> ptr , tag_name -> len ) ; if ( value == NULL ) { return UNKNOWN ; } return value -> type ; }
Exported function, documented in element-type.h
Exported function documented in element - type . h