Coccinelle release 0.2.5-rc9
[bpt/coccinelle.git] / python / no_pycocci.ml
CommitLineData
34e49164
C
1open Ast_c
2open Common
3open Pycocci_aux
4module StringMap = Map.Make (String)
5
6exception Pycocciexception
7
7f004419
C
8let python_support = false
9
34e49164
C
10let check_return_value v = failwith "no python"
11let check_int_return_value v = failwith "no python"
12
13let initialised = ref false
14
15let cocci_file_name = ref ""
16
17(* dealing with python modules loaded *)
18let get_module module_name = failwith "no python"
19
20let is_module_loaded module_name = failwith "no python"
21
22let load_module module_name = failwith "no python"
23(* end python module handling part *)
24
25(* initialisation routines *)
26let pycocci_init () = initialised := true
27
28(*let _ = pycocci_init ()*)
29(* end initialisation routines *)
30
31(* python interaction *)
32let split_fqn fqn = failwith "no python"
33
34let pycocci_get_class_type fqn = failwith "no python"
35
36let pycocci_instantiate_class fqn args = failwith "no python"
37
38(* end python interaction *)
39
40let inc_match = ref false
41
42let include_match v = failwith "no python"
43
44let build_method (mname, camlfunc, args) pymodule classx classdict =
45 failwith "no python"
46
47let build_class cname parent methods pymodule = failwith "no python"
48
49let has_environment_binding env name = failwith "no python"
50
51let get_cocci_file args = failwith "no python"
52
53let build_classes env = failwith "no python"
54
55let build_variable name value = failwith "no python"
56
174d1640 57let contains_binding e (_,(r,m),_) = failwith "no python"
34e49164
C
58
59let construct_variables mv e = failwith "no python"
60
413ffc02
C
61let construct_script_variables mv = failwith "no python"
62let retrieve_script_variables mv = failwith "no python"
63
34e49164
C
64let set_coccifile cocci_file =
65 cocci_file_name := cocci_file;
66 ()
67
68
ae4735db 69let pyrun_simplestring s =
34e49164 70 failwith "no python"
ae4735db
C
71
72let py_isinitialized () =
34e49164 73 failwith "no python"
ae4735db 74
34e49164
C
75let py_finalize () =
76 failwith "no python"