-
Notifications
You must be signed in to change notification settings - Fork 4
npp_read_param_str
Jurek Muszyński edited this page Dec 19, 2021
·
2 revisions
Reads string parameter from npp.conf and copies it to dest as a NULL-terminated string.
Returns true if parameter has been found in the config file, otherwise false.
static char M_someSetting[256]=SOME_SETTING_DEFAULT_VALUE;
// in npp_app_init()
npp_read_param_str("someSetting", M_someSetting);