summaryrefslogtreecommitdiff
path: root/src/raptor_qname.c
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2010-01-05 20:09:13 -0800
committerDave Beckett <dave@dajobe.org>2010-01-05 20:09:13 -0800
commitf8154bff592cc3d1ca98f4b15491e2dadcebc40f (patch)
treef603533d2e1c2f13f6317f971f97f0ae2ed09516 /src/raptor_qname.c
parent9eb239d67c5ccb2eb995de27d552c3f07b8e557d (diff)
downloadraptor-f8154bff592cc3d1ca98f4b15491e2dadcebc40f.tar.gz
Remove all raptor v1 APIs with v2 replacements.
Remove RAPTOR_V2_EXPERIMENTAL - no longer experimental. Remove RAPTOR_V1 - not needed. Remove all blocks that were protected by RAPTOR_DISABLE_V1 including structs, prototypes and V1 functions.
Diffstat (limited to 'src/raptor_qname.c')
-rw-r--r--src/raptor_qname.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/raptor_qname.c b/src/raptor_qname.c
index 843a771d..ebe57556 100644
--- a/src/raptor_qname.c
+++ b/src/raptor_qname.c
@@ -219,36 +219,6 @@ raptor_new_qname(raptor_namespace_stack *nstack,
}
-#ifndef RAPTOR_DISABLE_V1
-/**
- * raptor_new_qname_from_namespace_local_name:
- * @ns: namespace of qname (or NULL)
- * @local_name: element or attribute name
- * @value: attribute value (else is an element)
- *
- * Constructor - create a new XML qname.
- *
- * Create a new qname from the namespace and local element/attribute name,
- * with optional (attribute) value.
- *
- * raptor_init() MUST have been called before calling this function.
- * Use raptor_new_qname_from_namespace_local_name_v2() if using raptor_world APIs.
- *
- * Return value: a new #raptor_qname object or NULL on failure
- **/
-raptor_qname*
-raptor_new_qname_from_namespace_local_name(raptor_namespace *ns,
- const unsigned char *local_name,
- const unsigned char *value)
-{
- return raptor_new_qname_from_namespace_local_name_v2(raptor_world_instance(),
- ns,
- local_name,
- value);
-}
-#endif
-
-
/**
* raptor_new_qname_from_namespace_local_name_v2:
* @world: raptor_world object