Re: Weak globals

Roger Harman <[email protected]> Tue, 2 Apr 2019 23:45:35 +0000
Newsgroups gmane.comp.lang.as400.c
Message-ID <BYAPR19MB2614125D0CD087D0269B0BDEE4560@BYAPR19MB2614.namprd19.prod.outlook.com>
I heard that!!

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
 



From: C400-L <[email protected]> on behalf of Joe Pluta <joepluta-Kokj9vFzZubAKuVPhbf8BAC/[email protected]>
Sent: Tuesday, April 2, 2019 7:39 AM
To: [email protected]
Subject: Re: [C400-L] Weak globals
 
Hi Mark!  I'm trying to do almost exactly what the example I alluded to
talks about, which is overriding a library function.  Very specifically,
I'm going to write a service program initialization function that does
nothing, and allow developers to override that function to provide what
is in effect a *INZSR for service programs, but don't tell Roger!  :)

On 4/2/2019 9:29 AM, Mark Waterbury wrote:
>   Joe:
> See the ILE Concepts manual, around page 76, for a detailed explanation of "weak exports."
>
>
> What are you hoping to achieve by using this feature?
>
>
>   (So, "ILE" really does mean "It's a Linkage Editor!") ;-)
>
>
> Hope that helps,
>
> Mark S. Waterbury

--
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com