turns out the one change to src/core.c was already done
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoIxD 2026-09-28 12:20:25 -07:00
commit 503a259caa
5 changed files with 13 additions and 7 deletions

5
configure vendored
View file

@ -36,6 +36,7 @@ our $executable_suffix = "";
our @library_targets = ();
our @examples_targets = ();
our %examples_libs = ();
our %examples_all = ();
our $cross = 0;
our $host = "";
@ -331,11 +332,11 @@ if (param_get("examples")) {
if (param_get("shared")) {
print(OUT
"${l}: ${s}${object_suffix} src/${library_prefix}Mw${library_suffix}\n"
"${l}: ${s}${object_suffix} ${add} src/${library_prefix}Mw${library_suffix}\n"
);
}
else {
print(OUT "${l}: ${s}${object_suffix} src/${library_prefix}Mw.a\n");
print(OUT "${l}: ${s}${object_suffix} ${add} src/${library_prefix}Mw.a\n");
}
if (grep(/^cocoa$/, @backends)) {
print(OUT

View file

@ -7,9 +7,9 @@
| Language | Repo | Version | Notes |
| -------- | --------------------------------------------------------------------- | ------- | -------------- |
| Node.js | [milsko-node](https://forgejo.nishi.boats/pyrite-dev/milsko-node) | 1.4 | Auto-generated |
| C++ | [mwcxx](https://forgejo.nishi.boats/pyrite-dev/mwcxx) | 2.0a | Auto-generated |
| Python | [milsko-py](https://forgejo.nishi.boats/pyrite-dev/milsko-py) | 2.0a | Auto-generated |
| Pascal | [milsko-pascal](https://forgejo.nishi.boats/pyrite-dev/milsko-pascal) | 2.0a | Auto-generated |
| C++ | [mwcxx](https://forgejo.nishi.boats/pyrite-dev/mwcxx) | 2.0b | Auto-generated |
| Python | [milsko-py](https://forgejo.nishi.boats/pyrite-dev/milsko-py) | 2.0b | Auto-generated |
| Pascal | [milsko-pascal](https://forgejo.nishi.boats/pyrite-dev/milsko-pascal) | 2.0b | Auto-generated |
# Inactive Bindings

View file

@ -221,6 +221,8 @@ new_example("examples/basic/subwindow");
new_example("examples/basic/tab");
new_example("examples/basic/document");
#new_example("examples/doom/mwdoom", "", 1);
if (param_get("opengl")) {
new_example("examples/gldemos/boing", $gl_libs);
new_example("examples/gldemos/clock", $gl_libs);

View file

@ -41,9 +41,12 @@ sub add_libs {
}
sub new_example {
if (@_ == 2) {
if (@_ >= 2) {
$examples_libs{"$_[0]${executable_suffix}"} = $_[1];
}
if (@_ >= 3) {
$examples_all{"$_[0]${executable_suffix}"} = $_[2];
}
push(@examples_targets, "${_[0]}${executable_suffix}");
}

View file

@ -753,7 +753,7 @@ void MwSetString(MwWidget handle, const char* key, const char* value) {
void MwSetPointer(MwWidget handle, const char* key, void* value) {
if(IsFirstVisible(handle) && strcmp(key, MwNiconPixmap) == 0) {
if(value != NULL) MwLLSetIcon(handle->lowlevel, ((MwPixmap)value)->lowlevel);
MwLLSetIcon(handle->lowlevel, ((MwPixmap)value)->lowlevel);
} else if(strcmp(key, MwNsizeHints) == 0) {
MwSizeHints* sz = value;