libcommonc++  0.7
JavaScope.h++ File Reference
Include dependency graph for JavaScope.h++:

Go to the source code of this file.

Classes

class  JavaScope
 A convenience class for creating lexical Java scopes in native code. More...
 

Namespaces

 ccxx
 

Macros

#define java_scoped(JC, CAP)
 Introduce a code block that is within a new Java VM scope for the JavaContext JC and with initial capacity CAP. More...
 

Macro Definition Documentation

◆ java_scoped

#define java_scoped (   JC,
  CAP 
)
Value:
for(JavaScope CCXX_OS_UNIQUE_VARNAME(JC, __LINE__, scope)(JC, CAP); \
CCXX_OS_UNIQUE_VARNAME(JC, __LINE__, scope).testOnce();)

Introduce a code block that is within a new Java VM scope for the JavaContext JC and with initial capacity CAP.