grayphash 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/grayphash/grayphash.cpp +3 -3
- metadata +1 -1
data/ext/grayphash/grayphash.cpp
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
extern "C" VALUE t_about(VALUE self)
|
|
20
20
|
{
|
|
21
|
-
return rb_str_new_cstr("pHash 0.9.4. Copyright 2008-2010 Aetilius, Inc. Included only some image functions (grayphash v-0.0.
|
|
21
|
+
return rb_str_new_cstr("pHash 0.9.4. Copyright 2008-2010 Aetilius, Inc. Included only some image functions (grayphash v-0.0.7).");
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
extern "C" VALUE t_hamming(VALUE self, VALUE phash1, VALUE phash2) {
|
|
100
|
-
Check_Type(phash1, T_BIGNUM);
|
|
101
|
-
Check_Type(phash2, T_BIGNUM);
|
|
100
|
+
//Check_Type(phash1, T_BIGNUM);
|
|
101
|
+
//Check_Type(phash2, T_BIGNUM);
|
|
102
102
|
|
|
103
103
|
ulong64 hash1 = rb_num2ull(phash1);
|
|
104
104
|
ulong64 hash2 = rb_num2ull(phash2);
|