summaryrefslogtreecommitdiffstats
path: root/src/libcroco/cr-enc-handler.c
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-11-03 10:43:56 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-11-03 10:43:56 +0000
commit12b7ebd7b9f39010a6d93d56f2b3629d73c985a0 (patch)
treeb8c30f1cb703df6485a1c2367ca72a5b1e45dfc4 /src/libcroco/cr-enc-handler.c
parentFix for Bug #1243394 (XAML exporter doesn't remove unnecessary filters attrib... (diff)
downloadinkscape-12b7ebd7b9f39010a6d93d56f2b3629d73c985a0.tar.gz
inkscape-12b7ebd7b9f39010a6d93d56f2b3629d73c985a0.zip
Merge upstream libcroco 0.6.3 changes
(bzr r12765)
Diffstat (limited to 'src/libcroco/cr-enc-handler.c')
-rw-r--r--src/libcroco/cr-enc-handler.c35
1 files changed, 22 insertions, 13 deletions
diff --git a/src/libcroco/cr-enc-handler.c b/src/libcroco/cr-enc-handler.c
index 973a5f373..993254a33 100644
--- a/src/libcroco/cr-enc-handler.c
+++ b/src/libcroco/cr-enc-handler.c
@@ -74,10 +74,13 @@ static CREncHandler gv_default_enc_handlers[] = {
};
/**
+ * cr_enc_handler_get_instance:
+ *@a_enc: the encoding of the Handler.
+ *
*Gets the instance of encoding handler.
*This function implements a singleton pattern.
- *@param a_enc the encoding of the Handler.
- *@return the instance of #CREncHandler.
+ *
+ *Returns the instance of #CREncHandler.
*/
CREncHandler *
cr_enc_handler_get_instance (enum CREncoding a_enc)
@@ -95,12 +98,15 @@ cr_enc_handler_get_instance (enum CREncoding a_enc)
}
/**
+ * cr_enc_handler_resolve_enc_alias:
+ *@a_alias_name: the encoding name.
+ *@a_enc: output param. The returned encoding type
+ *or 0 if the alias is not supported.
+ *
*Given an encoding name (called an alias name)
*the function returns the matching encoding type.
- *@param a_alias_name the encoding name
- *@param a_enc output param. The returned encoding type
- *or 0 if the alias is not supported.
- *@return CR_OK upon successfull completion, an error code otherwise.
+ *
+ *Returns CR_OK upon successfull completion, an error code otherwise.
*/
enum CRStatus
cr_enc_handler_resolve_enc_alias (const guchar * a_alias_name,
@@ -126,16 +132,19 @@ cr_enc_handler_resolve_enc_alias (const guchar * a_alias_name,
}
/**
- *Converts a raw input buffer into an utf8 buffer.
- *@param a_this the current instance of #CREncHandler.
- *@param a_in the input buffer to convert.
- *@param a_in_len in/out parameter. The len of the input
+ * cr_enc_handler_convert_input:
+ *@a_this: the current instance of #CREncHandler.
+ *@a_in: the input buffer to convert.
+ *@a_in_len: in/out parameter. The len of the input
*buffer to convert. After return, contains the number of
*bytes actually consumed.
- *@param @a_out output parameter. The converted output buffer.
+ *@a_out: output parameter. The converted output buffer.
*Must be freed by the buffer.
- *@param a_out_len output parameter. The length of the output buffer.
- *@return CR_OK upon successfull completion, an error code otherwise.
+ *@a_out_len: output parameter. The length of the output buffer.
+ *
+ *Converts a raw input buffer into an utf8 buffer.
+ *
+ *Returns CR_OK upon successfull completion, an error code otherwise.
*/
enum CRStatus
cr_enc_handler_convert_input (CREncHandler * a_this,