~ubuntu-branches/ubuntu/wily/weechat/wily

« back to all changes in this revision

Viewing changes to src/core/wee-arraylist.c

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bouthenot
  • Date: 2015-08-19 18:34:17 UTC
  • mfrom: (29.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20150819183417-u026z5wo8knpcdqd
Tags: 1.3-1
* New upstream release
  - Remove backported patch to fix FTBFS with ruby 2.2
* Use dh-exec to build javascript plugin only on architectures which v8
  engine supports. Thanks to Mateusz Łukasik for the patch
  (Closes: #794584)

Show diffs side-by-side

added added

removed removed

Lines of Context:
475
475
        if ((index >= 0) && !arraylist->allow_duplicates)
476
476
        {
477
477
            while ((index < arraylist->size)
478
 
                   && (((arraylist->callback_cmp) (arraylist->callback_cmp_data,
479
 
                                                   arraylist, arraylist->data[index],
480
 
                                                   pointer)) == 0))
 
478
                   && (((arraylist->callback_cmp) (
 
479
                            arraylist->callback_cmp_data,
 
480
                            arraylist, arraylist->data[index],
 
481
                            pointer)) == 0))
481
482
            {
482
483
                arraylist_remove (arraylist, index);
483
484
            }
690
691
        }
691
692
    }
692
693
    log_printf ("  callback_cmp . . . . . : 0x%lx", arraylist->callback_cmp);
693
 
    log_printf ("  callback_cmp_data. . . : 0x%lx", arraylist->callback_cmp_data);
 
694
    log_printf ("  callback_cmp_data. . . : 0x%lx",
 
695
                arraylist->callback_cmp_data);
694
696
    log_printf ("  callback_free. . . . . : 0x%lx", arraylist->callback_free);
695
 
    log_printf ("  callback_free_data . . : 0x%lx", arraylist->callback_free_data);
 
697
    log_printf ("  callback_free_data . . : 0x%lx",
 
698
                arraylist->callback_free_data);
696
699
}