[armedbear-cvs] r11383 - in trunk/j/examples/abcl: interface_implementation_in_lisp javacall_from_lisp lispcall_from_java_simple lispcall_from_java_with_params_and_return
Ville Voutilainen
vvoutilainen at common-lisp.net
Sat Nov 8 01:18:59 UTC 2008
Author: vvoutilainen
Date: Sat Nov 8 01:18:58 2008
New Revision: 11383
Log:
Add copyright/license headers.
Modified:
trunk/j/examples/abcl/interface_implementation_in_lisp/Main.java
trunk/j/examples/abcl/interface_implementation_in_lisp/MyInterface.java
trunk/j/examples/abcl/interface_implementation_in_lisp/interface_implementation.lisp
trunk/j/examples/abcl/javacall_from_lisp/Main.java
trunk/j/examples/abcl/javacall_from_lisp/lispfunctions.lisp
trunk/j/examples/abcl/lispcall_from_java_simple/Main.java
trunk/j/examples/abcl/lispcall_from_java_simple/MainAlternative.java
trunk/j/examples/abcl/lispcall_from_java_simple/lispfunction.lisp
trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/Main.java
trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/lispfunctions.lisp
Modified: trunk/j/examples/abcl/interface_implementation_in_lisp/Main.java
==============================================================================
--- trunk/j/examples/abcl/interface_implementation_in_lisp/Main.java (original)
+++ trunk/j/examples/abcl/interface_implementation_in_lisp/Main.java Sat Nov 8 01:18:58 2008
@@ -1,3 +1,23 @@
+/*
+ * Main.java
+ *
+ * Copyright (C) 2008 Ville Voutilainen
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
import org.armedbear.lisp.*;
public class Main
Modified: trunk/j/examples/abcl/interface_implementation_in_lisp/MyInterface.java
==============================================================================
--- trunk/j/examples/abcl/interface_implementation_in_lisp/MyInterface.java (original)
+++ trunk/j/examples/abcl/interface_implementation_in_lisp/MyInterface.java Sat Nov 8 01:18:58 2008
@@ -1,3 +1,23 @@
+/*
+ * MyInterface.java
+ *
+ * Copyright (C) 2008 Ville Voutilainen
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
/**
* Example interface, with two methods.
*/
Modified: trunk/j/examples/abcl/interface_implementation_in_lisp/interface_implementation.lisp
==============================================================================
--- trunk/j/examples/abcl/interface_implementation_in_lisp/interface_implementation.lisp (original)
+++ trunk/j/examples/abcl/interface_implementation_in_lisp/interface_implementation.lisp Sat Nov 8 01:18:58 2008
@@ -1,3 +1,21 @@
+;;; interface_implementation.lisp
+;;;
+;;; Copyright (C) 2008 Ville Voutilainen
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License
+;;; as published by the Free Software Foundation; either version 2
+;;; of the License, or (at your option) any later version.
+;;;
+;;; This program 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 General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
; first we define a class hierarchy. No slots defined,
; we don't need them in the example.
(defclass base ())
Modified: trunk/j/examples/abcl/javacall_from_lisp/Main.java
==============================================================================
--- trunk/j/examples/abcl/javacall_from_lisp/Main.java (original)
+++ trunk/j/examples/abcl/javacall_from_lisp/Main.java Sat Nov 8 01:18:58 2008
@@ -1,3 +1,23 @@
+/*
+ * Main.java
+ *
+ * Copyright (C) 2008 Ville Voutilainen
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
import org.armedbear.lisp.*;
public class Main
Modified: trunk/j/examples/abcl/javacall_from_lisp/lispfunctions.lisp
==============================================================================
--- trunk/j/examples/abcl/javacall_from_lisp/lispfunctions.lisp (original)
+++ trunk/j/examples/abcl/javacall_from_lisp/lispfunctions.lisp Sat Nov 8 01:18:58 2008
@@ -1,3 +1,21 @@
+;;; lispfunctions.lisp
+;;;
+;;; Copyright (C) 2008 Ville Voutilainen
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License
+;;; as published by the Free Software Foundation; either version 2
+;;; of the License, or (at your option) any later version.
+;;;
+;;; This program 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 General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
; we need to get the
; 1) class (Main)
; 2) classes of the parameters (int)
Modified: trunk/j/examples/abcl/lispcall_from_java_simple/Main.java
==============================================================================
--- trunk/j/examples/abcl/lispcall_from_java_simple/Main.java (original)
+++ trunk/j/examples/abcl/lispcall_from_java_simple/Main.java Sat Nov 8 01:18:58 2008
@@ -1,3 +1,23 @@
+/*
+ * Main.java
+ *
+ * Copyright (C) 2008 Ville Voutilainen
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
import org.armedbear.lisp.*;
public class Main
Modified: trunk/j/examples/abcl/lispcall_from_java_simple/MainAlternative.java
==============================================================================
--- trunk/j/examples/abcl/lispcall_from_java_simple/MainAlternative.java (original)
+++ trunk/j/examples/abcl/lispcall_from_java_simple/MainAlternative.java Sat Nov 8 01:18:58 2008
@@ -1,3 +1,23 @@
+/*
+ * MainAlternative.java
+ *
+ * Copyright (C) 2008 Ville Voutilainen
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
import org.armedbear.lisp.*;
public class MainAlternative
Modified: trunk/j/examples/abcl/lispcall_from_java_simple/lispfunction.lisp
==============================================================================
--- trunk/j/examples/abcl/lispcall_from_java_simple/lispfunction.lisp (original)
+++ trunk/j/examples/abcl/lispcall_from_java_simple/lispfunction.lisp Sat Nov 8 01:18:58 2008
@@ -1,2 +1,20 @@
+;;; lispfunction.lisp
+;;;
+;;; Copyright (C) 2008 Ville Voutilainen
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License
+;;; as published by the Free Software Foundation; either version 2
+;;; of the License, or (at your option) any later version.
+;;;
+;;; This program 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 General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
(defun lispfunction ()
(format t "in lispfunction~%"))
Modified: trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/Main.java
==============================================================================
--- trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/Main.java (original)
+++ trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/Main.java Sat Nov 8 01:18:58 2008
@@ -1,3 +1,23 @@
+/*
+ * Main.java
+ *
+ * Copyright (C) 2008 Ville Voutilainen
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
import org.armedbear.lisp.*;
public class Main
Modified: trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/lispfunctions.lisp
==============================================================================
--- trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/lispfunctions.lisp (original)
+++ trunk/j/examples/abcl/lispcall_from_java_with_params_and_return/lispfunctions.lisp Sat Nov 8 01:18:58 2008
@@ -1,3 +1,21 @@
+;;; lispfunctions.lisp
+;;;
+;;; Copyright (C) 2008 Ville Voutilainen
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License
+;;; as published by the Free Software Foundation; either version 2
+;;; of the License, or (at your option) any later version.
+;;;
+;;; This program 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 General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
; param comes from java, so accessing it require
; calling jobject-lisp-value on it
(defun void-function (param)
More information about the armedbear-cvs
mailing list