IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2005, 10:38:30 AM (21 years ago)
Author:
eugene
Message:

implementing SkyRegions in all DVO programs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libautocode/generate

    r5014 r5448  
    119119        if ($type eq "unsigned int")  { $pt1 = "J"; }
    120120        if ($type eq "e_time")        { $pt1 = "J"; }
     121        if ($type eq "e_void")        { $pt1 = "L"; }
     122        # e_void is a 64 bit pointer, cast to size_t
    121123        if ($type eq "float")         { $pt1 = "E"; }
    122124        if ($type eq "double")        { $pt1 = "D"; }
     
    188190        if ($type eq "unsigned int")  { $pt1 = sprintf "I%s", $length; }
    189191        if ($type eq "e_time")        { $pt1 = sprintf "I%s", $length; }
     192        if ($type eq "e_void")        { $pt1 = sprintf "I%s", $length; }
    190193        if ($type eq "float")         { $pt1 = sprintf "F%s", $length; }
    191194        if ($type eq "double")        { $pt1 = sprintf "F%s", $length; }
     
    255258        if ($type eq "unsigned int")  { $T = "WORD"; $n = 4; }
    256259        if ($type eq "e_time")        { $T = "WORD"; $n = 4; }
     260        if ($type eq "e_void")        { $T = "DBLE"; $n = 8; }
    257261        if ($type eq "float")         { $T = "WORD"; $n = 4; }
    258262        if ($type eq "double")        { $T = "DBLE"; $n = 8; }
     
    285289        if ($type eq "unsigned int")   { $Nbytes += 4*$Np; $valid = 1; }
    286290        if ($type eq "e_time")         { $Nbytes += 4*$Np; $valid = 1; }
     291        if ($type eq "e_void")         { $Nbytes += 8*$Np; $valid = 1; }
    287292        if ($type eq "float")          { $Nbytes += 4*$Np; $valid = 1; }
    288293        if ($type eq "double")         { $Nbytes += 8*$Np; $valid = 1; }
Note: See TracChangeset for help on using the changeset viewer.