rasqal_new_simple_literal

Name

rasqal_new_simple_literal --  Constructor - Create a new Rasqal simple literal

Synopsis

rasqal_literal* rasqal_new_simple_literal (rasqal_literal_type type, const unsigned char * string);

Arguments

type

RASQAL_LITERAL_BLANK or RASQAL_LITERAL_BLANK_QNAME

string

the UTF-8 string value to store

Description

The string is an input parameter and is stored in the literal, not copied.

Return value

New rasqal_literal or NULL on failure