×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 2010/11/5 4:49 PM, James H. H. Lampert wrote:
Given this parameter on a C function:
bool bUseFIPS
how would I code the prototype and call in RPG?
If you can compile the C module, compile it with OUTPUT(*PRINT)
OPTION(*XREF) to see how it's defining the bool variable.
And while you're at it, use OPTION(*SHOWINC) so you find out where the
typedef is for bool - it might be handy to know where to look later for
other types. The C compiler listing has an INCNO column on the right
that shows what include file the line comes from. Then there's a table
at the end of the listing (look for INCNBR) that lists the include
files. (I find it's much easier to locate the file that way than to try
and trace backwards through the nested #include statements.)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.