C4PropList.cpp File Reference
#include "C4Include.h"
#include "script/C4PropList.h"
#include "control/C4Record.h"
#include "object/C4GameObjects.h"
#include "script/C4Aul.h"
Include dependency graph for C4PropList.cpp:

Go to the source code of this file.


void CompileNewFunc (C4PropList *&pStruct, StdCompiler *pComp, C4ValueNumbers *rPar)

Function Documentation

◆ CompileNewFunc()

void CompileNewFunc ( C4PropList *&  pStruct,
StdCompiler pComp,
C4ValueNumbers rPar 

Definition at line 441 of file C4PropList.cpp.

References mkParAdapt(), C4PropList::New(), and StdCompiler::Value().

Referenced by C4PropList::end().

442 {
443  std::unique_ptr<C4PropList> temp(C4PropList::New()); // exception-safety
444  pComp->Value(mkParAdapt(*temp, rPar));
445  pStruct = temp.release();
446 }
void Value(const T &rStruct)
Definition: StdCompiler.h:161
StdParameterAdapt< T, P > mkParAdapt(T &&rObj, P &&rPar)
Definition: StdAdaptors.h:476
static C4PropList * New(C4PropList *prototype=nullptr)
Definition: C4PropList.cpp:64
Here is the call graph for this function:
Here is the caller graph for this function: