Creating a microcontroller startup file

Rikki Cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 7 19:24:56 PDT 2015


On 8/04/2015 8:38 a.m., Jens Bauer wrote:
> On Tuesday, 7 April 2015 at 20:33:26 UTC, Jens Bauer wrote:
>> Question number 1: How can a C subroutine be made optional, so it's
>> called only if it linked ?
>
> Question 1 might be answered by the following thread:
> http://forum.dlang.org/thread/mg1bad$30uk$1@digitalmars.com
> -So no need to answer question 1. ;)

I was going to say wrap it into a function pointer global declaration 
and set it in a module constructor.


More information about the Digitalmars-d-learn mailing list