summaryrefslogtreecommitdiff
path: root/src/core/string.h
diff options
context:
space:
mode:
authorBo Yang <struggleyb.nku@gmail.com>2009-08-13 09:33:24 +0000
committerBo Yang <struggleyb.nku@gmail.com>2009-08-13 09:33:24 +0000
commit13fadb12fb400818e0ccb4c38b3bfce70ccfdad2 (patch)
tree19c55b39d97567a37b88b49aaaac13b21b9f24ee /src/core/string.h
parentbf6bc398bd40e39a016725550f5b8446a01ee2d1 (diff)
downloadlibdom-13fadb12fb400818e0ccb4c38b3bfce70ccfdad2.tar.gz
libdom-13fadb12fb400818e0ccb4c38b3bfce70ccfdad2.tar.bz2
Merge the Events module (branches/struggleyb/libdom-events) back to trunk. :)
svn path=/trunk/dom/; revision=9236
Diffstat (limited to 'src/core/string.h')
-rw-r--r--src/core/string.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/string.h b/src/core/string.h
index 8372688..46704d8 100644
--- a/src/core/string.h
+++ b/src/core/string.h
@@ -28,5 +28,15 @@ int _dom_lwc_string_compare_raw(struct lwc_string_s *s1,
/* Map the lwc_error to dom_exception */
dom_exception _dom_exception_from_lwc_error(lwc_error err);
+/**
+ * Get the raw character data of the dom_string.
+ * @note: This function is just provided for the convenience of accessing the
+ * raw C string character, no change on the result string is allowed.
+ */
+char *_dom_string_data(struct dom_string *str);
+
+/* Get the string length of this dom_string */
+size_t _dom_string_length(struct dom_string *str);
+
#endif