[retro-gtk] memory: Remove unused types



commit 47589d6131df57f130bcfcb984466f859fdc34e4
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu Jul 20 11:06:20 2017 +0200

    memory: Remove unused types
    
    Remove the currently unused MemDesc, MemoryDescriptor and MemoryMap
    types. This will help porting the library to C.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777489

 retro-gtk/memory.vala |   37 -------------------------------------
 1 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/retro-gtk/memory.vala b/retro-gtk/memory.vala
index e155da0..1a44a7a 100644
--- a/retro-gtk/memory.vala
+++ b/retro-gtk/memory.vala
@@ -36,42 +36,5 @@ public enum MemoryType {
        }
 }
 
-/**
- * TODO Change visibility once the interface have been tested.
- */
-[Flags]
-internal enum MemDesc {
-       CONST     = (1 << 0),
-       BIGENDIAN = (1 << 1),
-       ALIGN_2   = (1 << 16),
-       ALIGN_4   = (2 << 16),
-       ALIGN_8   = (3 << 16),
-       MINSIZE_2 = (1 << 24),
-       MINSIZE_4 = (2 << 24),
-       MINSIZE_8 = (3 << 24)
-}
-
-/**
- * TODO Change visibility once the interface have been tested.
- */
-internal struct MemoryDescriptor {
-       uint64 flags;
-       void *ptr;
-       size_t offset;
-       size_t start;
-       size_t select;
-       size_t disconnect;
-       size_t len;
-       string addrspace;
-}
-
-/**
- * TODO Change visibility once the interface have been tested.
- */
-internal struct MemoryMap {
-       MemoryDescriptor? descriptors;
-       uint num_descriptors;
-}
-
 }
 


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