so I made a methodmap on private forwards (for my own personal use) and it keeps giving me an error on the constructor.
PHP Code:
methodmap PrivForws < Handle
{
public PrivForws( ExecType etype, ParamType ... )
{
Handle forw = CreateForward(etype, ...); //<- error line @ here.
if (forw)
return view_as<PrivForws>( forw );
return null;
}
public int GetFuncCount()
{
return GetForwardFunctionCount(this);
}
public bool Add(Handle plugin, Function func)
{
return AddToForward(this, plugin, func);
}
public bool Remove(Handle plugin, Function func)
{
return RemoveFromForward(this, plugin, func);
}
public int RemoveAll(Handle plugin)
{
return RemoveAllFromForward(this, plugin);
}
public void Start()
{
Call_StartForward(this);
}
};
The error is "error 029: invalid expression, assumed zero" @ the "Handle forw = CreateForward(etype, ...);" type.
What's wrong with it?
__________________