mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-03 00:08:46 +02:00
extflat: integrate cb_extflat_visitresists_t for EFVisitResists()
Additionally the HierName's hierName1 and hierName2 arguments have been made 'const' to help convey the receiver can not modify the referenced data passed.
This commit is contained in:
+3
-2
@@ -118,8 +118,9 @@ typedef int (*cb_extflat_visitdevs_t)(Dev *dev, HierContext *hc, float scale, Tr
|
||||
extern int EFVisitDevs(const cb_extflat_visitdevs_t devProc, ClientData cdata);
|
||||
extern int efVisitDevs(HierContext *hc, CallArg *ca);
|
||||
extern bool efSymLook();
|
||||
extern int efVisitResists();
|
||||
extern int EFVisitResists();
|
||||
extern int efVisitResists(HierContext *hc, CallArg *ca);
|
||||
typedef int (*cb_extflat_visitresists_t)(const HierName *hn1, const HierName *hn2, float resistance, ClientData cdata);
|
||||
extern int EFVisitResists(const cb_extflat_visitresists_t resProc, ClientData cdata);
|
||||
extern int EFVisitNodes();
|
||||
extern int EFVisitCaps();
|
||||
extern void EFGetLengthAndWidth();
|
||||
|
||||
Reference in New Issue
Block a user