[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proxy examle code needed



Arafangion wrote:
> Roberto C. Sanchez wrote:
> 
> 
>>Dirk wrote:
>> 
>>
>>
>>>Where do I find an example proxy code in C, with less than 100 lines and
>>>no dependencies?
>>>   
>>>
> 
> Here's an int proxy:
> 
> // .c file
> int f;
> void setTheInt(int foo) {
>     f = foo;
> }
> int getTheInt() {
>     return f;
> }
> // .h file
> void setTheInt(int foo);
> int getTheInt();
> 

It doesn't meet the requirements however.  Dirk specified *no* dependencies.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: