diff options
author | Dave Beckett <dave@dajobe.org> | 2005-08-19 16:35:16 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2005-08-19 16:35:16 +0000 |
commit | 57ee17586f1e185165bc1b30ff5de42250d69f56 (patch) | |
tree | 11b9667b366753cafd72022e41f604edaf8c026f /src/raptor_locator.c | |
parent | 1e25b996d12c0bc73231b169a0f30a73542e3abf (diff) | |
download | raptor-57ee17586f1e185165bc1b30ff5de42250d69f56.tar.gz |
autodocs reformatted for gtk-doc
Diffstat (limited to 'src/raptor_locator.c')
-rw-r--r-- | src/raptor_locator.c | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/src/raptor_locator.c b/src/raptor_locator.c index 3066538d..cd3670ab 100644 --- a/src/raptor_locator.c +++ b/src/raptor_locator.c @@ -52,9 +52,11 @@ /** - * raptor_print_locator - Print a raptor locator to a stream + * raptor_print_locator: * @stream: stream to print to - * @locator: &raptor_locator to print + * @locator: #raptor_locator to print + * + * Print a raptor locator to a stream. * **/ void @@ -79,10 +81,12 @@ raptor_print_locator(FILE *stream, raptor_locator* locator) /** - * raptor_format_locator - Format a raptor locator as a string + * raptor_format_locator: * @buffer: buffer to store format * @length: size of buffer - * @locator: &raptor_locator to format + * @locator: #raptor_locator to format + * + * Format a raptor locator as a string. * * If buffer is NULL or length is insufficient for the size of * the locator, returns the number of additional bytes required @@ -150,9 +154,11 @@ raptor_update_document_locator (raptor_parser *rdf_parser) { } /** - * raptor_locator_line: get line number from locator + * raptor_locator_line: * @locator: locator * + * Get line number from locator. + * * Return value: integer line number, or -1 if there is no line number available **/ int @@ -164,9 +170,11 @@ raptor_locator_line(raptor_locator *locator) } /** - * raptor_locator_column: get column number from locator + * raptor_locator_column: * @locator: locator * + * Get column number from locator. + * * Return value: integer column number, or -1 if there is no column number available **/ int @@ -178,9 +186,11 @@ raptor_locator_column(raptor_locator *locator) } /** - * raptor_locator_byte: get the locator byte offset from locator + * raptor_locator_byte: * @locator: locator * + * Get the locator byte offset from locator. + * * Return value: integer byte number, or -1 if there is no byte offset available **/ int @@ -192,9 +202,11 @@ raptor_locator_byte(raptor_locator *locator) } /** - * raptor_locator_file: get file name from locator + * raptor_locator_file: * @locator: locator * + * Get file name from locator. + * * Return value: string file name, or NULL if there is no filename available **/ const char * @@ -206,9 +218,11 @@ raptor_locator_file(raptor_locator *locator) } /** - * raptor_locator_uri: get URI from locator + * raptor_locator_uri: * @locator: locator * + * Get URI from locator. + * * Returns a pointer to a shared string version of the URI in * the locator. This must be copied if it is needed. * |