|
Last change
on this file since 711 was 679, checked in by bird, 22 years ago |
|
* empty log message *
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
305 bytes
|
| Line | |
|---|
| 1 | class foo
|
|---|
| 2 | {
|
|---|
| 3 | public:
|
|---|
| 4 | virtual long GetJavaWrapper(void)
|
|---|
| 5 | {
|
|---|
| 6 | static const char *pszFunction = __FUNCTION__;
|
|---|
| 7 | return *pszFunction;
|
|---|
| 8 | }
|
|---|
| 9 | };
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | int main()
|
|---|
| 13 | {
|
|---|
| 14 | static const char *pszFunction = __FUNCTION__;
|
|---|
| 15 | foo obj;
|
|---|
| 16 | int rc = obj.GetJavaWrapper() + *pszFunction;
|
|---|
| 17 | return rc;
|
|---|
| 18 | }
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.