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

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

 



---
 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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]