Skip to content

npp_read_param_int

Jurek Muszyński edited this page Dec 19, 2021 · 2 revisions

bool npp_read_param_int(const char *param, int *dest)

Description

Reads integer parameter from npp.conf.

Returns

Returns true if parameter has been found in the config file, otherwise false.

Example

static int M_someSetting=SOME_SETTING_DEFAULT_VALUE;

// in npp_app_init()
npp_read_param_int("someSetting", &M_someSetting);
Clone this wiki locally