Changeset: aedc5eb276e8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=aedc5eb276e8
Modified Files:
        sql/backends/monet5/UDF/capi/cheader.h
Branch: jitudf
Log Message:

Compilation fix.


diffs (37 lines):

diff --git a/sql/backends/monet5/UDF/capi/cheader.h 
b/sql/backends/monet5/UDF/capi/cheader.h
--- a/sql/backends/monet5/UDF/capi/cheader.h
+++ b/sql/backends/monet5/UDF/capi/cheader.h
@@ -38,25 +38,16 @@ typedef struct {
                void *bat;                                                      
       \
        }
 
-typedef int8_t bit;
-typedef int8_t bte;
-typedef int16_t sht;
-typedef int64_t lng;
-typedef size_t oid;
-typedef float flt;
-typedef double dbl;
-typedef char *str;
-
-DEFAULT_STRUCT_DEFINITION(bit, bit);
-DEFAULT_STRUCT_DEFINITION(bte, bte);
-DEFAULT_STRUCT_DEFINITION(sht, sht);
+DEFAULT_STRUCT_DEFINITION(int8_t, bit);
+DEFAULT_STRUCT_DEFINITION(int8_t, bte);
+DEFAULT_STRUCT_DEFINITION(int16_t, sht);
 DEFAULT_STRUCT_DEFINITION(int, int);
-DEFAULT_STRUCT_DEFINITION(lng, lng);
-DEFAULT_STRUCT_DEFINITION(flt, flt);
-DEFAULT_STRUCT_DEFINITION(dbl, dbl);
-DEFAULT_STRUCT_DEFINITION(str, str);
+DEFAULT_STRUCT_DEFINITION(int64_t, lng);
+DEFAULT_STRUCT_DEFINITION(float, flt);
+DEFAULT_STRUCT_DEFINITION(double, dbl);
+DEFAULT_STRUCT_DEFINITION(char*, str);
 DEFAULT_STRUCT_DEFINITION(cudf_data_date, date);
 DEFAULT_STRUCT_DEFINITION(cudf_data_time, time);
 DEFAULT_STRUCT_DEFINITION(cudf_data_timestamp, timestamp);
 DEFAULT_STRUCT_DEFINITION(cudf_data_blob, blob);
-DEFAULT_STRUCT_DEFINITION(oid, oid);
+DEFAULT_STRUCT_DEFINITION(size_t, oid);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to