MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxReadableCallback

Function fxReadableCallback

xs/platforms/lin_xs.c:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126extern char *program_invocation_name;
127
128gboolean fxReadableCallback(GSocket *socket, GIOCondition condition, gpointer user_data)
129{
130 txMachine* the = user_data;
131 if (fxIsReadable(the)) {
132 fxDebugCommand(the);
133 if (the->breakOnStartFlag) {
134 fxBeginHost(the);
135 fxDebugLoop(the, NULL, 0, "C: xsDebugger");
136 fxEndHost(the);
137 }
138 }
139 return TRUE;
140}
141
142void fxConnect(txMachine* the)
143{

Callers

nothing calls this directly

Calls 5

fxDebugCommandFunction · 0.85
fxBeginHostFunction · 0.85
fxDebugLoopFunction · 0.85
fxEndHostFunction · 0.85
fxIsReadableFunction · 0.70

Tested by

no test coverage detected