acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_android2.h
1#pragma once
2
3
4#include <wchar.h>
5
6#include "graphics.h"
7
8
9#include "process.h"
10#include "cross_win_gdi.h"
11#include "cross_win_file.h"
12#include "file.h"
13//#include "file_watcher.h"
14//#include "window_impl.h"
15
16#include "exception_engine.h"
17
18//#include "windowing.h"
19
20#define ENABLE_BINRELOC
21//#include "c_os_binreloc.h"
22
23
24void get_os_priority(::i32 * piPolicy, sched_param * pparam, ::enum_priority epriority);
25::i64 get_tick();
26
27
28CLASS_DECL_ACME void * __node_library_touch(const ::file::path & path, string & strMessage);
29CLASS_DECL_ACME void * __node_library_open(const ::file::path & path, string & strMessage);
30
31
32
33#define _fileno fileno
34#define _unlink unlink
35
36
37/*
38#define STATUS_WAIT_0 ((::u32 ) 0x00000000L)
39#define STATUS_ABANDONED_WAIT_0 ((::u32 ) 0x00000080L)
40#define STATUS_USER_APC ((::u32 ) 0x000000C0L)
41#define STATUS_TIMEOUT ((::u32 ) 0x00000102L)
42*/
43
44#define WAIT_FAILED ((::u32 ) 0xFFFFFFFFL)
45#define WAIT_OBJECT_0 ((::u32 ) STATUS_WAIT_0 + 0)
46
47#define WAIT_ABANDONED ((::u32 ) STATUS_ABANDONED_WAIT_0 + 0)
48#define WAIT_ABANDONED_0 ((::u32 ) STATUS_ABANDONED_WAIT_0 + 0)
49
50#define WAIT_IO_COMPLETION STATUS_USER_APC
51
52
53//CLASS_DECL_ACME ::u32 get_last_error();
54//CLASS_DECL_ACME void set_last_error(::u32 dw);
55
56
57CLASS_DECL_ACME bool _istlead(::i32 ch);
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
94
95
96
97
98
99