Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: struct looses initialization when passing to a function |
| Date | 2012-03-03 12:55 -0800 |
| Organization | None to speak of |
| Message-ID | <lnaa3x76bz.fsf@nuthaus.mib.org> (permalink) |
| References | <29955299.255.1330701473733.JavaMail.geo-discussion-forums@pbij6> <b8e08012-2d01-4c63-a099-e385d2bb5ed8@q12g2000yqg.googlegroups.com> |
Barry Schwarz <schwarz45@yahoo.com> writes:
[...]
> And regarding what you did post, you seem to be working under the
> micsonception that void** is a generic pointer to pointer. It most
> definitely is not. It is explicitly a pointer to void and may have a
You mean "pointer to pointer to void".
> completely different representation and alignment requirements than
> void* which is what you send it. But until we see how myfunc uses it,
> we are just guessing.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
struct looses initialization when passing to a function ArifulHossain tuhin <etothepowerpi@gmail.com> - 2012-03-02 07:17 -0800
Re: struct looses initialization when passing to a function Ian Collins <ian-news@hotmail.com> - 2012-03-03 11:59 +1300
Re: struct looses initialization when passing to a function Ian Collins <ian-news@hotmail.com> - 2012-03-03 12:01 +1300
Re: struct looses initialization when passing to a function Kaz Kylheku <kaz@kylheku.com> - 2012-03-02 23:01 +0000
Re: struct looses initialization when passing to a function nick_keighley_nospam@hotmail.com - 2012-03-03 06:29 -0800
Re: struct looses initialization when passing to a function Barry Schwarz <schwarz45@yahoo.com> - 2012-03-03 07:29 -0800
Re: struct looses initialization when passing to a function Keith Thompson <kst-u@mib.org> - 2012-03-03 12:55 -0800
Re: struct looses initialization when passing to a function Shao Miller <sha0.miller@gmail.com> - 2012-03-03 14:29 -0500
csiph-web