From 41d0d2f9059bb72d8f4fab3b69bb15a17ea5dcb0 Mon Sep 17 00:00:00 2001 From: "epoger@google.com" Date: Tue, 30 Oct 2012 17:33:09 +0000 Subject: comment-only: add "this may change" warning to SkChecksum.h 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/core/SkChecksum.h') diff --git a/include/core/SkChecksum.h b/include/core/SkChecksum.h index e5cc3d101f..9cb45c3307 100644 --- a/include/core/SkChecksum.h +++ b/include/core/SkChecksum.h @@ -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 - -- cgit v1.2.3