mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-12 10:46:09 +00:00

This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
12 lines
119 B
C++
12 lines
119 B
C++
namespace ns {
|
|
int func(void)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
extern "C" int foo(void)
|
|
{
|
|
return ns::func();
|
|
}
|