-(*
-* Copyright 2005-2009, Ecole des Mines de Nantes, University of Copenhagen
-* Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller
-* This file is part of Coccinelle.
-*
-* Coccinelle 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, according to version 2 of the License.
-*
-* Coccinelle 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 Coccinelle. If not, see <http://www.gnu.org/licenses/>.
-*
-* The authors reserve the right to distribute this or future versions of
-* Coccinelle under other licenses.
-*)
-
-
open Ast_c
open Common
open Pycocci_aux
exception Pycocciexception
+let python_support = false
+
let check_return_value v = failwith "no python"
let check_int_return_value v = failwith "no python"
let build_variable name value = failwith "no python"
-let contains_binding e (_,(r,m)) = failwith "no python"
+let contains_binding e (_,(r,m),_) = failwith "no python"
let construct_variables mv e = failwith "no python"
+let construct_script_variables mv = failwith "no python"
+let retrieve_script_variables mv = failwith "no python"
+
let set_coccifile cocci_file =
cocci_file_name := cocci_file;
()
-let pyrun_simplestring s =
+let pyrun_simplestring s =
failwith "no python"
-
-let py_isinitialized () =
+
+let py_isinitialized () =
failwith "no python"
-
+
let py_finalize () =
failwith "no python"