[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: To gh_ or not to gh_?
From: |
Rob Browning |
Subject: |
Re: To gh_ or not to gh_? |
Date: |
14 May 2001 15:10:11 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Neil Jerram <address@hidden> writes:
> That's a strange assertion. Why do you say this?
Maybe he means they should always be hidden behind a C api? In
general, especially for a "portable generic API", I tend to agree.
You can do a
typedef struct _foo Foo;
Foo bar();
int baz(Foo x);
in the public header, and then a
struct _foo {
...
};
in the .c file.
Makes sure you'll always be able to change the implementation without
impacting user code...
--
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930
- Re: To gh_ or not to gh_?, (continued)
- Re: To gh_ or not to gh_?, Lars J. Aas, 2001/05/11
- Re: To gh_ or not to gh_?, Rob Browning, 2001/05/11
- Re: To gh_ or not to gh_?, Marius Vollmer, 2001/05/12
- more on continuations, Bill Schottstaedt, 2001/05/12
- Re: To gh_ or not to gh_?, Rob Browning, 2001/05/12
- Re: To gh_ or not to gh_?, Dirk Herrmann, 2001/05/13
- Re: To gh_ or not to gh_?, Lars J. Aas, 2001/05/14
- Re: To gh_ or not to gh_?, Marius Vollmer, 2001/05/14
- Re: To gh_ or not to gh_?, Lars J. Aas, 2001/05/14
- Re: To gh_ or not to gh_?, Neil Jerram, 2001/05/14
- Re: To gh_ or not to gh_?,
Rob Browning <=
- Re: To gh_ or not to gh_?, Lars J. Aas, 2001/05/15
- Re: To gh_ or not to gh_?, Neil Jerram, 2001/05/15
- Re: To gh_ or not to gh_?, Lars J. Aas, 2001/05/16
RE: To gh_ or not to gh_?, John Fitzgerald, 2001/05/11
RE: To gh_ or not to gh_?, John Fitzgerald, 2001/05/13