[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: g_netlist.c



  User: cnieves 
  Date: 05/12/28 16:41:41

  Modified:    .        g_netlist.c
  Log:
  Use SCM_VARIABLE_REF with the variable returned by scm_c_module_lookup.
  
  
  
  
  Revision  Changes    Path
  1.40      +6 -7      eda/geda/devel/gnetlist/src/g_netlist.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: g_netlist.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gnetlist/src/g_netlist.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -b -r1.39 -r1.40
  --- g_netlist.c	14 Feb 2005 22:31:48 -0000	1.39
  +++ g_netlist.c	28 Dec 2005 21:41:41 -0000	1.40
  @@ -802,8 +802,8 @@
       }
   
       slots_list = scm_sort_list_x(slots_list,
  -                                 scm_c_module_lookup (
  -                                   scm_current_module (), "<"));
  +                                 SCM_VARIABLE_REF (scm_c_module_lookup (
  +                                   scm_current_module (), "<")));
   
       return (slots_list);
   }
  @@ -869,9 +869,8 @@
       }
   
       slots_list = scm_sort_list_x(slots_list,
  -                                 scm_c_module_lookup (
  -                                   scm_current_module (), "<"));
  -
  +                                 SCM_VARIABLE_REF (scm_c_module_lookup (
  +                                   scm_current_module (), "<")));
       return (slots_list);
   }