"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tclxml/tclxslt-libxslt.c" between
ds9.8.2.tar.gz and ds9.8.2.1.tar.gz

About: SAOImage DS9 is an astronomical imaging and data visualization application that supports FITS images and binary tables, multiple frame buffers, region manipulation, and many scale algorithms and colormaps.

tclxslt-libxslt.c  (ds9.8.2):tclxslt-libxslt.c  (ds9.8.2.1)
skipping to change at line 1555 skipping to change at line 1555
if (objPtr->typePtr == Tcl_GetObjType("int") || if (objPtr->typePtr == Tcl_GetObjType("int") ||
objPtr->typePtr == Tcl_GetObjType("double")) { objPtr->typePtr == Tcl_GetObjType("double")) {
double number; double number;
if (Tcl_GetDoubleFromObj(interp, objPtr, &number) == TCL_OK) { if (Tcl_GetDoubleFromObj(interp, objPtr, &number) == TCL_OK) {
return xmlXPathNewFloat(number); return xmlXPathNewFloat(number);
} else { } else {
return NULL; return NULL;
} }
} else if (objPtr->typePtr == Tcl_GetObjType("boolean")) { } else if (objPtr->typePtr == Tcl_GetObjType("boolean")) {
int bool; int boolv;
if (Tcl_GetBooleanFromObj(interp, objPtr, &bool) == TCL_OK) { if (Tcl_GetBooleanFromObj(interp, objPtr, &boolv) == TCL_OK) {
return xmlXPathNewBoolean(bool); return xmlXPathNewBoolean(boolv);
} else { } else {
return NULL; return NULL;
} }
} else if (objPtr->typePtr == Tcl_GetObjType("list")) { } else if (objPtr->typePtr == Tcl_GetObjType("list")) {
/* /*
* If each of the elements can be converted to a node, * If each of the elements can be converted to a node,
* then return a nodeset. * then return a nodeset.
*/ */
int i, len; int i, len;
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)