~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/vision/curve2/circ2.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**@(#)
  2 **/
  3 #include <math.h>
  4 #include <tina/sys.h>
  5 #include <tina/sysfuncs.h>
  6 #include <tina/math.h>
  7 #include <tina/mathfuncs.h>
  8 #include <tina/vision.h>
  9 #include <tina/visionfuncs.h>
 10 
 11 Circ2  *circ2_alloc(int type)
 12 {
 13     Circ2  *circ = ts_ralloc(Circ2);
 14 
 15     circ->type = type;
 16     circ->label = new_label();
 17     return (circ);
 18 }
 19 
 20 void    circ2_free(Circ2 * circ)
 21 {
 22     if (circ == NULL)
 23         return;
 24     proplist_freelist(circ->props);
 25     rfree((void *) circ);
 26 }
 27 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.