(root)/
libredwg-0.13/
test/
unit-testing/
acsh_torus_class.c
       1  #define DWG_TYPE DWG_TYPE_ACSH_TORUS_CLASS
       2  #include "common.c"
       3  
       4  void
       5  api_process (dwg_object *obj)
       6  {
       7    int error, isnew;
       8    BITCODE_BD *trans;
       9    BITCODE_BL major;
      10    BITCODE_BL minor;
      11    BITCODE_BD major_radius; /*!< DXF 40 */
      12    BITCODE_BD minor_radius; /*!< DXF 41 */
      13  
      14    Dwg_Version_Type dwg_version = obj->parent->header.version;
      15    dwg_obj_acsh_torus_class *_obj = dwg_object_to_ACSH_TORUS_CLASS (obj);
      16  
      17    CHK_EVALEXPR (ACSH_TORUS_CLASS);
      18    CHK_ACSH_HISTORYNODE ();
      19  
      20    CHK_ENTITY_TYPE (_obj, ACSH_TORUS_CLASS, major, BL);
      21    CHK_ENTITY_TYPE (_obj, ACSH_TORUS_CLASS, minor, BL);
      22    CHK_ENTITY_TYPE (_obj, ACSH_TORUS_CLASS, major_radius, BD);
      23    CHK_ENTITY_TYPE (_obj, ACSH_TORUS_CLASS, minor_radius, BD);
      24  }