<commit_before>#pragma once

#include "objects.hh"

// 1. forward declarations
class FramebufferImpl;
typedef class FramebufferImpl* framebuffer_t;

class TextureImpl;
typedef class TextureImpl* texture_t;

class DisplayFrameImpl;
typedef class DisplayFrameImpl* display_frame_t;

class DisplayDeviceImpl;
typedef class DisplayDeviceImpl* display_device_t;

// 2. api

#include <memory>

std::unique_ptr<FramebufferImpl, void (*)(FramebufferImpl*)>
framebuffer_make();

/**
 * Obtains the last framebuffer's frame as a texture.
 * @relatesalso framebuffer_t
 */
TextureImpl* framebuffer_as_texture (FramebufferImpl* self);

void framebuffer_activate(FramebufferImpl* self);
void framebuffer_deactivate(FramebufferImpl* self);
<commit_msg>remove some more code<commit_after>#pragma once

#include "objects.hh"

// 1. forward declarations
class FramebufferImpl;
typedef class FramebufferImpl* framebuffer_t;

class TextureImpl;
typedef class TextureImpl* texture_t;

class DisplayFrameImpl;
typedef class DisplayFrameImpl* display_frame_t;

class DisplayDeviceImpl;
typedef class DisplayDeviceImpl* display_device_t;

// 2. api

#include <memory>

{'fraction_non_alphanumeric': 0.08296943231441048, 'fraction_numerical': 0.0034934497816593887, 'mean_word_length': 7.013986013986014, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '462794', 'n_tokens_mistral': 362, 'n_tokens_neox': 338, 'n_words': 97}