comment-only: add "this may change" warning to SkChecksum.h
authorepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 30 Oct 2012 17:33:09 +0000 (17:33 +0000)
committerepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 30 Oct 2012 17:33:09 +0000 (17:33 +0000)
Review URL: https://codereview.appspot.com/6810054

git-svn-id: http://skia.googlecode.com/svn/trunk@6205 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkChecksum.h

index e5cc3d1..9cb45c3 100644 (file)
@@ -30,6 +30,11 @@ public:
     /**
      *  Compute a 32-bit checksum for a given data block
      *
+     *  WARNING: this algorithm is tuned for efficiency, not backward/forward
+     *  compatibility.  It may change at any time, so a checksum generated with
+     *  one version of the Skia code may not match a checksum generated with
+     *  a different version of the Skia code.
+     *
      *  @param data Memory address of the data block to be processed. Must be
      *              32-bit aligned.
      *  @param size Size of the data block in bytes. Must be a multiple of 4.
@@ -83,4 +88,3 @@ public:
 };
 
 #endif
-