mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
14 lines
272 B
C++
14 lines
272 B
C++
int counter = 12;
|
|
|
|
int getCounterFromCxx() { return counter; }
|
|
|
|
void setCounterFromCxx(int c) { counter = c; }
|
|
|
|
namespace Namespaced {
|
|
int counter = 12;
|
|
|
|
int getCounterFromCxx() { return counter; }
|
|
|
|
void setCounterFromCxx(int c) { counter = c; }
|
|
} // namespace Namespaced
|