Opened 14 years ago
Closed 14 years ago
#1051 closed enhancement (fixed)
add extra argument to Tol_HciWriter
Reported by: | Jorge | Owned by: | Jorge |
---|---|---|---|
Priority: | highest | Milestone: | Mantainance |
Component: | Kernel | Version: | head |
Severity: | blocker | Keywords: | HciWriter |
Cc: | hcarralero@… |
Description
The "Hci Writer" in TOL is a global function of type:
typedef void (*BHciWriter)(const BText&);
In order to provide a context information to a global function of this type it is proposed to be:
typedef void (*BHciWriter)(const BText&, void *context);
the extra argument context must be provided in the invocation to PutHciWriter
void PutHciWriter(BHciWriter h, void *context = NULL);
When the HciWriter is invoked it will receive the context argument it was registered with.
Change History (2)
comment:1 Changed 14 years ago by
Owner: | changed from josp.jorge to Jorge |
---|---|
Status: | new → assigned |
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [2980]) closes #1051