|
This is a really bad idea. You may as well use CALL/PARM and *ENTRY
PLIST, you're throwing away all of the value of using prototypes by
passing these data structures.
Your code guarantees that all callers (whether they use the new fields
or not) must be recompiled every time a data structure changes,
drastically increasing the amount of maintenance that's required.
Even worse, the compiler won't protect you against passing the wrongAs for passing the wrong DS, I don't think that's a problem. It is declared
data structure.
Why not pass individual parameters? Why do you want to pass data
structures?
Sorry but this whole concept makes my stomach turn.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.