@@ -331,20 +331,44 @@ + (void)recordsPointer:(TNSSimpleStruct*)object {
331331}
332332
333333+ (void )apiNSMutableArrayMethods : (NSMutableArray *)object {
334+ NSLog (@" NS_MUTARRAY enter" );
335+ NSLog (@" NS_MUTARRAY before addObject:b" );
334336 [object addObject: @" b" ];
337+ NSLog (@" NS_MUTARRAY after addObject:b" );
338+ NSLog (@" NS_MUTARRAY before addObject:x" );
335339 [object addObject: @" x" ];
340+ NSLog (@" NS_MUTARRAY after addObject:x" );
341+ NSLog (@" NS_MUTARRAY before addObject:c" );
336342 [object addObject: @" c" ];
343+ NSLog (@" NS_MUTARRAY after addObject:c" );
344+ NSLog (@" NS_MUTARRAY before addObject:y" );
337345 [object addObject: @" y" ];
346+ NSLog (@" NS_MUTARRAY after addObject:y" );
347+ NSLog (@" NS_MUTARRAY before addObject:z" );
338348 [object addObject: @" z" ];
349+ NSLog (@" NS_MUTARRAY after addObject:z" );
350+ NSLog (@" NS_MUTARRAY before insertObject:a atIndex:0" );
339351 [object insertObject: @" a" atIndex: 0 ];
352+ NSLog (@" NS_MUTARRAY after insertObject:a atIndex:0" );
353+ NSLog (@" NS_MUTARRAY before removeObjectAtIndex:2" );
340354 [object removeObjectAtIndex: 2 ];
355+ NSLog (@" NS_MUTARRAY after removeObjectAtIndex:2" );
356+ NSLog (@" NS_MUTARRAY before removeLastObject" );
341357 [object removeLastObject ];
358+ NSLog (@" NS_MUTARRAY after removeLastObject" );
359+ NSLog (@" NS_MUTARRAY before set object[3]" );
342360 object[3 ] = @" d" ;
361+ NSLog (@" NS_MUTARRAY after set object[3]" );
362+ NSLog (@" NS_MUTARRAY before count/hash" );
343363 TNSLog ([NSString stringWithFormat: @" %tu%tu " , [object count ], [object hash ]]);
364+ NSLog (@" NS_MUTARRAY after count/hash" );
344365
366+ NSLog (@" NS_MUTARRAY before enumerate" );
345367 for (id x in object) {
368+ NSLog (@" NS_MUTARRAY enumerate value %@ " , x);
346369 TNSLog ([NSString stringWithFormat: @" %@ " , x]);
347370 }
371+ NSLog (@" NS_MUTARRAY after enumerate" );
348372}
349373
350374+ (void )apiSwizzle : (TNSSwizzleKlass*)object {
0 commit comments