public synchronized boolean toggleCCode(boolean val) {
		printCCode = val;
		// Property can be set before process exists
		if (decompProcess == null) {
			return true;
		}
		String printstring = val ? "c" : "noc";
		try {
			verifyProcess();
			decompProcess.sendCommand2Params("setAction", "", printstring, stringResponse);
			return stringResponse.toString().equals("t");
		}
		catch (IOException e) {
			// don't care
		}
		catch (DecompileException e) {
			// don't care
		}
		stopProcess();
		return false;
	}
Toggle whether or not calls to the decompiler process
(via the decompileFunction method) produce C code.
The default is to always compute C code, but some
applications may only need the syntax tree or other
function information. Ideally this method should
be called once before the openProgram call, but it
can be used at any time, if the application wants
to change before in the middle of a sequence of
decompiles. Unless the desired value changes, the
method does NOT need to be called repeatedly. Even
after a decompiler process crash, the old value is
cached and automatically sent to the new process
@param val = true, to produce C code, false otherwise
@return true if the decompiler process accepted the new state
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompInterface.java