doc: (void)' -> ()' in documentation

This commit is contained in:
Peter D. Barnes, Jr
2022-11-16 17:09:48 -08:00
committed by Peter Barnes
parent 3557cd86ea
commit 820c029e8b
21 changed files with 79 additions and 91 deletions

View File

@@ -47,7 +47,7 @@ ns.cppyy.cppdef("""
{
public:
/** Start model execution by scheduling a HandleEvent. */
void Start (void);
void Start ();
private:
/**
@@ -59,7 +59,7 @@ ns.cppyy.cppdef("""
};
void
MyModel::Start (void)
MyModel::Start ()
{
Simulator::Schedule (Seconds (10.0),
&MyModel::HandleEvent,
@@ -92,7 +92,7 @@ ns.cppyy.cppdef("""
return MakeEvent(&RandomFunctionCpp, model);
}
void CancelledFunctionCpp(void) {
void CancelledFunctionCpp() {
CPyCppyy::Eval("CancelledEvent()");
}