Example #1
0
bool c_XMLWriter::t_startcomment() {
  int ret = -1;
  if (m_ptr) {
    ret = xmlTextWriterStartComment(m_ptr);
  }
  return ret != -1;
}
bool c_XMLWriter::t_startcomment() {
  INSTANCE_METHOD_INJECTION_BUILTIN(XMLWriter, XMLWriter::startcomment);
  int ret = -1;
  if (m_ptr) {
    ret = xmlTextWriterStartComment(m_ptr);
  }
  return ret != -1;
}
Example #3
0
/**
 * xml_writer_write_start_comment:
 * @writer: A #XmlWriter
 *
 * Starts an xml comment.
 */
void
xml_writer_write_start_comment (XmlWriter *writer)
{
  XmlWriterPrivate *priv;
  
  g_return_if_fail (XML_IS_WRITER (writer));
  
  priv = writer->priv;
  
  if (priv->writer)
    xmlTextWriterStartComment (priv->writer);
}