src/main/c/jnlua.c
static int isrelevant(lua_Debug *ar) {
	if (ar->name && strlen(ar->name) == 0) {
		ar->name = NULL;
	}
	if (ar->what && strcmp(ar->what, "C") == 0) {
		ar->source = NULL;
	}
	if (ar->source) {
		if (*ar->source == '=' || *ar->source == '@') {
			ar->source++;
		}
	}
	return ar->name || ar->source;
}
/* Processes a Lua activation record and returns whether it is relevant. */
Processes a Lua activation record and returns whether it is relevant.
Processes a Lua activation record and returns whether it is relevant .
static int isrelevant(lua_Debug *ar) {
	if (ar->name && strlen(ar->name) == 0) {
		ar->name = NULL;
	}
	if (ar->what && strcmp(ar->what, "C") == 0) {
		ar->source = NULL;
	}
	if (ar->source) {
		if (*ar->source == '=' || *ar->source == '@') {
			ar->source++;
		}
	}
	return ar->name || ar->source;
}
static int isrelevant ( lua_Debug * ar ) { if ( ar -> name && strlen ( ar -> name ) == 0 ) { ar -> name = NULL ; } if ( ar -> what && strcmp ( ar -> what , " " ) == 0 ) { ar -> source = NULL ; } if ( ar -> source ) { if ( * ar -> source == ' ' || * ar -> source == ' ' ) { ar -> source ++ ; } } return ar -> name || ar -> source ; }
Processes a Lua activation record and returns whether it is relevant.
Processes a Lua activation record and returns whether it is relevant .