mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 19:21:46 +00:00
Formatting.
svn-id: r42792
This commit is contained in:
parent
dc3d0549ff
commit
5870635ba6
@ -121,12 +121,13 @@ void Debugger::onFrame() {
|
||||
}
|
||||
|
||||
#if defined(USE_TEXT_CONSOLE) && defined(USE_READLINE)
|
||||
static Debugger* g_readline_debugger;
|
||||
namespace {
|
||||
Debugger *g_readline_debugger;
|
||||
|
||||
char * readline_completionFunction (const char *text, int state)
|
||||
{
|
||||
char *readline_completionFunction(const char *text, int state) {
|
||||
return g_readline_debugger->readlineComplete(text, state);
|
||||
}
|
||||
} // end of anonymous namespace
|
||||
#endif
|
||||
|
||||
// Main Debugger Loop
|
||||
@ -358,8 +359,7 @@ bool Debugger::tabComplete(const char *input, Common::String &completion) const
|
||||
}
|
||||
|
||||
#if defined(USE_TEXT_CONSOLE) && defined(USE_READLINE)
|
||||
char* Debugger::readlineComplete(const char *input, int state)
|
||||
{
|
||||
char *Debugger::readlineComplete(const char *input, int state) {
|
||||
static CommandsMap::const_iterator iter;
|
||||
|
||||
// We assume that _cmds isn't changed between calls to readlineComplete,
|
||||
|
@ -123,7 +123,7 @@ private:
|
||||
static bool debuggerCompletionCallback(GUI::ConsoleDialog *console, const char *input, Common::String &completion, void *refCon);
|
||||
#elif defined(USE_READLINE)
|
||||
public:
|
||||
char* readlineComplete(const char *input, int state);
|
||||
char *readlineComplete(const char *input, int state);
|
||||
#endif
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user