Convert all time_t to time64: swig type maps

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22619 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2012-12-01 22:44:31 +00:00
parent f23eccfcd0
commit 3b1ad26e5f
2 changed files with 4 additions and 4 deletions

View File

@ -99,8 +99,8 @@ gnc_numeric gnc_convert_to_euro(const gnc_commodity * currency,
gnc_numeric gnc_convert_from_euro(const gnc_commodity * currency,
gnc_numeric value);
time_t gnc_accounting_period_fiscal_start(void);
time_t gnc_accounting_period_fiscal_end(void);
time64 gnc_accounting_period_fiscal_start(void);
time64 gnc_accounting_period_fiscal_end(void);
SCM gnc_make_kvp_options(QofIdType id_type);
void gnc_register_kvp_option_generator(QofIdType id_type, SCM generator);
@ -129,7 +129,7 @@ Process *gnc_spawn_process_async(GList *argl, const gboolean search_path);
gint gnc_process_get_fd(const Process *proc, const guint std_fd);
void gnc_detach_process(Process *proc, const gboolean kill_it);
time_t gnc_parse_time_to_timet(const gchar *s, const gchar *format);
time64 gnc_parse_time_to_time64(const gchar *s, const gchar *format);
%typemap(out) GHashTable * {
SCM table = scm_c_make_hash_table (g_hash_table_size($1) + 17);

View File

@ -5,7 +5,7 @@
/* Not sure why SWIG doesn't figure this out. */
typedef int gint;
typedef int time_t;
typedef gint64 time64;
typedef unsigned int guint;
typedef double gdouble;
typedef float gfloat;