MCPcopy Create free account
hub / github.com/audacity/audacity / SetIfNotNull

Function SetIfNotNull

src/tracks/ui/SelectHandle.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108 template<typename T>
109 inline void SetIfNotNull(T * pValue, const T Value)
110 {
111 if (pValue == NULL)
112 return;
113 *pValue = Value;
114 }
115
116 // This returns true if we're a spectral editing track.
117 inline bool isSpectralSelectionView(const ChannelView &channelView) {

Callers 2

ChooseTimeBoundaryFunction · 0.70
ChooseBoundaryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected