blob: a44bbce05e493f9fa272f95cc1d59b13cc25a74b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "raylib.h"
#include <libguile.h>
#include <stdio.h>
static void rl_draw_text() {
DrawText("a", 200, 80, 20, RED); //< this line segfaults
}
static void rl_text_define_methods() {
SCM handler = scm_c_define_gsubr ("rl-draw-text", 0, 0, 0, rl_draw_text);
}
|