[前][次][番号順一覧][スレッド一覧]

ruby-changes:34020

From: nobu <ko1@a...>
Date: Sun, 25 May 2014 12:16:03 +0900 (JST)
Subject: [ruby-changes:34020] nobu:r46101 (trunk): vm_dump.c: adjust style

nobu	2014-05-25 12:15:49 +0900 (Sun, 25 May 2014)

  New Revision: 46101

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46101

  Log:
    vm_dump.c: adjust style
    
    * vm_dump.c (backtrace): adjust style, inserting breaks between
      type, function name with its arguments, and its body.

  Modified files:
    trunk/vm_dump.c
Index: vm_dump.c
===================================================================
--- vm_dump.c	(revision 46100)
+++ vm_dump.c	(revision 46101)
@@ -434,7 +434,9 @@ rb_vmdebug_thread_dump_state(VALUE self) https://github.com/ruby/ruby/blob/trunk/vm_dump.c#L434
 #  define UNW_LOCAL_ONLY
 #  include <libunwind.h>
 #  undef backtrace
-int backtrace (void **trace, int size) {
+int
+backtrace(void **trace, int size)
+{
     unw_cursor_t cursor; unw_context_t uc;
     unw_word_t ip;
     int n = 0;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]