[BACK]Return to nd.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / engine

Diff for /OpenXM_contrib2/asir2018/engine/nd.h between version 1.10 and 1.11

version 1.10, 2020/07/03 03:37:59 version 1.11, 2020/10/26 02:41:05
Line 1 
Line 1 
 /* $OpenXM: OpenXM_contrib2/asir2018/engine/nd.h,v 1.9 2020/06/30 01:52:17 noro Exp $ */  /* $OpenXM: OpenXM_contrib2/asir2018/engine/nd.h,v 1.10 2020/07/03 03:37:59 noro Exp $ */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
 #include "ox.h"  #include "ox.h"
Line 89  typedef struct oND_pairs {
Line 89  typedef struct oND_pairs {
   int sugar;    int sugar;
   int sugar2;    int sugar2;
   SIG sig;    SIG sig;
     int zero;
   UINT lcm[1];    UINT lcm[1];
 } *ND_pairs;  } *ND_pairs;
   
Line 196  extern int *current_module_weight_vector;
Line 197  extern int *current_module_weight_vector;
 ((r)=(RHist)MALLOC(sizeof(struct oRHist)+(nd_wpd-1)*sizeof(UINT)))  ((r)=(RHist)MALLOC(sizeof(struct oRHist)+(nd_wpd-1)*sizeof(UINT)))
 #define NEWND_pairs(m) \  #define NEWND_pairs(m) \
 if(!_ndp_free_list)_NDP_alloc();\  if(!_ndp_free_list)_NDP_alloc();\
 (m)=_ndp_free_list; _ndp_free_list = NEXT(_ndp_free_list)  (m)=_ndp_free_list; (m)->zero = 0; _ndp_free_list = NEXT(_ndp_free_list)
 #define NEWNM(m)\  #define NEWNM(m)\
 if(!_nm_free_list)_NM_alloc();\  if(!_nm_free_list)_NM_alloc();\
 (m)=_nm_free_list; _nm_free_list = NEXT(_nm_free_list)  (m)=_nm_free_list; _nm_free_list = NEXT(_nm_free_list)

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>