-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
75 changed files
with
345 additions
and
94 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# | ||
# Required to run on platform / side: [UNIX] | ||
# | ||
# Copyright (C) 2017 Sebastian M. Ernst <[email protected]> | ||
# Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
# | ||
# <LICENSE_BLOCK> | ||
# The contents of this file are subject to the GNU Lesser General Public License | ||
|
@@ -27,8 +27,21 @@ | |
# A virtual machine is required to run wine - is it? | ||
sudo: enabled | ||
|
||
# Repository language | ||
language: python | ||
|
||
# A 'recent' version of Ubuntu for a recent version of Wine is required | ||
dist: trusty | ||
# Python 3.4 appears to not being offered for xenial at the moment | ||
matrix: | ||
include: | ||
- dist: trusty | ||
python: "3.4" | ||
- dist: xenial | ||
python: "3.5" | ||
- dist: xenial | ||
python: "3.6" | ||
- dist: xenial | ||
python: "3.7" | ||
|
||
# Get wine and mingw cross compiler | ||
# http://ubuntuhandbook.org/index.php/2017/01/install-wine-2-0-ubuntu-16-04-14-04-16-10/ | ||
|
@@ -38,6 +51,8 @@ before_install: | |
- sudo dpkg --add-architecture i386 | ||
- wget https://dl.winehq.org/wine-builds/Release.key | ||
- sudo apt-key add Release.key | ||
- wget https://dl.winehq.org/wine-builds/winehq.key | ||
- sudo apt-key add winehq.key | ||
- sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' | ||
- sudo apt-get -qq update | ||
- sudo apt-get install -y wine-staging | ||
|
@@ -50,15 +65,6 @@ before_install: | |
- uname -a | ||
- lsb_release -a | ||
|
||
# Repository language | ||
language: python | ||
|
||
# Python version | ||
python: | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
|
||
# command to install dependencies and module | ||
install: | ||
- make dll | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ Calling routines in Windows DLLs from Python scripts running on unixlike systems | |
Required to run on platform / side: [WINE] | ||
Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
|
@@ -449,6 +449,21 @@ void __stdcall DEMODLL replace_letter_in_null_terminated_string_unicode_b( | |
} | ||
|
||
|
||
void __stdcall DEMODLL replace_letter_in_null_terminated_string_r( | ||
char **in_string, | ||
char old_letter, | ||
char new_letter | ||
) | ||
{ | ||
int i; | ||
for (i = 0; i < strlen((*in_string)); i++) { | ||
if((*in_string)[i] == old_letter) { | ||
(*in_string)[i] = new_letter; | ||
} | ||
} | ||
} | ||
|
||
|
||
void __stdcall DEMODLL tag_string_a( | ||
char *in_string, | ||
void *out_string | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ Calling routines in Windows DLLs from Python scripts running on unixlike systems | |
Required to run on platform / side: [WINE] | ||
Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
|
@@ -204,6 +204,12 @@ void __stdcall DEMODLL replace_letter_in_null_terminated_string_b( | |
char new_letter | ||
); | ||
|
||
void __stdcall DEMODLL replace_letter_in_null_terminated_string_r( | ||
char **in_string, | ||
char old_letter, | ||
char new_letter | ||
); | ||
|
||
void __stdcall DEMODLL replace_letter_in_null_terminated_string_unicode_a( | ||
wchar_t *in_string, | ||
wchar_t old_letter, | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# | ||
# Required to run on platform / side: [UNIX] | ||
# | ||
# Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
# Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
# | ||
# <LICENSE_BLOCK> | ||
# The contents of this file are subject to the GNU Lesser General Public License | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# | ||
# Required to run on platform / side: [UNIX] | ||
# | ||
# Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
# Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
# | ||
# <LICENSE_BLOCK> | ||
# The contents of this file are subject to the GNU Lesser General Public License | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
Required to run on platform / side: [UNIX] | ||
Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
Required to run on platform / side: [WINE] | ||
Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
Required to run on platform / side: [UNIX, WINE] | ||
Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
Required to run on platform / side: [UNIX, WINE] | ||
Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
Required to run on platform / side: [UNIX, WINE] | ||
Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
Required to run on platform / side: [UNIX, WINE] | ||
Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# | ||
# Required to run on platform / side: [UNIX] | ||
# | ||
# Copyright (C) 2017-2018 Sebastian M. Ernst <[email protected]> | ||
# Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]> | ||
# | ||
# <LICENSE_BLOCK> | ||
# The contents of this file are subject to the GNU Lesser General Public License | ||
|
@@ -28,6 +28,7 @@ docu: | |
@(cd docs; make clean; make html) | ||
|
||
release: | ||
-rm build/* | ||
-rm dist/* | ||
-rm -r src/*.egg-info | ||
python setup.py sdist bdist_wheel | ||
|
Oops, something went wrong.