[jffi-next] 20/24: Add licence header to files which did not have them (cherry picked from commit cc7ff8b5e6a5c837cdbbf57b501b0311353b2d31)
Tim Potter
tpot-guest at moszumanska.debian.org
Wed Mar 4 04:51:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to tag 0.6.5
in repository jffi-next.
commit 1d57ec233905299ba0b024f3bd7d1477ba662edd
Author: Wayne Meissner <wmeissner at gmail.com>
Date: Thu Dec 31 11:02:26 2009 +1000
Add licence header to files which did not have them
(cherry picked from commit cc7ff8b5e6a5c837cdbbf57b501b0311353b2d31)
---
src/com/kenai/jffi/Aggregate.java | 17 +++++++++++++++++
src/com/kenai/jffi/Array.java | 17 +++++++++++++++++
src/com/kenai/jffi/ArrayFlags.java | 17 +++++++++++++++++
src/com/kenai/jffi/CallContext.java | 17 +++++++++++++++++
src/com/kenai/jffi/CallContextCache.java | 18 ++++++++++++++++++
src/com/kenai/jffi/CallInfo.java | 17 +++++++++++++++++
src/com/kenai/jffi/Closure.java | 17 +++++++++++++++++
src/com/kenai/jffi/ClosureManager.java | 17 +++++++++++++++++
src/com/kenai/jffi/ClosurePool.java | 18 ++++++++++++++++++
src/com/kenai/jffi/DirectClosureBuffer.java | 18 ++++++++++++++++++
src/com/kenai/jffi/Function.java | 17 +++++++++++++++++
src/com/kenai/jffi/HeapInvocationBuffer.java | 17 +++++++++++++++++
src/com/kenai/jffi/InvocationBuffer.java | 17 +++++++++++++++++
src/com/kenai/jffi/Invoker.java | 17 +++++++++++++++++
src/com/kenai/jffi/LastError.java | 17 +++++++++++++++++
src/com/kenai/jffi/Library.java | 2 +-
src/com/kenai/jffi/MemoryIO.java | 17 +++++++++++++++++
src/com/kenai/jffi/ObjectBuffer.java | 17 +++++++++++++++++
src/com/kenai/jffi/Struct.java | 17 +++++++++++++++++
src/com/kenai/jffi/Union.java | 19 ++++++++++++++++++-
20 files changed, 328 insertions(+), 2 deletions(-)
diff --git a/src/com/kenai/jffi/Aggregate.java b/src/com/kenai/jffi/Aggregate.java
index 3264453..cd211b6 100644
--- a/src/com/kenai/jffi/Aggregate.java
+++ b/src/com/kenai/jffi/Aggregate.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/Array.java b/src/com/kenai/jffi/Array.java
index a638ae1..2c9d64a 100644
--- a/src/com/kenai/jffi/Array.java
+++ b/src/com/kenai/jffi/Array.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/ArrayFlags.java b/src/com/kenai/jffi/ArrayFlags.java
index 801b274..a12475f 100644
--- a/src/com/kenai/jffi/ArrayFlags.java
+++ b/src/com/kenai/jffi/ArrayFlags.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/CallContext.java b/src/com/kenai/jffi/CallContext.java
index c869182..7e8f970 100644
--- a/src/com/kenai/jffi/CallContext.java
+++ b/src/com/kenai/jffi/CallContext.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/CallContextCache.java b/src/com/kenai/jffi/CallContextCache.java
index 54e825a..e57c39a 100644
--- a/src/com/kenai/jffi/CallContextCache.java
+++ b/src/com/kenai/jffi/CallContextCache.java
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.kenai.jffi;
import java.lang.ref.ReferenceQueue;
diff --git a/src/com/kenai/jffi/CallInfo.java b/src/com/kenai/jffi/CallInfo.java
index 2e95647..0a866b6 100644
--- a/src/com/kenai/jffi/CallInfo.java
+++ b/src/com/kenai/jffi/CallInfo.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/Closure.java b/src/com/kenai/jffi/Closure.java
index 4807d01..a903a7a 100644
--- a/src/com/kenai/jffi/Closure.java
+++ b/src/com/kenai/jffi/Closure.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008, 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/ClosureManager.java b/src/com/kenai/jffi/ClosureManager.java
index 2cb1084..ee6b2ca 100644
--- a/src/com/kenai/jffi/ClosureManager.java
+++ b/src/com/kenai/jffi/ClosureManager.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/ClosurePool.java b/src/com/kenai/jffi/ClosurePool.java
index 1c9c950..ae90dc3 100644
--- a/src/com/kenai/jffi/ClosurePool.java
+++ b/src/com/kenai/jffi/ClosurePool.java
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.kenai.jffi;
import java.lang.ref.WeakReference;
diff --git a/src/com/kenai/jffi/DirectClosureBuffer.java b/src/com/kenai/jffi/DirectClosureBuffer.java
index 4c13527..137cf60 100644
--- a/src/com/kenai/jffi/DirectClosureBuffer.java
+++ b/src/com/kenai/jffi/DirectClosureBuffer.java
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2008, 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package com.kenai.jffi;
/**
diff --git a/src/com/kenai/jffi/Function.java b/src/com/kenai/jffi/Function.java
index 5697462..46d39e7 100644
--- a/src/com/kenai/jffi/Function.java
+++ b/src/com/kenai/jffi/Function.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008, 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/HeapInvocationBuffer.java b/src/com/kenai/jffi/HeapInvocationBuffer.java
index 59140e5..133a2ff 100644
--- a/src/com/kenai/jffi/HeapInvocationBuffer.java
+++ b/src/com/kenai/jffi/HeapInvocationBuffer.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008, 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/InvocationBuffer.java b/src/com/kenai/jffi/InvocationBuffer.java
index 8cf29c3..82eaa30 100644
--- a/src/com/kenai/jffi/InvocationBuffer.java
+++ b/src/com/kenai/jffi/InvocationBuffer.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2007-2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/Invoker.java b/src/com/kenai/jffi/Invoker.java
index dce3900..c949e9d 100644
--- a/src/com/kenai/jffi/Invoker.java
+++ b/src/com/kenai/jffi/Invoker.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008, 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/LastError.java b/src/com/kenai/jffi/LastError.java
index e18e665..f49bfb1 100644
--- a/src/com/kenai/jffi/LastError.java
+++ b/src/com/kenai/jffi/LastError.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008, 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/Library.java b/src/com/kenai/jffi/Library.java
index 043ebc7..80670f8 100644
--- a/src/com/kenai/jffi/Library.java
+++ b/src/com/kenai/jffi/Library.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008 Wayne Meissner
+ * Copyright (C) 2008, 2009 Wayne Meissner
*
* This file is part of jffi.
*
diff --git a/src/com/kenai/jffi/MemoryIO.java b/src/com/kenai/jffi/MemoryIO.java
index 85eea24..c59c787 100644
--- a/src/com/kenai/jffi/MemoryIO.java
+++ b/src/com/kenai/jffi/MemoryIO.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008, 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/ObjectBuffer.java b/src/com/kenai/jffi/ObjectBuffer.java
index 4e50eda..dd38609 100644
--- a/src/com/kenai/jffi/ObjectBuffer.java
+++ b/src/com/kenai/jffi/ObjectBuffer.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2008, 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/Struct.java b/src/com/kenai/jffi/Struct.java
index c693223..cc6dc53 100644
--- a/src/com/kenai/jffi/Struct.java
+++ b/src/com/kenai/jffi/Struct.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
diff --git a/src/com/kenai/jffi/Union.java b/src/com/kenai/jffi/Union.java
index 1575d5e..bbe7eea 100644
--- a/src/com/kenai/jffi/Union.java
+++ b/src/com/kenai/jffi/Union.java
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009 Wayne Meissner
+ *
+ * This file is part of jffi.
+ *
+ * This code is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License version 3 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * version 3 for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with this work. If not, see <http://www.gnu.org/licenses/>.
+ */
package com.kenai.jffi;
@@ -13,7 +30,7 @@ public final class Union extends Aggregate {
*
* @param fields The fields contained in the struct.
*/
- public Union(Type[] fields) {
+ public Union(Type... fields) {
super(Foreign.getInstance().newStruct(Type.nativeHandles(fields), true));
this.fields = (Type[]) fields.clone();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jffi-next.git
More information about the pkg-java-commits
mailing list