MCPcopy Create free account
hub / github.com/chigraph/chigraph / retypeDataInput

Method retypeDataInput

libchigraph/src/GraphFunction.cpp:240–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void GraphFunction::retypeDataInput(size_t idx, DataType newType) {
241 // invalidate the cache
242 module().updateLastEditTime();
243
244 if (idx < mDataInputs.size()) { mDataInputs[idx].type = std::move(newType); }
245 updateEntries();
246}
247
248void GraphFunction::addDataOutput(const DataType& type, std::string name, size_t addBefore) {
249 // invalidate the cache

Callers 1

Calls 1

updateLastEditTimeMethod · 0.80

Tested by

no test coverage detected