comparison src/libvterm/src/vterm.c @ 13770:2449b6ce1456 v8.0.1757

patch 8.0.1757: unnecessary changes in libvterm commit https://github.com/vim/vim/commit/b691de05f69905fe417f583083d7e3cc16eb865e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 24 18:39:14 2018 +0200 patch 8.0.1757: unnecessary changes in libvterm Problem: Unnecessary changes in libvterm. Solution: Bring back // comments and trailing comma in enums.
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Apr 2018 18:45:07 +0200
parents caa9825b04cd
children 694594a0d25d
comparison
equal deleted inserted replaced
13769:804c3b21ce59 13770:2449b6ce1456
25 { 25 {
26 free(ptr); 26 free(ptr);
27 } 27 }
28 28
29 static VTermAllocatorFunctions default_allocator = { 29 static VTermAllocatorFunctions default_allocator = {
30 &default_malloc, /* malloc */ 30 &default_malloc, // malloc
31 &default_free /* free */ 31 &default_free // free
32 }; 32 };
33 33
34 VTerm *vterm_new(int rows, int cols) 34 VTerm *vterm_new(int rows, int cols)
35 { 35 {
36 return vterm_new_with_allocator(rows, cols, &default_allocator, NULL); 36 return vterm_new_with_allocator(rows, cols, &default_allocator, NULL);