Coccinelle release 1.0.0-rc14
[bpt/coccinelle.git] / python / no_pycocci.ml
CommitLineData
f537ebc4 1(*
17ba0788
C
2 * Copyright 2012, INRIA
3 * Julia Lawall, Gilles Muller
4 * Copyright 2010-2011, INRIA, University of Copenhagen
f537ebc4
C
5 * Julia Lawall, Rene Rydhof Hansen, Gilles Muller, Nicolas Palix
6 * Copyright 2005-2009, Ecole des Mines de Nantes, University of Copenhagen
7 * Yoann Padioleau, Julia Lawall, Rene Rydhof Hansen, Henrik Stuart, Gilles Muller, Nicolas Palix
8 * This file is part of Coccinelle.
9 *
10 * Coccinelle is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, according to version 2 of the License.
13 *
14 * Coccinelle is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with Coccinelle. If not, see <http://www.gnu.org/licenses/>.
21 *
22 * The authors reserve the right to distribute this or future versions of
23 * Coccinelle under other licenses.
24 *)
25
26
feec80c3 27# 0 "./no_pycocci.ml"
34e49164
C
28open Ast_c
29open Common
30open Pycocci_aux
31module StringMap = Map.Make (String)
32
33exception Pycocciexception
34
7f004419
C
35let python_support = false
36
34e49164
C
37let check_return_value v = failwith "no python"
38let check_int_return_value v = failwith "no python"
39
40let initialised = ref false
41
42let cocci_file_name = ref ""
43
44(* dealing with python modules loaded *)
45let get_module module_name = failwith "no python"
46
47let is_module_loaded module_name = failwith "no python"
48
49let load_module module_name = failwith "no python"
50(* end python module handling part *)
51
52(* initialisation routines *)
53let pycocci_init () = initialised := true
54
55(*let _ = pycocci_init ()*)
56(* end initialisation routines *)
57
58(* python interaction *)
59let split_fqn fqn = failwith "no python"
60
61let pycocci_get_class_type fqn = failwith "no python"
62
63let pycocci_instantiate_class fqn args = failwith "no python"
64
65(* end python interaction *)
66
67let inc_match = ref false
5427db06 68let exited = ref false
34e49164
C
69
70let include_match v = failwith "no python"
71
5427db06
C
72let sp_exit _ = failwith "no python"
73
34e49164
C
74let build_method (mname, camlfunc, args) pymodule classx classdict =
75 failwith "no python"
76
77let build_class cname parent methods pymodule = failwith "no python"
78
79let has_environment_binding env name = failwith "no python"
80
81let get_cocci_file args = failwith "no python"
82
83let build_classes env = failwith "no python"
84
85let build_variable name value = failwith "no python"
86
174d1640 87let contains_binding e (_,(r,m),_) = failwith "no python"
34e49164
C
88
89let construct_variables mv e = failwith "no python"
90
413ffc02
C
91let construct_script_variables mv = failwith "no python"
92let retrieve_script_variables mv = failwith "no python"
93
34e49164
C
94let set_coccifile cocci_file =
95 cocci_file_name := cocci_file;
96 ()
97
98
ae4735db 99let pyrun_simplestring s =
34e49164 100 failwith "no python"
ae4735db
C
101
102let py_isinitialized () =
34e49164 103 failwith "no python"
ae4735db 104
34e49164
C
105let py_finalize () =
106 failwith "no python"