public inbox for
 help / color / mirror / Atom feed
* Init modules
@ 1998-08-26  2:50 Saffi Hartal
  0 siblings, 0 replies; only message in thread
From: Saffi Hartal @ 1998-08-26  2:50 UTC (permalink / raw)
  To: c++-embedded

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

I sometimes use that way to init my modules.
 if I want to init the arrays and variables i use (i 
don't always create a class which supply the interface cause the people around 
me use C routines instead of C++ ), what do you think about it.
static int 
init_module(void) {     /* code to init the module 
*/     return(0); }
static int init_var=init_module();


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-08-26  2:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-26  2:50 Init modules Saffi Hartal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).