Changeset 20947 for lang/cplusplus/llv8call/trunk/ext/libxml/node.h
- Timestamp:
- 10/08/08 09:00:07 (3 months ago)
- Files:
-
- 1 modified
-
lang/cplusplus/llv8call/trunk/ext/libxml/node.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/llv8call/trunk/ext/libxml/node.h
r20881 r20947 173 173 END 174 174 175 FUNCTION(getValue) 176 ARG_COUNT(0); 177 EXTERNAL_NODE(); 178 xmlChar * content = domGetNodeValue(node); 179 if (content) { 180 Handle<String> s = String::New((const char*)content); 181 xmlFree(content); 182 return s; 183 } else { 184 return Undefined(); 185 } 186 END 187 175 188 static inline void setupNodeIM(Handle<ObjectTemplate> OBJECT_TEMPLATE) { 176 189 BIND_IM("nodeName", nodeName);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)