<commit_before>import egl/egl
import GLExtensions
EGLNativeFence: class {
	_backend: Pointer
	_display: Pointer
	init: func (=_display) {
		this _backend = GLExtensions eglCreateSyncKHR(this _display, EGL_SYNC_NATIVE_FENCE_ANDROID, null as Int*)
	}
	free: override func {
		GLExtensions eglDestroySyncKHR(this _display, this _backend)
		super()
	}
}<commit_msg>Added duplicate file descriptor function.<commit_after>import egl/egl
import GLExtensions
EGLNativeFence: class {
	_backend: Pointer
	_display: Pointer
	init: func (=_display) {
		this _backend = GLExtensions eglCreateSyncKHR(this _display, EGL_SYNC_NATIVE_FENCE_ANDROID, null as Int*)
	}
	free: override func {
		GLExtensions eglDestroySyncKHR(this _display, this _backend)
		super()
	}
	duplicateFileDescriptor: func -> Int { GLExtensions eglDupNativeFenceFDANDROID(this _display, this _backend) }
}
{'fraction_non_alphanumeric': 0.0777262180974478, 'fraction_numerical': 0.0, 'mean_word_length': 6.2521008403361344, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '128790', 'n_tokens_mistral': 311, 'n_tokens_neox': 301, 'n_words': 74}