Waitrud Weber’s blog

things and reminders for memories

3d: windows-make: WindowsAPI: we ensured the lootin:

3d: windows-make: WindowsAPI: we ensured the lootin:

(20200318)
memorizevPoint

1. get vPoint from controler:
2. if 1 is null, new vPoint:

227 :// Recreated: 20200218
228 ://
229 ://
230 ://
231 ://
232 :vPoint* memorizevPoint( float a, float b, float c ) {
233 :	printf("memorizevPoint starts: %f %f %f dummy_vPoint_index %d dummy_vPoint_max %d\r\n", a, b, c, dummy_vPoint_index, dummy_vPoint_max);
234 :
235 :	if ( dummy_vPoint_index < dummy_vPoint_max ) {
236 :		if ( dummy_vPoint[dummy_vPoint_index] != nullptr ) {
237 :			dummy_vPoint_index++;
238 :			if ( dummy_vPoint_index >= dummy_vPoint_max - 1 ) {
239 :				dummy_vPoint_max = dummy_vPoint_max * 2;
240 :				dummy_vPoint = (vPoint**) realloc ( dummy_vPoint, sizeof(vPoint*) * dummy_vPoint_max );
241 :			}
242 :			printf("aReuse: %d/%d dummy_vPoint=%p\r\n", dummy_vPoint_index, dummy_vPoint_max, dummy_vPoint[dummy_vPoint_index - 1]);
243 :			//exit(-1);
244 :			return dummy_vPoint[dummy_vPoint_index - 1];
245 :		}
246 :	}
247 :
248 :	dummy_p = new vPoint ( a, b, c );
249 :	put_memories( dummy_p ) ;
250 :
251 :	printf("memorizevPoint ends: %p\r\n", dummy_p);
252 :	return dummy_p;
253 :}

3, we recognise already ensured from the above at the 20200218.

Their bullings are strict. Take care of yourself:
Chech(Rewriten: Check) the date of: 20200318-onetime-command-Cilpboard-001.png
Download : https://github.com/WaitrudWeber/source_zip/blob/master/analyzer_20200316-001.zip