Changeset 40 for vis_dev/vis-2.3/src/debug/debugAbnormal.c
- Timestamp:
- Jan 8, 2012, 5:12:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vis_dev/vis-2.3/src/debug/debugAbnormal.c
r36 r40 114 114 } 115 115 } 116 Ntk_NetworkAddApplInfo(ntk, DBG_NETWORK_APPL_KEY, 117 (Ntk_ApplInfoFreeFn) Dbg_AbnormalFreeCallback, 118 (void *) abnormal); 116 119 } 117 120 /**Function******************************************************************** … … 157 160 FREE(abn); 158 161 } 162 /**Function******************************************************************** 163 164 Synopsis [Call-back function to free an abnormal structure.] 165 166 Description [This function will be stored in the network together with the 167 pointer to the structure. Whenever the network deletes the partitioning 168 information, this function is called and it will deallocate the abnormal and 169 the information attached to it.] 170 171 SideEffects [] 172 173 SeeAlso [Ntk_NetworkAddApplInfo] 174 175 ******************************************************************************/ 176 void 177 Dbg_AbnormalFreeCallback( 178 void *data) 179 { 180 Dbg_DebugAbnormalFree((Dbg_Abnormal_t *) data); 181 } /* End of Part_PartitionFreeCallback */ 159 182 160 183 … … 227 250 return abnormal->abnormal; 228 251 } 229 252 /**Function******************************************************************** 253 254 Synopsis [returns the abnormal structure] 255 256 Description [returns the abnormal structure associated to the network] 257 258 SideEffects [] 259 260 SeeAlso [] 261 262 ******************************************************************************/ 263 Dbg_Abnormal_t * Dbg_NetworkReadAbnormal(Ntk_Network_t * network) 264 { 265 Dbg_Abnormal_t * abn = (Dbg_Abnormal_t *) Ntk_NetworkReadApplInfo(network, DBG_NETWORK_APPL_KEY); 266 267 return abn; 268 }
Note: See TracChangeset
for help on using the changeset viewer.