GeezerVison is showing github.com — Fix symbol visibility. · ssam18/python@a74c8e3
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: include/boost/python/exec.hpp +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -17,12 +17,14 @@ namespace python | 17 | 17 | // global and local are the global and local scopes respectively, | 18 | 18 | // used during execution. | 19 | 19 | object | | 20 | +BOOST_PYTHON_DECL | 20 | 21 | exec(str string, object global = object(), object local = object()); | 21 | 22 |
| 22 | 23 | // Execute python source code from file filename. | 23 | 24 | // global and local are the global and local scopes respectively, | 24 | 25 | // used during execution. | 25 | 26 | object | | 27 | +BOOST_PYTHON_DECL | 26 | 28 | exec_file(str filename, object global = object(), object local = object()); | 27 | 29 |
| 28 | 30 | } | |
Collapse file Copy file name to clipboardExpand all lines: include/boost/python/import.hpp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -14,7 +14,7 @@ namespace python | 14 | 14 | { | 15 | 15 |
| 16 | 16 | // Import the named module and return a reference to it. | 17 | | -object import(str name); | | 17 | +object BOOST_PYTHON_DECL import(str name); | 18 | 18 |
| 19 | 19 | } | 20 | 20 | } | |
Collapse file Copy file name to clipboardExpand all lines: src/exec.cpp +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -13,7 +13,7 @@ namespace boost | 13 | 13 | namespace python | 14 | 14 | { | 15 | 15 |
| 16 | | -object exec(str string, object global, object local) | | 16 | +object BOOST_PYTHON_DECL exec(str string, object global, object local) | 17 | 17 | { | 18 | 18 | // should be 'char const *' but older python versions don't use 'const' yet. | 19 | 19 | char *s = python::extract<char *>(string); | @@ -25,7 +25,7 @@ object exec(str string, object global, object local) | 25 | 25 | // Execute python source code from file filename. | 26 | 26 | // global and local are the global and local scopes respectively, | 27 | 27 | // used during execution. | 28 | | -object exec_file(str filename, object global, object local) | | 28 | +object BOOST_PYTHON_DECL exec_file(str filename, object global, object local) | 29 | 29 | { | 30 | 30 | // should be 'char const *' but older python versions don't use 'const' yet. | 31 | 31 | char *f = python::extract<char *>(filename); | |
Collapse file Copy file name to clipboardExpand all lines: src/import.cpp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -13,7 +13,7 @@ namespace boost | 13 | 13 | namespace python | 14 | 14 | { | 15 | 15 |
| 16 | | -object import(str name) | | 16 | +object BOOST_PYTHON_DECL import(str name) | 17 | 17 | { | 18 | 18 | // should be 'char const *' but older python versions don't use 'const' yet. | 19 | 19 | char *n = python::extract<char *>(name); | |
|