Changeset dd56945 for python/lib/gio.cxx


Ignore:
Timestamp:
10/30/18 14:31:57 (6 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master, pympi
Children:
c8c291b
Parents:
22c1c0a
git-author:
Hal Finkel <hfinkel@…> (10/30/18 14:31:57)
git-committer:
Hal Finkel <hfinkel@…> (10/30/18 14:31:57)
Message:

import uint16 fix by Biwer, Christopher Michael <cmbiwer@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/gio.cxx

    r9796d0a rdd56945  
    4949    read_gio<double>(file_name,var_name,data,field_count); 
    5050  } 
     51  void read_gio_uint16(char* file_name, char* var_name, uint16_t* data, int field_count){ 
     52    read_gio<uint16_t>(file_name,var_name,data,field_count); 
     53  } 
    5154  void read_gio_int32(char* file_name, char* var_name, int* data, int field_count){ 
    5255    read_gio<int>(file_name,var_name,data,field_count); 
     
    8184        else if(vinfo.IsFloat && vinfo.ElementSize == 8) 
    8285          return double_type; 
     86        else if(!vinfo.IsFloat && vinfo.ElementSize == 2) 
     87          return uint16_type; 
    8388        else if(!vinfo.IsFloat && vinfo.ElementSize == 4) 
    8489          return int32_type; 
Note: See TracChangeset for help on using the changeset viewer.