mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Create a QOF_SCANF_LLD (because we cannot use the printf version).
Keep the deprecated GNC_SCANF_LLD defined in terms of the new QOF_SCANF_LLD. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13764 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -169,11 +169,7 @@ safe_strcasecmp() instead. */
|
||||
#define SAFE_STRCASECMP(da,db) SAFE_STRCMP_REAL(strcasecmp,(da),(db))
|
||||
/** \deprecated use qof_util_string_cache_insert instead. */
|
||||
gpointer gnc_string_cache_insert(gconstpointer key);
|
||||
#if HAVE_SCANF_LLD
|
||||
# define GNC_SCANF_LLD "%lld" /**< \deprecated use G_GINT64_FORMAT instead. */
|
||||
#else
|
||||
# define GNC_SCANF_LLD "%qd" /**< \deprecated use G_GINT64_FORMAT instead. */
|
||||
#endif
|
||||
#define GNC_SCANF_LLD QOF_SCANF_LLD /**< \deprecated use QOF_SCANF_LLD instead. */
|
||||
/** \deprecated use qof_util_stpcpy instead. */
|
||||
gchar * gnc_stpcpy (gchar *dest, const gchar *src);
|
||||
/** \deprecated use qof_init instead. */
|
||||
|
||||
@@ -40,6 +40,13 @@
|
||||
#include "qofbook.h"
|
||||
#include "qofinstance.h"
|
||||
|
||||
/** Do not use these for printf, only scanf */
|
||||
#if HAVE_SCANF_LLD
|
||||
# define QOF_SCANF_LLD "%lld"
|
||||
#else
|
||||
# define QOF_SCANF_LLD "%qd"
|
||||
#endif
|
||||
|
||||
#define QOF_MOD_UTIL "qof-utilities"
|
||||
|
||||
/** \name typedef enum as string macros
|
||||
|
||||
Reference in New Issue
Block a user