MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / HLS_release

Function HLS_release

src/HLSelection.c:150–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149
150void HLS_release()
151{
152 int k = 0;
153 if ( _hl_se_tr.lpstrText ) {
154 HL_Free ( _hl_se_tr.lpstrText );
155 _hl_se_tr.lpstrText = 0;
156 }
157 if ( _hl_se_orig_word ) {
158 HL_Free ( _hl_se_orig_word );
159 _hl_se_orig_word = 0;
160 }
161 for ( k = 0;k < COUNTOF(_hl_se_array);++k)
162 {
163 SE_DATA* se = &_hl_se_array [k];
164 if (se->original){
165 HL_Free(se->original);
166 se->original = NULL;
167 }
168 }
169}
170
171int HLS_get_wraps ( int beg , int end )
172{

Callers 1

HL_ReleaseFunction · 0.85

Calls 1

HL_FreeFunction · 0.85

Tested by

no test coverage detected