Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
2534ab36
Commit
2534ab36
authored
1 year ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[kernel] Removes unused functions from Db.
parent
15d1e01d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/kernel_services/plugin_entry_points/db.ml
+0
-13
0 additions, 13 deletions
src/kernel_services/plugin_entry_points/db.ml
src/kernel_services/plugin_entry_points/db.mli
+0
-20
0 additions, 20 deletions
src/kernel_services/plugin_entry_points/db.mli
with
0 additions
and
33 deletions
src/kernel_services/plugin_entry_points/db.ml
+
0
−
13
View file @
2534ab36
...
@@ -20,21 +20,8 @@
...
@@ -20,21 +20,8 @@
(* *)
(* *)
(**************************************************************************)
(**************************************************************************)
open
Cil_types
open
Extlib
open
Extlib
let
register
r
f
=
r
:=
f
let
register_compute
name
deps
r
f
=
let
name
=
"!Db."
^
name
in
let
compute
,
self
=
State_builder
.
apply_once
name
deps
f
in
r
:=
compute
;
self
let
register_guarded_compute
is_computed
r
f
=
let
compute
()
=
if
not
(
is_computed
()
)
then
f
()
in
r
:=
compute
module
Main
=
struct
module
Main
=
struct
include
Hook
.
Make
()
include
Hook
.
Make
()
let
play
=
mk_fun
"Main.play"
let
play
=
mk_fun
"Main.play"
...
...
This diff is collapsed.
Click to expand it.
src/kernel_services/plugin_entry_points/db.mli
+
0
−
20
View file @
2534ab36
...
@@ -45,26 +45,6 @@
...
@@ -45,26 +45,6 @@
line)
line)
*)
*)
open
Cil_types
(* ************************************************************************* *)
(** {2 Registering} *)
(* ************************************************************************* *)
val
register
:
'
a
ref
->
'
a
->
unit
(** Plugins must register values with this function. *)
val
register_compute
:
string
->
State
.
t
list
->
(
unit
->
unit
)
ref
->
(
unit
->
unit
)
->
State
.
t
val
register_guarded_compute
:
(
unit
->
bool
)
->
(
unit
->
unit
)
ref
->
(
unit
->
unit
)
->
unit
(** @before 26.0-Iron there was a string parameter (first position) that was
only used for Journalization, that has been removed. *)
(** Frama-C main interface.
(** Frama-C main interface.
@since Lithium-20081201
@since Lithium-20081201
@see <https://frama-c.com/download/frama-c-plugin-development-guide.pdf> *)
@see <https://frama-c.com/download/frama-c-plugin-development-guide.pdf> *)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment