Parameters names

Post Reply
Winexcel
Posts: 89
Joined: Thu Jul 13, 2017 11:37 am

Parameters names

Post by Winexcel » Fri Feb 16, 2018 2:59 pm

I think It will be better if You will name all the parameters the same as the orginal wrapper. For example:
If we follow the standart, that next procedure

Code: Select all

function  CreateBrowserHost(aWindowInfo : PCefWindowInfo; const aURL : ustring; const aSettings : PCefBrowserSettings; const aContext : ICefRequestContext): Boolean;
will look like:

Code: Select all

function  CreateBrowserHost(windowInfo: PCefWindowInfo; const url: ustring; const settings : PCefBrowserSettings; const request_context : ICefRequestContext): Boolean;
It's just an advice.

Post Reply