libuid ~master (2017-09-14T07:49:13Z)
Dub
Repo
Impl.Impl
ui
Core
EventListenerMixin
Impl
Undocumented in source.
enum
Impl
;
template
Impl
()
static if
(
is(TargetT == NoneTypeTag)
)
enum
Impl
=
q{
private
static
void
delegate
()[] %
1
$
sListeners
;
private
extern
(
C
)
static
%
2
$
s
%
1
$
sCallback
(
void
*
data
) {
foreach
(
dlg
; %
1
$
sListeners
) {
dlg
(); } %
3
$
s
}
public
static
void
%
1
$
s
(
void
delegate
()
f
) { %
1
$
sListeners
~=
f
; }
}
.
format
(
Event
,
ReturnT.stringof
,
RET
)
;
enum
Impl
;
Meta
Source
See Source File
ui
Core
EventListenerMixin
Impl
manifest constants
Impl
RET