raptor2.h | raptor2.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
*/ | */ | |||
#define RAPTOR_V2_AVAILABLE 1 | #define RAPTOR_V2_AVAILABLE 1 | |||
/** | /** | |||
* RAPTOR_VERSION: | * RAPTOR_VERSION: | |||
* | * | |||
* Raptor library version number | * Raptor library version number | |||
* | * | |||
* Format: major * 10000 + minor * 100 + release | * Format: major * 10000 + minor * 100 + release | |||
*/ | */ | |||
#define RAPTOR_VERSION 20007 | #define RAPTOR_VERSION 20008 | |||
/** | /** | |||
* RAPTOR_VERSION_STRING: | * RAPTOR_VERSION_STRING: | |||
* | * | |||
* Raptor library version string | * Raptor library version string | |||
*/ | */ | |||
#define RAPTOR_VERSION_STRING "2.0.7" | #define RAPTOR_VERSION_STRING "2.0.8" | |||
/** | /** | |||
* RAPTOR_VERSION_MAJOR: | * RAPTOR_VERSION_MAJOR: | |||
* | * | |||
* Raptor library major version | * Raptor library major version | |||
*/ | */ | |||
#define RAPTOR_VERSION_MAJOR 2 | #define RAPTOR_VERSION_MAJOR 2 | |||
/** | /** | |||
* RAPTOR_VERSION_MINOR: | * RAPTOR_VERSION_MINOR: | |||
* | * | |||
* Raptor library minor version | * Raptor library minor version | |||
*/ | */ | |||
#define RAPTOR_VERSION_MINOR 0 | #define RAPTOR_VERSION_MINOR 0 | |||
/** | /** | |||
* RAPTOR_VERSION_RELEASE: | * RAPTOR_VERSION_RELEASE: | |||
* | * | |||
* Raptor library release | * Raptor library release | |||
*/ | */ | |||
#define RAPTOR_VERSION_RELEASE 7 | #define RAPTOR_VERSION_RELEASE 8 | |||
/** | /** | |||
* RAPTOR_API: | * RAPTOR_API: | |||
* | * | |||
* Macro for wrapping API function call declarations. | * Macro for wrapping API function call declarations. | |||
* | * | |||
*/ | */ | |||
#ifndef RAPTOR_API | #ifndef RAPTOR_API | |||
# ifdef WIN32 | # ifdef WIN32 | |||
# ifdef __GNUC__ | # ifdef __GNUC__ | |||
skipping to change at line 1061 | skipping to change at line 1061 | |||
int raptor_term_equals(raptor_term* t1, raptor_term* t2); | int raptor_term_equals(raptor_term* t1, raptor_term* t2); | |||
RAPTOR_API | RAPTOR_API | |||
void raptor_free_term(raptor_term *term); | void raptor_free_term(raptor_term *term); | |||
RAPTOR_API | RAPTOR_API | |||
unsigned char* raptor_term_to_counted_string(raptor_term *term, size_t* len _p); | unsigned char* raptor_term_to_counted_string(raptor_term *term, size_t* len _p); | |||
RAPTOR_API | RAPTOR_API | |||
unsigned char* raptor_term_to_string(raptor_term *term); | unsigned char* raptor_term_to_string(raptor_term *term); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_term_ntriples_write(const raptor_term *term, raptor_iostream* io str); | int raptor_term_ntriples_write(const raptor_term *term, raptor_iostream* io str); | |||
RAPTOR_API | ||||
int raptor_uri_turtle_write(raptor_world *world, raptor_iostream* iostr, ra | ||||
ptor_uri* uri, raptor_namespace_stack *nstack, raptor_uri *base_uri); | ||||
RAPTOR_API | ||||
int raptor_term_turtle_write(raptor_iostream* iostr, raptor_term* term, rap | ||||
tor_namespace_stack *nstack, raptor_uri *base_uri); | ||||
RAPTOR_API | ||||
unsigned char* raptor_uri_to_turtle_counted_string(raptor_world *world, rap | ||||
tor_uri* uri, raptor_namespace_stack *nstack, raptor_uri *base_uri, size_t | ||||
*len_p); | ||||
RAPTOR_API | ||||
unsigned char* raptor_uri_to_turtle_string(raptor_world *world, raptor_uri* | ||||
uri, raptor_namespace_stack *nstack, raptor_uri *base_uri); | ||||
RAPTOR_API | ||||
unsigned char* raptor_term_to_turtle_counted_string(raptor_term* term, rapt | ||||
or_namespace_stack *nstack, raptor_uri *base_uri, size_t *len_p); | ||||
RAPTOR_API | ||||
unsigned char* raptor_term_to_turtle_string(raptor_term* term, raptor_names | ||||
pace_stack *nstack, raptor_uri *base_uri); | ||||
/* Statement Class */ | /* Statement Class */ | |||
RAPTOR_API | RAPTOR_API | |||
void raptor_statement_init(raptor_statement *statement, raptor_world *world ); | void raptor_statement_init(raptor_statement *statement, raptor_world *world ); | |||
RAPTOR_API | RAPTOR_API | |||
void raptor_statement_clear(raptor_statement *statement); | void raptor_statement_clear(raptor_statement *statement); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_statement* raptor_new_statement(raptor_world *world); | raptor_statement* raptor_new_statement(raptor_world *world); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_statement* raptor_new_statement_from_nodes(raptor_world* world, rapt or_term *subject, raptor_term *predicate, raptor_term *object, raptor_term *graph); | raptor_statement* raptor_new_statement_from_nodes(raptor_world* world, rapt or_term *subject, raptor_term *predicate, raptor_term *object, raptor_term *graph); | |||
skipping to change at line 1220 | skipping to change at line 1232 | |||
/* URI Class */ | /* URI Class */ | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri_from_counted_string(raptor_world* world, const u nsigned char *uri_string, size_t length); | raptor_uri* raptor_new_uri_from_counted_string(raptor_world* world, const u nsigned char *uri_string, size_t length); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri(raptor_world* world, const unsigned char *uri_st ring); | raptor_uri* raptor_new_uri(raptor_world* world, const unsigned char *uri_st ring); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri_from_uri_local_name(raptor_world* world, raptor_ uri *uri, const unsigned char *local_name); | raptor_uri* raptor_new_uri_from_uri_local_name(raptor_world* world, raptor_ uri *uri, const unsigned char *local_name); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri_relative_to_base(raptor_world* world, raptor_uri *base_uri, const unsigned char *uri_string); | raptor_uri* raptor_new_uri_relative_to_base(raptor_world* world, raptor_uri *base_uri, const unsigned char *uri_string); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri_relative_to_base_counted(raptor_world* world, ra | ||||
ptor_uri *base_uri, const unsigned char *uri_string, size_t uri_len); | ||||
RAPTOR_API | ||||
raptor_uri* raptor_new_uri_from_id(raptor_world* world, raptor_uri *base_ur i, const unsigned char *id); | raptor_uri* raptor_new_uri_from_id(raptor_world* world, raptor_uri *base_ur i, const unsigned char *id); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri_from_uri_or_file_string(raptor_world* world, rap tor_uri* base_uri, const unsigned char* uri_or_file_string); | raptor_uri* raptor_new_uri_from_uri_or_file_string(raptor_world* world, rap tor_uri* base_uri, const unsigned char* uri_or_file_string); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri_for_rdf_concept(raptor_world* world, const unsig ned char *name); | raptor_uri* raptor_new_uri_for_rdf_concept(raptor_world* world, const unsig ned char *name); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri_for_xmlbase(raptor_uri* old_uri); | raptor_uri* raptor_new_uri_for_xmlbase(raptor_uri* old_uri); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_new_uri_for_retrieval(raptor_uri* old_uri); | raptor_uri* raptor_new_uri_for_retrieval(raptor_uri* old_uri); | |||
RAPTOR_API | RAPTOR_API | |||
End of changes. 5 change blocks. | ||||
3 lines changed or deleted | 25 lines changed or added | |||