chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Building C Libraries with chicken


From: Felix
Subject: Re: [Chicken-users] Building C Libraries with chicken
Date: Wed, 01 Sep 2010 07:59:48 -0400 (EDT)

From: Christian Kellermann <address@hidden>
Subject: Re: [Chicken-users] Building C Libraries with chicken
Date: Wed, 1 Sep 2010 13:42:00 +0200

> * felix winkelmann <address@hidden> [100901 13:34]:
>> int main(int argc, char *argv[])
>> {
>>   CHICKEN_run((void *)C_toplevel);
>>   yo_dawg();
>>   return 0;
>> }
> 
> Thanks for the excellent (and fast) reply!  Despite the laugh I
> always get when seeing CHICKEN_run(), what's the necessity to call
> this?

To initialize the runtime system and run the toplevel code once
(In Scheme, there is no `main()', so the toplevel expressions must
be executed).


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]