Eu2C Translator

new topic     » topic index » view thread      » older message » newer message

Hi Rob,
     here is a function from my ping library translated by eu2c translator
2.4
why are variable _0,_1,_2,_3 declared in the _OReport() function?

If possible i would like you to make two versions of the translator. I would
like to see the translator reporting namespacing conflicts asking you to
fill in two separate names for the conflicting functions.
      With this addition, some of us could write dll's with meaningful
function names...

Another suggestion i would like to put forward is for the ability of the
eu2c translator to create *.h file(header). Sometimes,(when coding in C++) i
get stuck doing something that i would have easily done in euphoria. if i
had a header file for the dll(euphoria dll) i would simply use the euphoria
made code in C++ or C.

      What are your views on this issue? its about time other languages
interacted with euphoria code.....

Jordah.
// Euphoria To C version 2.3
#include "C:\EUPHORIA\include\euphoria.h"
#include "main_.h"

int _0Report(int _msg)
{
    int _983 = 0;
    int _0, _1, _2, _3;


    //   if message_box(msg,"PING.E Error!",MB_ICONWARNING) then
    RefDS(_msg);
    RefDS(_982);
    _983 = _5message_box(_msg, _982, 48);
    if (_983 == 0)
        goto L0;
    else if (!IS_ATOM_INT(_983) && DBL_PTR(_983)->dbl == 0.0)
        goto L0;
L0:

    // end procedure
    DeRefDSi(_msg);
    DeRef(_983);
    return 0;
    ;
}
----- Original Message -----
From: "Robert Craig" <rds at RapidEuphoria.com>
To: "EUforum" <EUforum at topica.com>
Sent: Saturday, March 22, 2003 3:31 AM
Subject: Re: Rob: 2.4 upgrade suggestion


>
> Al Getz wrote:
>  > On the other hand:
>  >
>  > "Warning: private variable len in Create() is not used"
>  >
>  > Ok that's great, but where exactly is the function "Create()"
> located?
>  > Let me see, did i put it in Win.ew, WinEx.ew, WinEx2.ew, or
> one of the
>  > other 47 files ??
>
> OK, I'll look into it.
>
>  > Also, is there any way to output the 'warning' text to a file
>  > instead of the console?
>
> No there isn't, (maybe in Linux you could redirect stderr)
> but I'll consider it.
> Maybe, at least, if an ex.err is going to be generated
> I could dump any warnings in there as well.
>
> Regards,
>      Rob Craig
>      Rapid Deployment Software
>      http://www.RapidEuphoria.com
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu