[libgsf] Namespace: move OLE_DEFAULT_SB_SHIFT and OLE_DEFAULT_BB_SHIFT to .c
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] Namespace: move OLE_DEFAULT_SB_SHIFT and OLE_DEFAULT_BB_SHIFT to .c
- Date: Sun, 27 Jan 2013 19:31:50 +0000 (UTC)
commit 4c563c682f6f7248b6097ab6b422b902d2e10923
Author: Morten Welinder <terra gnome org>
Date: Sat Jan 26 15:09:15 2013 -0500
Namespace: move OLE_DEFAULT_SB_SHIFT and OLE_DEFAULT_BB_SHIFT to .c
doc/gsf-sections.txt | 2 --
gsf/gsf-outfile-msole.c | 2 ++
gsf/gsf-outfile-msole.h | 3 ---
3 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/doc/gsf-sections.txt b/doc/gsf-sections.txt
index ddd3c67..ba82889 100644
--- a/doc/gsf-sections.txt
+++ b/doc/gsf-sections.txt
@@ -342,8 +342,6 @@ OLE_HEADER_NUM_METABAT
OLE_HEADER_SIZE
OLE_HEADER_CLSID
OLE_HEADER_MINOR_VER
-OLE_DEFAULT_BB_SHIFT
-OLE_DEFAULT_SB_SHIFT
DIRENT_DETAILS_SIZE
DIRENT_SIZE
diff --git a/gsf/gsf-outfile-msole.c b/gsf/gsf-outfile-msole.c
index f9be6f2..9833bab 100644
--- a/gsf/gsf-outfile-msole.c
+++ b/gsf/gsf-outfile-msole.c
@@ -40,6 +40,8 @@ typedef enum { MSOLE_DIR, MSOLE_SMALL_BLOCK, MSOLE_BIG_BLOCK } MSOleOutfileType;
/* The most common values */
#define OLE_DEFAULT_THRESHOLD 0x1000
+#define OLE_DEFAULT_SB_SHIFT 6
+#define OLE_DEFAULT_BB_SHIFT 9
#define OLE_DEFAULT_BB_SIZE (1 << OLE_DEFAULT_BB_SHIFT)
#define OLE_DEFAULT_SB_SIZE (1 << OLE_DEFAULT_SB_SHIFT)
diff --git a/gsf/gsf-outfile-msole.h b/gsf/gsf-outfile-msole.h
index 18f474d..1cd4c17 100644
--- a/gsf/gsf-outfile-msole.h
+++ b/gsf/gsf-outfile-msole.h
@@ -33,9 +33,6 @@ typedef struct _GsfOutfileMSOle GsfOutfileMSOle;
#define GSF_OUTFILE_MSOLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_MSOLE_TYPE, GsfOutfileMSOle))
#define GSF_IS_OUTFILE_MSOLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_MSOLE_TYPE))
-#define OLE_DEFAULT_SB_SHIFT 6
-#define OLE_DEFAULT_BB_SHIFT 9
-
GType gsf_outfile_msole_get_type (void) G_GNUC_CONST;
/* void gsf_outfile_msole_register_type (GTypeModule *module); glib dynamic types are not thread safe */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]