![]() Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Closed REQ 5540]: Geomview -- routines beginning with "gv_"
>
> From: venkat at cs.umn.edu (Venkat G Ajjanagadde)
> Date: Mon, 28 Aug 1995 17:17:25 -0500
> Message-Id: <199508282217.RAA16852 at micro.cs.umn.edu>
> To: software@geom
> Subject: Geomview -- routines beginning with "gv_"
>
> hello.
>
> I was going thru the source code for Geomview. In many places you seem to
> be using what appear to be library routines beginning with the name
> "gv_". I am wondering whether the source code for those routines is available.
> Thanks.
> --Venkat
>
>
>
Hello again,
these particular routines are generated at compile time from
equivalent lisp functions declarations within the source code. For
instance, the definition of gv_redraw can be found in the following
code fragment located in $GEOMROOT/src/bin/geomview/common/drawer.c:
LDEFINE(redraw, LVOID,
"(redraw CAM-ID)\n\
States that the view in CAM-ID should be redrawn on the\n\
next pass through the main loop or the next invocation of
\"draw\".")
{
DView *dv;
int index;
int id;
LDECLARE(("redraw", LBEGIN,
LID, &id,
LEND));
MAYBE_LOOP_ALL(id, index, T_CAM, DView, dv) {
dv->newcam = 1;
dv->frozen = 0;
}
track_changes();
return Lt;
}
LDEFINE is a macro that is used at compile time to generate the
gv_redraw function as well as a header file clang.h which contains
all of gv_* prototypes.
hope this helps,
Daeron
|
||
|
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
|
site hosted by |
|||