diff options
author | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-30 17:33:09 +0000 |
---|---|---|
committer | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-30 17:33:09 +0000 |
commit | 41d0d2f9059bb72d8f4fab3b69bb15a17ea5dcb0 (patch) | |
tree | d01df0d2676f6d090b83166b11836bba7912438c /include | |
parent | 11b0dddd597c66c665a999848b98eea482c22ee9 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkChecksum.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 - |