Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Unbound value Datatype.func in register.ml


  • Subject: [Frama-c-discuss] Unbound value Datatype.func in register.ml
  • From: njucslzh0714 at gmail.com (刘自恒)
  • Date: Sat, 18 Jun 2011 22:24:26 +0800

Hello

Now, I write a plugin containing a file named "register.ml". Some code in
register.ml is as fellow:

let print =
  Dynamic.register    ~plugin:"loop"    "run"    ~journalize:true
 (Datatype.func Datatype.unit Datatype.unit)    compute_loop
let run () =  if Enabled.get () then compute_loop ()

let () = Db.Main.extend run

but when compiled , there is an error :Unbound value Datatype.func


Can you tell me how to solve it?


Henry Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110618/92962284/attachment.htm>