Re: [ooc-compiler] Handling C "in" parameters
Brought to you by:
mva
|
From: August <fus...@co...> - 2005-02-18 02:41:24
|
On fre, 2005-02-18 at 10:09 +0800, Stewart Greenhill wrote: > I suggest that you do something like this: > > PROCEDURE ["SDL_PollEvent"] PollEvent*(VAR event: Event): C.int; Yes, this is the ideal solution. I didn't know that VAR parameters and pointers were compatible in this case. By the way, I have heard of a C header to Oberon-2 conversion tool called H2O. Do you know where I can get it? Thanks, August |