This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Siv3D.hpp> | |
#include <imgui.h> | |
#include "imgui_impl_s3d.h" | |
#include "DearImGuiAddon.hpp" | |
/// @brief アドオンの登録時の初期化処理を記述します。 | |
/// @remark この関数が false を返すとアドオンの登録は失敗します。 | |
/// @return アドオンの初期化に成功した場合 true, それ以外の場合は false | |
bool DearImGuiAddon::init() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <libwebsockets.h> | |
static int callback_http(struct libwebsocket_context *context, | |
struct libwebsocket *wsi, | |
enum libwebsocket_callback_reasons reason, void *user, |