emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/w32heap.h


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/w32heap.h
Date: Mon, 06 Jun 2005 15:27:37 -0400

Index: emacs/src/w32heap.h
diff -c emacs/src/w32heap.h:1.12 emacs/src/w32heap.h:1.13
*** emacs/src/w32heap.h:1.12    Mon Sep  1 15:45:57 2003
--- emacs/src/w32heap.h Mon Jun  6 19:27:37 2005
***************
*** 82,96 ****
      unsigned char *file_base;
  } file_data;
  
- #define OFFSET_TO_RVA(var,section) \
-         (section->VirtualAddress + ((DWORD)(var) - section->PointerToRawData))
- 
- #define RVA_TO_OFFSET(var,section) \
-         (section->PointerToRawData + ((DWORD)(var) - section->VirtualAddress))
- 
- #define RVA_TO_PTR(var,section,filedata) \
-         ((void *)(RVA_TO_OFFSET(var,section) + (filedata).file_base))
- 
  int open_input_file (file_data *p_file, char *name);
  int open_output_file (file_data *p_file, char *name, unsigned long size);
  void close_file_data (file_data *p_file);
--- 82,87 ----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]