GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix symbol visibility. · ssam18/python@a74c8e3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • include/boost/python
    • exec.hpp
    • import.hpp
  • src
    • exec.cpp
    • import.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎include/boost/python/exec.hpp‎

Copy file name to clipboardExpand all lines: include/boost/python/exec.hpp
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ namespace python
1717
// global and local are the global and local scopes respectively,
1818
// used during execution.
1919
object
20+
BOOST_PYTHON_DECL
2021
exec(str string, object global = object(), object local = object());
2122

2223
// Execute python source code from file filename.
2324
// global and local are the global and local scopes respectively,
2425
// used during execution.
2526
object
27+
BOOST_PYTHON_DECL
2628
exec_file(str filename, object global = object(), object local = object());
2729

2830
}
Collapse file

‎include/boost/python/import.hpp‎

Copy file name to clipboardExpand all lines: include/boost/python/import.hpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace python
1414
{
1515

1616
// Import the named module and return a reference to it.
17-
object import(str name);
17+
object BOOST_PYTHON_DECL import(str name);
1818

1919
}
2020
}
Collapse file

‎src/exec.cpp‎

Copy file name to clipboardExpand all lines: src/exec.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace boost
1313
namespace python
1414
{
1515

16-
object exec(str string, object global, object local)
16+
object BOOST_PYTHON_DECL exec(str string, object global, object local)
1717
{
1818
// should be 'char const *' but older python versions don't use 'const' yet.
1919
char *s = python::extract<char *>(string);
@@ -25,7 +25,7 @@ object exec(str string, object global, object local)
2525
// Execute python source code from file filename.
2626
// global and local are the global and local scopes respectively,
2727
// 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)
2929
{
3030
// should be 'char const *' but older python versions don't use 'const' yet.
3131
char *f = python::extract<char *>(filename);
Collapse file

‎src/import.cpp‎

Copy file name to clipboardExpand all lines: src/import.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace boost
1313
namespace python
1414
{
1515

16-
object import(str name)
16+
object BOOST_PYTHON_DECL import(str name)
1717
{
1818
// should be 'char const *' but older python versions don't use 'const' yet.
1919
char *n = python::extract<char *>(name);

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.