devel-versioning.rst
changeset 950 06221010c81d
parent 949 57b995de80b5
child 1003 4b8b3daac0db
--- a/devel-versioning.rst	Fri Aug 19 00:52:30 2011 +0300
+++ b/devel-versioning.rst	Sun Aug 21 22:25:21 2011 +0300
@@ -32,20 +32,20 @@
 Compatibility formula.
 ======================
 
-Assume that app linked with new version of lib. Thus
+Assume that app linked with new version of lib. Thus::
 
-is_compatible_with_old(old, new) {
-  if (old.major != new.major) return 0;
-  if (old.minor > new.minor) return 0;
-  return 1;
-}
+  is_compatible_with_old(old, new) {
+    if (old.major != new.major) return 0;
+    if (old.minor > new.minor) return 0;
+    return 1;
+  }
 
-Assume that app linked with old version of lib. Thus
+Assume that app linked with old version of lib. Thus::
 
-is_compatible_with_new(old, new) {
-  if (old.major != new.major) return 0;
-  return 1;
-}
+  is_compatible_with_new(old, new) {
+    if (old.major != new.major) return 0;
+    return 1;
+  }
 
 Reference.
 ==========