croco-node-iface.cpp revision cb9f00490c21d085087d6db4fe89294e3890ed2d
#include <cstring>
#include <string>
#include <glib/gstrfuncs.h>
#include "xml/croco-node-iface.h"
static char const *
local_part(char const *const qname)
{
if (ret)
return ++ret;
else
return qname;
}
namespace Inkscape {
namespace XML {
extern "C" {
static CRXMLNodePtr get_first_child(CRXMLNodePtr n) { return static_cast<Node const *>(n)->firstChild(); }
{
if (n_pos) {
} else {
return NULL;
}
}
static char *get_attr(CRXMLNodePtr n, char const *a)
{
}
static char const *get_local_name(CRXMLNodePtr n) { return local_part(static_cast<Node const *>(n)->name()); }
static gboolean is_element_node(CRXMLNodePtr n) { return static_cast<Node const *>(n)->type() == ELEMENT_NODE; }
}
/**
* @brief Interface for XML nodes used by libcroco
*
* This structure defines operations on Inkscape::XML::Node used by the libcroco
* CSS parsing library.
*/
CRNodeIface const croco_node_iface = {
};
}
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :