summaryrefslogtreecommitdiff
path: root/src/c_fl.cpp
blob: acaae1af093d6db0007dfc1d64b261d692437301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93


//  Programmed by Jedidiah Barber
//  Released into the public domain


#include <FL/Fl.H>
#include "c_fl.h"




size_t c_pointer_size() {
    return sizeof(void*);
}




int fl_abi_check(int v) {
    return Fl::abi_check(v);
}

int fl_abi_version() {
    return Fl::abi_version();
}

int fl_api_version() {
    return Fl::api_version();
}

double fl_version() {
    return Fl::version();
}




void fl_awake() {
    Fl::awake();
}

void fl_lock() {
    Fl::lock();
}

void fl_unlock() {
    Fl::unlock();
}




int fl_get_damage() {
    return Fl::damage();
}

void fl_set_damage(int v) {
    Fl::damage(v);
}

void fl_flush() {
    Fl::flush();
}

void fl_redraw() {
    Fl::redraw();
}




int fl_check() {
    return Fl::check();
}

int fl_ready() {
    return Fl::ready();
}

int fl_wait() {
    return Fl::wait();
}

int fl_wait2(double s) {
    return Fl::wait(s);
}

int fl_run() {
    return Fl::run();
}