www.pudn.com > pi_svpwm.zip > svpi_acc_private.h, change:2014-03-26,size:881b


#include "__cf_svpi.h" 
#ifndef RTW_HEADER_svpi_acc_private_h_ 
#define RTW_HEADER_svpi_acc_private_h_ 
#include "rtwtypes.h" 
#ifndef RTW_COMMON_DEFINES_ 
#define RTW_COMMON_DEFINES_ 
#define rt_VALIDATE_MEMORY(S, ptr)   if(!(ptr)) {\ 
  ssSetErrorStatus(S, RT_MEMORY_ALLOCATION_ERROR);\ 
  } 
#if !defined(_WIN32) 
#define rt_FREE(ptr)   if((ptr) != (NULL)) {\ 
  free((ptr));\ 
  (ptr) = (NULL);\ 
  } 
#else 
#define rt_FREE(ptr)   if((ptr) != (NULL)) {\ 
  free((void *)(ptr));\ 
  (ptr) = (NULL);\ 
  } 
#endif 
#endif 
#ifndef __RTWTYPES_H__ 
#error This file requires rtwtypes.h to be included 
#else 
#ifdef TMWTYPES_PREVIOUSLY_INCLUDED 
#error This file requires rtwtypes.h to be included before tmwtypes.h 
#else 
#ifndef RTWTYPES_ID_C08S16I32L32N32F1 
#error This code was generated with a different "rtwtypes.h" than the file included 
#endif 
#endif 
#endif 
#endif