Skip to content

Commit

Permalink
updated Readstat source to 1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ofajardo committed Feb 22, 2023
1 parent e9046b4 commit dd90e5b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions change_log.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# 1.2.1 (github, pypi and conda 2022.11.xx)
# 1.2.1 (github, pypi and conda 2023.02.22)
* Readstat source updated to version 1.1.9
* introduced recognition for pandas datatype datetime64[ns, UTC] and other datetime64 types when writing,
so that this column type gets correctly written as datetime
* improved performace of writer when there are datetime64 columns
* introduced extra_datetime_formats and extra_date_formats arguments for read functions, cleaned the list of
sas date, datetime and time formats to exclude those not directly convertible to python objects
* improved performace of writer when there are datetime64 columns

# 1.2.0 (github, pypi and conda 2022.10.25)
* Fixed #206, #207
Expand Down
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion src/readstat_bits.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#undef READSTAT_MACHINE_IS_TWOS_COMPLEMENT
#define READSTAT_MACHINE_IS_TWOS_COMPLEMENT 0

int machine_is_little_endian();
int machine_is_little_endian(void);

char ones_to_twos_complement1(char num);
int16_t ones_to_twos_complement2(int16_t num);
Expand Down
2 changes: 1 addition & 1 deletion src/readstat_variable.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <stdlib.h>
#include "readstat.h"

static readstat_value_t make_blank_value();
static readstat_value_t make_blank_value(void);
static readstat_value_t make_double_value(double dval);

static readstat_value_t make_blank_value() {
Expand Down
2 changes: 1 addition & 1 deletion src/sas/ieee.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static void ieee2xpt(unsigned char *ieee, unsigned char *xport);

#ifndef FLOATREP
#define FLOATREP get_native()
int get_native();
int get_native(void);
#endif

void memreverse(void *intp_void, int l) {
Expand Down
2 changes: 1 addition & 1 deletion src/spss/readstat_por.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ typedef struct por_ctx_s {
ck_hash_table_t *var_dict;
} por_ctx_t;

por_ctx_t *por_ctx_init();
por_ctx_t *por_ctx_init(void);
void por_ctx_free(por_ctx_t *ctx);
ssize_t por_utf8_encode(const unsigned char *input, size_t input_len,
char *output, size_t output_len, uint16_t lookup[256]);
Expand Down

0 comments on commit dd90e5b

Please sign in to comment.