[gameprogrammer] Cast by return type?
- From: Kevin Jenkins <gameprogrammer@xxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sat, 29 Mar 2008 11:39:34 -0700
Is there a way to automatically cast by implicit type as follows:
struct MyStruct
{
char *s;
}
void Func(char *s)
{
};
void main(void)
{
MyStruct myStruct;
myStruct.s=0;
Func(MyStruct);
}
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: Cast by return type?
- From: Alan Wolfe
- [gameprogrammer] Re: Cast by return type?
- From: Husam Zakaria
Other related posts:
- » [gameprogrammer] Cast by return type?
- » [gameprogrammer] Re: Cast by return type?
- » [gameprogrammer] Re: Cast by return type?
- » [gameprogrammer] Re: Cast by return type?
- » [gameprogrammer] Re: Cast by return type?
- [gameprogrammer] Re: Cast by return type?
- From: Alan Wolfe
- [gameprogrammer] Re: Cast by return type?
- From: Husam Zakaria