]> matita.cs.unibo.it Git - helm.git/commitdiff
*** empty log message ***
authorLuca Padovani <luca.padovani@unito.it>
Wed, 8 Nov 2000 15:59:11 +0000 (15:59 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Wed, 8 Nov 2000 15:59:11 +0000 (15:59 +0000)
helm/DEVEL/lablgtk_gtkmathview/lablgtk-20000829_gtkmathview-0.2.0/minidom/ml_minidom.h
helm/DEVEL/lablgtk_gtkmathview/lablgtk-20000829_gtkmathview-0.2.0/minidom/test.opt

index 2a812ae0f9aac2f1a13a6ab28fc1ba8d8e2549e5..c40060153b27110e4b2c735fc50327c1c288d86e 100644 (file)
@@ -3,4 +3,8 @@
 #define Val_mDOMString(s) (copy_string((char*) (s)))
 #define mDOMString_val(v) ((mDOMStringRef) String_val(v))
 #define mDOMNode_val(v) ((mDOMNodeRef) v)
-#define Val_mDOMNode_option(p)   ((p != NULL) ? ml_some((value) p) : Val_unit)
+
+#define mDOMNode_option_mDOMNodeRef(p) (((p) != NULL) ? ml_some((value) (p)) : Val_unit)
+#define mDOMNodeRef_mDOMNode_option(v) (((v) == Val_unit) ? NULL : Field((v),0))
+#define Val_mDOMNodeRef(p)             ((value) mDOMNode_option_mDOMNodeRef(p))
+#define mDOMNodeRef_val(v)             ((mDOMNodeRef) mDOMNodeRef_mDOMNode_option(v))
index 4f31b881542d5312f2d3ab39ddaf16efa04f49e0..20307125b44342b711b9933fe338588d085697d2 100755 (executable)
Binary files a/helm/DEVEL/lablgtk_gtkmathview/lablgtk-20000829_gtkmathview-0.2.0/minidom/test.opt and b/helm/DEVEL/lablgtk_gtkmathview/lablgtk-20000829_gtkmathview-0.2.0/minidom/test.opt differ