Search

February 10, 2009
General »
...res ~= res ~= "\n\treturn cast(${iface})cast(void*)&_iface_${iface}_vtbl;";

Much nicer and understandable...
February 10, 2009
General »
...n ~ iface ~ " as" ~ iface ~ "() {";
	res ~= \n\t"return cast("~iface~")cast(void*)&_iface_" ~ iface ~ "_vtbl...
April 15, 2008
Issues »
...derived via inheritance from the template.

-----
module iface_specialize;

abstract class ACFoo(T)
{
    void init...
December 03, 2007
Learn »
...begging the question.
        auto ptr = iface.classinfo.vtbl[0];
        *(_this + (iface.offset / (void*).sizeof)) = ptr...
February 13, 2007
General »
...to make sure:

Object o = cast(Object)iface;
if (o) {
  // it's a D object...
November 14, 2006
General »
...there a way to make class and iface really compatible? 3.) Please document this very...
November 14, 2006
General »
...had a hard lesson to learn. An iface and an object is not exchangeable. The...
May 25, 2006
General »
...Interface iface; clazz.interfaces) {
		// should return the mangled name
		if(derivesFromIBase(iface)) return iface.classinfo...
August 10, 2005
General »
...0x89100,//get iface name
 SIOCSIFLINK =0x8911,//set iface channel
 SIOCGIFCONF =0x8912,//get iface list
 SIOCGIFFLAGS...
July 21, 2005
General »
...iface name const int SIOCSIFLINK =0x8911;//set iface channel
const int SIOCGIFCONF =0x8912;//get iface...
1 2 3 4 5 6
Next ›   Last »