MacroSpaceApi.cpp File Reference
#include "rexx.h"
#include "LocalAPIManager.hpp"
#include "LocalMacroSpaceManager.hpp"
#include "LocalAPIContext.hpp"
#include "RexxInternalApis.h"
#include "RexxAPI.h"
Include dependency graph for MacroSpaceApi.cpp:

Go to the source code of this file.

Functions

RexxReturnCode RexxEntry RexxAddMacro (const char *name, const char *file, size_t pos)
 
RexxReturnCode RexxEntry RexxDropMacro (const char *name)
 
RexxReturnCode RexxEntry RexxClearMacroSpace ()
 
RexxReturnCode RexxEntry RexxSaveMacroSpace (size_t count, const char **names, const char *targetFile)
 
RexxReturnCode RexxEntry RexxLoadMacroSpace (size_t count, const char **names, const char *macroFile)
 
RexxReturnCode RexxEntry RexxQueryMacro (const char *name, unsigned short *pos)
 
RexxReturnCode RexxEntry RexxReorderMacro (const char *name, size_t pos)
 
RexxReturnCode RexxEntry RexxResolveMacroFunction (const char *name, RXSTRING *p)
 

Function Documentation

◆ RexxAddMacro()

RexxReturnCode RexxEntry RexxAddMacro ( const char *  name,
const char *  file,
size_t  pos 
)

Definition at line 63 of file MacroSpaceApi.cpp.

References ENTER_REXX_API, EXIT_REXX_API, and MacroSpaceManager.

◆ RexxClearMacroSpace()

RexxReturnCode RexxEntry RexxClearMacroSpace ( void  )

Definition at line 113 of file MacroSpaceApi.cpp.

References ENTER_REXX_API, EXIT_REXX_API, and MacroSpaceManager.

Referenced by RexxRoutine0().

◆ RexxDropMacro()

RexxReturnCode RexxEntry RexxDropMacro ( const char *  name)

Definition at line 90 of file MacroSpaceApi.cpp.

References ENTER_REXX_API, EXIT_REXX_API, and MacroSpaceManager.

◆ RexxLoadMacroSpace()

RexxReturnCode RexxEntry RexxLoadMacroSpace ( size_t  count,
const char **  names,
const char *  macroFile 
)

Definition at line 181 of file MacroSpaceApi.cpp.

References ENTER_REXX_API, EXIT_REXX_API, and MacroSpaceManager.

◆ RexxQueryMacro()

RexxReturnCode RexxEntry RexxQueryMacro ( const char *  name,
unsigned short *  pos 
)

Definition at line 217 of file MacroSpaceApi.cpp.

References ENTER_REXX_API, EXIT_REXX_API, and MacroSpaceManager.

◆ RexxReorderMacro()

RexxReturnCode RexxEntry RexxReorderMacro ( const char *  name,
size_t  pos 
)

Definition at line 248 of file MacroSpaceApi.cpp.

References ENTER_REXX_API, EXIT_REXX_API, and MacroSpaceManager.

◆ RexxResolveMacroFunction()

RexxReturnCode RexxEntry RexxResolveMacroFunction ( const char *  name,
RXSTRING p 
)

Definition at line 276 of file MacroSpaceApi.cpp.

References ENTER_REXX_API, EXIT_REXX_API, and MacroSpaceManager.

◆ RexxSaveMacroSpace()

RexxReturnCode RexxEntry RexxSaveMacroSpace ( size_t  count,
const char **  names,
const char *  targetFile 
)

Definition at line 144 of file MacroSpaceApi.cpp.

References ENTER_REXX_API, EXIT_REXX_API, and MacroSpaceManager.