From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.25.45 with SMTP id z13mr1599560paf.22.1374248213244; Fri, 19 Jul 2013 08:36:53 -0700 (PDT) X-Received: by 10.49.101.34 with SMTP id fd2mr753792qeb.12.1374248212831; Fri, 19 Jul 2013 08:36:52 -0700 (PDT) Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!news.glorb.com!qx7no43792813pbc.1!news-out.google.com!b2ni71953pby.1!nntp.google.com!qx7no43792807pbc.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 19 Jul 2013 08:36:52 -0700 (PDT) In-Reply-To: <54f7f0d4-29ef-4de0-94d8-8320e8df24e2@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=20.132.68.148; posting-account=71T85QoAAACdj14SLDEMBv_3HCGzGIoF NNTP-Posting-Host: 20.132.68.148 References: <54f7f0d4-29ef-4de0-94d8-8320e8df24e2@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: .h header file in ObjectAda 8.2.2 source code? From: dd24fan Injection-Date: Fri, 19 Jul 2013 15:36:53 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 2308 Xref: number.nntp.dca.giganews.com comp.lang.ada:182590 Date: 2013-07-19T08:36:52-07:00 List-Id: Okay, the header file file contains all necessary information to access type definitions and RTL function prototypes. Below is a snippet of the .h file: ============= . . . /* Windows Declarations */ #ifdef WIN32 #include #define _DECL WINAPI #define _EXTERN /* Non Windows Declarations */ #else #define _DECL #define _EXTERN #ifdef _MSC_VER #define getvect _dos_getvect #define setvect _dos_setvect #define disable _disable #define enable _enable #endif #endif #include #include #include /* RTL is written in 'C' */ #ifdef __cplusplus extern "C" { #endif . . . #define (this section just defines different constants) . . . /* Include all RTL header files necessary for external compiles */ . . . #include "xyz.h" (this section has 40+ #includes of .h files) . . . #ifdef __cplusplus } #endif #endif ============ The program runs on a PC Windows environment. It does not hang in the ada main subprogram execution. I believe it to hang in the first call to the C code.