mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 13:20:05 +03:00
new dmd compatibility
This commit is contained in:
parent
e0f441420e
commit
8480efdc64
5 changed files with 143 additions and 115 deletions
6
web.d
6
web.d
|
@ -339,7 +339,7 @@ string jsCall(alias Func, Args...)(Args args) /*if(is(__traits(parent, Func) : W
|
|||
/// Everything should derive from this instead of the old struct namespace used before
|
||||
/// Your class must provide a default constructor.
|
||||
class ApiProvider : WebDotDBaseType {
|
||||
private ApiProvider builtInFunctions;
|
||||
/*private*/ ApiProvider builtInFunctions;
|
||||
|
||||
Session session; // note: may be null
|
||||
|
||||
|
@ -522,7 +522,7 @@ class ApiProvider : WebDotDBaseType {
|
|||
// these only work for one particular call
|
||||
private void delegate(Document d)[] documentPostProcessors;
|
||||
private void delegate(Element d)[] elementPostProcessors;
|
||||
private void _initializePerCallInternal() {
|
||||
/*private*/ void _initializePerCallInternal() {
|
||||
documentPostProcessors = null;
|
||||
elementPostProcessors = null;
|
||||
|
||||
|
@ -683,7 +683,7 @@ class ApiProvider : WebDotDBaseType {
|
|||
}
|
||||
|
||||
private string _errorMessageForCatchAll;
|
||||
private FileResource _catchallEntry(string path, string funName, string errorMessage) {
|
||||
/*private*/ FileResource _catchallEntry(string path, string funName, string errorMessage) {
|
||||
if(!errorMessage.length) {
|
||||
/*
|
||||
string allFuncs, allObjs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue