Add LLVM option to Sciter and then give up
This commit is contained in:
@@ -186,8 +186,11 @@ pub fn main() void {
|
||||
_ = display.mapWindow(window);
|
||||
defer _ = display.unmapWindow(window);
|
||||
|
||||
//var rect: sciter.Rect = .{ .left = -1, .right = -1, .top = -1, .bottom = -1 };
|
||||
//const window2 = sciter_api.SciterCreateWindow(0, &rect, null, null, .null_handle);
|
||||
|
||||
_ = sciter_api.SciterSetOption(.null_handle, 10, 1);
|
||||
sciter_api.SciterSetupDebugOutput(window, null, &sciterDebugOutputProc);
|
||||
sciter_api.SciterSetupDebugOutput(.null_handle, null, &sciterDebugOutputProc);
|
||||
_ = sciter_api.SciterLoadHtml(window, html, html.len, L("/"));
|
||||
|
||||
var running = true;
|
||||
|
||||
@@ -236,7 +236,7 @@ pub const Rect = extern struct {
|
||||
left: i32,
|
||||
top: i32,
|
||||
right: i32,
|
||||
bottom: u32,
|
||||
bottom: i32,
|
||||
};
|
||||
|
||||
pub const RequestParam = extern struct {
|
||||
@@ -453,7 +453,7 @@ pub const API = extern struct {
|
||||
SciterSetHomeURL: *const fn (hwnd: HWindow, baseUrl: CWStr) callconv(.c) Bool,
|
||||
SciterCreateNSView: *anyopaque,
|
||||
SciterCreateWidget: *anyopaque,
|
||||
SciterCreateWindow: *const fn (creationFlags: u32, frame: *Rect, delegate: *const WindowDelegate, delegateParam: ?*anyopaque, parent: HWindow) callconv(.c) HWindow,
|
||||
SciterCreateWindow: *const fn (creationFlags: u32, frame: *Rect, _: ?*anyopaque, _: ?*anyopaque, parent: HWindowOptional) callconv(.c) HWindow,
|
||||
|
||||
SciterSetupDebugOutput: *const fn (hwndOrNull: HWindowOptional, param: ?*anyopaque, pfOutput: ?*const DebugOutputProc) callconv(.c) void,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user