comp.lang.ada
 help / color / mirror / Atom feed
* How do I end the program?
@ 2002-02-04 23:15 David Starner
  2002-02-05  3:52 ` dale
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: David Starner @ 2002-02-04 23:15 UTC (permalink / raw)


How do I exit the program? It may seem like a silly question, but I'm
trying to exit from a function called from a callback written in C, so I
can't just return or raise an exception. glutMainLoop never returns, so
I can't run off the end of the main function. I used
GNAT.OS_Lib.OS_Exit. Is there a pure Ada alternative?

-- 
David Starner - starner@okstate.edu, dvdeug/jabber.com (Jabber)
Pointless website: http://dvdeug.dhis.org
What we've got is a blue-light special on truth. It's the hottest thing 
with the youth. -- Information Society, "Peace and Love, Inc."



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-02-06 17:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-04 23:15 How do I end the program? David Starner
2002-02-05  3:52 ` dale
2002-02-05  6:17   ` Simon Wright
2002-02-05  7:39   ` Dmitriy Anisimkov
2002-02-05 12:35 ` David C. Hoos
2002-02-05 13:26 ` Stephen Leake
2002-02-06  3:16 ` Steve Doiel
2002-02-06  7:46   ` Dale Stanbrough
2002-02-06  8:40     ` Martin Dowie
2002-02-06 17:55     ` Robert A Duff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox