Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyrasite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
pyrasite
Commits
d0c90ab3
Commit
d0c90ab3
authored
Mar 13, 2017
by
Luke Macken
Committed by
GitHub
Mar 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #63 from DeanF/develop
Added Python35 and Python36 to list of possible versions in windows.
parents
bc40e727
2417cf09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pyrasite/win/inject_python.cpp
pyrasite/win/inject_python.cpp
+3
-3
tox.ini
tox.ini
+1
-1
No files found.
pyrasite/win/inject_python.cpp
View file @
d0c90ab3
...
@@ -182,8 +182,8 @@ int InjectPythonCode(HANDLE hProcess, const char *code, char *moduleName)
...
@@ -182,8 +182,8 @@ int InjectPythonCode(HANDLE hProcess, const char *code, char *moduleName)
int
InjectPythonCodeToPID
(
DWORD
pid
,
const
char
*
code
)
int
InjectPythonCodeToPID
(
DWORD
pid
,
const
char
*
code
)
{
{
char
versions
[][
9
]
=
{
"Python34"
,
"Python33"
,
"Python32"
,
"Python31"
,
"Python30"
,
"Python27"
,
"Python26"
,
"Python25"
,
"Python24"
};
char
versions
[][
9
]
=
{
"Python3
6"
,
"Python35"
,
"Python3
4"
,
"Python33"
,
"Python32"
,
"Python31"
,
"Python30"
,
"Python27"
,
"Python26"
,
"Python25"
,
"Python24"
};
unsigned
int
numVersions
=
9
;
unsigned
int
numVersions
=
11
;
unsigned
int
i
;
unsigned
int
i
;
int
retCode
=
0
;
int
retCode
=
0
;
int
ret
;
int
ret
;
...
@@ -262,4 +262,4 @@ int main(int argc, char *argv[])
...
@@ -262,4 +262,4 @@ int main(int argc, char *argv[])
return
20
+
ret
;
return
20
+
ret
;
}
}
return
0
;
return
0
;
}
}
\ No newline at end of file
tox.ini
View file @
d0c90ab3
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# and then run "tox" from this directory.
# and then run "tox" from this directory.
[tox]
[tox]
envlist
=
py26, py27, py33
envlist
=
py26, py27, py33
, py35, py36
[testenv]
[testenv]
commands
=
nosetests
commands
=
nosetests
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment