Proposal for Deimos documentation
Jacob Carlborg
doob at me.com
Fri Mar 22 03:13:14 PDT 2013
On 2013-03-22 09:33, Jens Mueller wrote:
> Skipping (bool, ...) is covered by "at most one", isn't it? Do you have
> an example where one C include results in several D imports?
// a.h
int a;
// b.h
#include <a.h>
// main.c
#include <b.h>
int main (int c, char** v) { a = 3; }
The above should work. If you translate that code to D and only replaces
the include with one import you won't have access to the "a" variable.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list