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

[libvirt] [PATCH] Add type safe pointers based on reviewing the RHQ code



---
 src/org/libvirt/jna/ConnectionPointer.java |    7 +++++++
 src/org/libvirt/jna/DomainPointer.java     |    7 +++++++
 src/org/libvirt/jna/NetworkPointer.java    |    7 +++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 src/org/libvirt/jna/ConnectionPointer.java
 create mode 100644 src/org/libvirt/jna/DomainPointer.java
 create mode 100644 src/org/libvirt/jna/NetworkPointer.java

diff --git a/src/org/libvirt/jna/ConnectionPointer.java b/src/org/libvirt/jna/ConnectionPointer.java
new file mode 100644
index 0000000..ab98489
--- /dev/null
+++ b/src/org/libvirt/jna/ConnectionPointer.java
@@ -0,0 +1,7 @@
+package org.libvirt.jna;
+
+import com.sun.jna.PointerType;
+
+public class ConnectionPointer extends PointerType 
+{
+}
diff --git a/src/org/libvirt/jna/DomainPointer.java b/src/org/libvirt/jna/DomainPointer.java
new file mode 100644
index 0000000..8abb852
--- /dev/null
+++ b/src/org/libvirt/jna/DomainPointer.java
@@ -0,0 +1,7 @@
+package org.libvirt.jna;
+
+import com.sun.jna.PointerType;
+
+public class DomainPointer extends PointerType
+{
+}
diff --git a/src/org/libvirt/jna/NetworkPointer.java b/src/org/libvirt/jna/NetworkPointer.java
new file mode 100644
index 0000000..62b710c
--- /dev/null
+++ b/src/org/libvirt/jna/NetworkPointer.java
@@ -0,0 +1,7 @@
+package org.libvirt.jna;
+
+import com.sun.jna.PointerType;
+
+public class NetworkPointer extends PointerType
+{
+}
-- 
1.6.0.6


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