August 15, 2012 Re: "D Language and Fortran DLL" article | ||||
---|---|---|---|---|
| ||||
Posted in reply to xenon325 | > I was referring to indentation, i.e. > version > else version > else Without indentation it looks like C++ #if defined that's ugly for me. > >> On Tuesday, 14 August 2012 at 07:32:05 UTC, xenon325 wrote: >>> 3. Some lines of code are outside of main area (like 49, 50). >>> Tested on Opera, FF, IE. >> BitBucket bug, but fixed manually. > > Hm, I still see lines are outside. What is your browser? IE, FF, Chrome, Opera - ok. > > Another one. I don't have d compiler at hand (and for some reason DPaste isn't working too), but I think this should work fine: > > void checkAndThrow(void * pointer, int line = __LINE__) > > and than call it just like > > checkAndThrow( ptr); Thanks, it works on dmd 2.060. |
August 16, 2012 Re: "D Language and Fortran DLL" article | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michael | On Wednesday, 15 August 2012 at 19:17:42 UTC, Michael wrote: > Without indentation it looks like C++ #if defined that's ugly for me. Ok, no problem. >>> On Tuesday, 14 August 2012 at 07:32:05 UTC, xenon325 wrote: >>>> 3. Some lines of code are outside of main area (like 49, 50). >>>> Tested on Opera, FF, IE. >>> BitBucket bug, but fixed manually. >> >> Hm, I still see lines are outside. > What is your browser? IE, FF, Chrome, Opera - ok. Opera 12.0 - ok (it should be because of cache, though I could swear I've tried to reload it yesterday) FF 12.0 - ok (same as Opera) IE 9.0.8112 - ok (damn!) |
Copyright © 1999-2021 by the D Language Foundation