programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Re Passing double floats to an external dll

From: Charles Melice <3d_at_forthcad.com>
Date: Thu, 26 Oct 2006 21:44:22 +0200

----- Original Message -----
From: "Roland Smith" <r.a.smith_at_imperial.ac.uk>
To: <sftalk_at_forth.com>
Sent: Thursday, October 26, 2006 5:56 PM
Subject: [sftalk] Re Passing double floats to an external dll

[..]

> Calls to a function requiring a float argument. eg
>
> 2 Import: _FreeImage_RotateClassic_at_12 ( addr Dfloat -- bool )
>

\ so far I remember, Dfloat is like two parameters:

3 IMPORT: _FreeImage_RotateClassic_at_12 ( addr 2*float -- bool )

: RotateClassic ( s: addr -- bool )( f: radius -- )
    1dfparms _FreeImage_RotateClassic_at_12 ;

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Thu Oct 26 2006 - 12:45:41 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:41 PST