<commit_before>#ifndef SHOVELER_SPATIALOS_WORKER_VIEW_VISUAL_SCENE_H
#define SHOVELER_SPATIALOS_WORKER_VIEW_VISUAL_SCENE_H

#include <shoveler/scene.h>
#include <shoveler/spatialos/worker/view/base/view.h>

static inline ShovelerScene *shovelerSpatialosWorkerViewGetScene(ShovelerSpatialosWorkerView *view)
{
	return shovelerSpatialosWorkerViewGetTarget(view, "scene");
}

static inline bool shovelerSpatialosWorkerViewHasScene(ShovelerSpatialosWorkerView *view)
{
	return shovelerSpatialosWorkerViewGetScene(view) != NULL;
}

#endif
<commit_msg>made scene target inline function c++ compatible<commit_after>#ifndef SHOVELER_SPATIALOS_WORKER_VIEW_VISUAL_SCENE_H
#define SHOVELER_SPATIALOS_WORKER_VIEW_VISUAL_SCENE_H

#include <shoveler/scene.h>
#include <shoveler/spatialos/worker/view/base/view.h>

static inline ShovelerScene *shovelerSpatialosWorkerViewGetScene(ShovelerSpatialosWorkerView *view)
{
	return (ShovelerScene *) shovelerSpatialosWorkerViewGetTarget(view, "scene");
}

static inline bool shovelerSpatialosWorkerViewHasScene(ShovelerSpatialosWorkerView *view)
{
	return shovelerSpatialosWorkerViewGetScene(view) != NULL;
}

#endif

{'fraction_non_alphanumeric': 0.0777292576419214, 'fraction_numerical': 0.0, 'mean_word_length': 10.814432989690722, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7153830', 'n_tokens_mistral': 434, 'n_tokens_neox': 427, 'n_words': 57}