From: a Date: Tue, 20 Jun 2017 15:36:54 +0000 (+0200) Subject: Add license header and credit to github user X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e268dcb8be1232c2e93994f270f1071472d8927a;p=pinky-bar%2Fpinky-bar.git Add license header and credit to github user --- diff --git a/src/ocaml.c b/src/ocaml.c index b98cd40..bb527c9 100644 --- a/src/ocaml.c +++ b/src/ocaml.c @@ -32,6 +32,8 @@ #include "prototypes/ocaml.h" #if WITH_OCAML == 1 +/* Based on: + * https://github.com/gmcabrita/embed-ocaml-c */ void get_ocaml(char *str1) { char *dummy[] = {(char *)"pinkybar", NULL}; diff --git a/src/pinky.ml b/src/pinky.ml index d85ddc8..01584cd 100644 --- a/src/pinky.ml +++ b/src/pinky.ml @@ -1,3 +1,33 @@ +(* 06/20/2017 + +* 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., 51 Franklin Street, Fifth Floor, Boston, +* MA 02110-1301, USA. + + +* Your script should always return a single string. +* Read the above line again. +* +* pinky-bar will always call uzer_func, +* you can write other subroutines/functions +* but they should be called inside uzer_func +* +* Dont worry about the colorization, it's +* handled by pinky-bar. +* +* The entire language is in your hands. *) + let uzer_func () = "Hello World";; let () =