public inbox for
 help / color / mirror / Atom feed
From: "Saffi Hartal" <>
To: <>
Subject: Init modules
Date: Wed, 26 Aug 1998 02:50:00 -0000	[thread overview]
Message-ID: <006c01bdd0df$6260aff0$> (raw)

[-- 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();


                 reply	other threads:[~1998-08-26  2:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006c01bdd0df$6260aff0$' \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).