@@ -20,18 +20,14 @@ function eventexec(event::T) where {T<:AbstractEventhdlr}
20
20
end
21
21
22
22
"""
23
- Virtual function for eventinit. By default it does nothing
23
+ Default eventinit function.
24
24
"""
25
- function eventinit (event:: T ) where {T<: AbstractEventhdlr }
26
- return
27
- end
25
+ function eventinit (event:: AbstractEventhdlr ) end
28
26
29
27
"""
30
- Virtual function for eventexit. By default it does nothing
28
+ Default eventexit function.
31
29
"""
32
- function eventexit (event:: T ) where {T<: AbstractEventhdlr }
33
- return
34
- end
30
+ function eventexit (event:: AbstractEventhdlr ) end
35
31
"""
36
32
This is the function that will be converted to a C function. It signature
37
33
matches the one given in the SCIP documentation for SCIP_DECL_EVENTEXEC.
@@ -54,8 +50,8 @@ function _eventexec(
54
50
end
55
51
56
52
"""
57
- This is the function that will be converted to a C function. It signature
58
- matches the one given in the SCIP documentation for SCIP_DECL_EVENTINIT.
53
+ Internal function that will be converted to a C function and passed to SCIP as a callback.
54
+ Its signature matches the one given in the SCIP documentation for ` SCIP_DECL_EVENTINIT` .
59
55
"""
60
56
function _eventinit (
61
57
scip:: Ptr{SCIP_} ,
@@ -71,10 +67,9 @@ function _eventinit(
71
67
end
72
68
73
69
"""
74
- This is the function that will be converted to a C function. It signature
75
- matches the one given in the SCIP documentation for SCIP_DECL_EVENTEXIT.
70
+ Internal function that will be converted to a C function passed to SCIP.
71
+ Its signature matches the one given in the SCIP documentation for ` SCIP_DECL_EVENTEXIT` .
76
72
"""
77
-
78
73
function _eventexit (
79
74
scip:: Ptr{SCIP_} ,
80
75
eventhdlr:: Ptr{SCIP_Eventhdlr} ,
0 commit comments