Release coccinelle-0.2.0rc1
[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
57let contains_binding e (_,(r,m)) = failwith "no python"
58
59let construct_variables mv e = failwith "no python"
60
61let set_coccifile cocci_file =
62 cocci_file_name := cocci_file;
63 ()
64
65
66let pyrun_simplestring s =
67 failwith "no python"
68
69let py_isinitialized () =
70 failwith "no python"
71
72let py_finalize () =
73 failwith "no python"