Skip to content

Commit

Permalink
Bump to v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ifduyue committed Oct 18, 2014
1 parent 118d6aa commit b4ab6fe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions python-xxhash.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ static int PYXXH32_init(PYXXH32Object *self, PyObject *args, PyObject *kwargs)
}

self->xxhash_state = XXH32_init(seed);
if (self->xxhash_state == NULL) {
PyErr_NoMemory();
return -1;
}

return 0;
}
Expand Down Expand Up @@ -221,6 +225,10 @@ static int PYXXH64_init(PYXXH64Object *self, PyObject *args, PyObject *kwargs)
}

self->xxhash_state = XXH64_init(seed);
if (self->xxhash_state == NULL) {
PyErr_NoMemory();
return -1;
}

return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from setuptools import setup, Extension
import os

VERSION = "0.1.1"
XXHASH_VERSION = "r35"
VERSION = "0.1.2"
XXHASH_VERSION = "r36"

if os.name == 'posix':
extra_compile_args = [
Expand Down

0 comments on commit b4ab6fe

Please sign in to comment.