-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61db7d3
commit 34d27b7
Showing
5 changed files
with
13 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,19 @@ | ||
#ifndef LIBWALLYCORE_CONFIG_H | ||
#define LIBWALLYCORE_CONFIG_H | ||
|
||
/* config.h for Windows. Assumes a little-endian intel-ish target */ | ||
#include <stddef.h> | ||
|
||
#define HAVE_ATTRIBUTE_WEAK 1 | ||
#define HAVE_BIG_ENDIAN 0 | ||
#define HAVE_BSWAP_64 0 | ||
#define HAVE_BYTESWAP_H 0 | ||
#define HAVE_DLFCN_H 1 | ||
#define HAVE_INTTYPES_H 1 | ||
#define HAVE_LITTLE_ENDIAN 1 | ||
#define HAVE_MEMORY_H 1 | ||
#define HAVE_MMAP 1 | ||
#define HAVE_PTHREAD 1 | ||
#define HAVE_PTHREAD_PRIO_INHERIT 1 | ||
#define HAVE_PYTHON "2.7" | ||
#define HAVE_STDINT_H 1 | ||
#define HAVE_STDLIB_H 1 | ||
#define HAVE_STRINGS_H 1 | ||
#define HAVE_STRING_H 1 | ||
#define HAVE_SYS_STAT_H 1 | ||
#define HAVE_SYS_TYPES_H 1 | ||
#define HAVE_UNISTD_H 1 | ||
#define STDC_HEADERS 1 | ||
#define VERSION "0.6" | ||
#if (!defined(_SSIZE_T_DECLARED)) && (!defined(_ssize_t)) && (!defined(ssize_t)) | ||
#define ssize_t long long | ||
#ifndef _WIN32 | ||
#error windows_config/config.h is only intended for windows builds | ||
#endif | ||
|
||
#define alignment_ok(p, n) ((size_t)(p) % (n) == 0) | ||
#define HAVE_UNALIGNED_ACCESS 1 | ||
|
||
void wally_clear(void *p, size_t len); | ||
#if (!defined(_SSIZE_T_DECLARED)) && (!defined(_ssize_t)) && (!defined(ssize_t)) | ||
#define ssize_t long long | ||
#endif | ||
|
||
#define CCAN_CLEAR_MEMORY(p, len) wally_clear(p, len) | ||
#include "ccan_config.h" | ||
|
||
#endif /*LIBWALLYCORE_CONFIG_H*/ | ||
#endif /* LIBWALLYCORE_CONFIG_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
REM You need to set SWIG_PATH to the location where the swig zip | ||
REM file is expanded to | ||
%SWIG_PATH%\swig -python -Isrc -I%SWIG_PATH%\Lib\python -DBUILD_ELEMENTS=1 src\swig_python\swig.i | ||
%SWIG_PATH%\swig -python -Isrc -I%SWIG_PATH%\Lib\python -DBUILD_ELEMENTS=1 src\swig_python\swig.i -o src\swig_python\swig_python_wrap.c | ||
copy src\swig_python\wallycore.py + src\swig_python\python_extra.py_in src\swig_python\wallycore\__init__.py /B | ||
del src\swig_python\wallycore.py |