work on mac package bug
This commit is contained in:
parent
911023c68f
commit
3286519fb0
|
@ -606,8 +606,15 @@ fm__prepare(umem item_size, void *i1, va_list list){
|
||||||
void *result = (void*)fm__push(size);
|
void *result = (void*)fm__push(size);
|
||||||
memcpy(result, i1, size);
|
memcpy(result, i1, size);
|
||||||
|
|
||||||
|
fprintf(stdout, "%p\n%.4s\n", i1, i1);
|
||||||
|
fflush(stdout);
|
||||||
|
|
||||||
void *ln = va_arg(list, void*);
|
void *ln = va_arg(list, void*);
|
||||||
for (;ln != 0;){
|
for (;ln != 0;){
|
||||||
|
fprintf(stdout, "%p\n" , ln);
|
||||||
|
fprintf(stdout, "%.4s\n", ln);
|
||||||
|
fflush(stdout);
|
||||||
|
|
||||||
size = listsize(ln, item_size);
|
size = listsize(ln, item_size);
|
||||||
void *new_str = (void*)fm__push(size);
|
void *new_str = (void*)fm__push(size);
|
||||||
memcpy(new_str, ln, size);
|
memcpy(new_str, ln, size);
|
||||||
|
|
|
@ -138,7 +138,8 @@ static DISPLINK_SIG(osx_display_link);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)requestDisplay{
|
- (void)requestDisplay{
|
||||||
NSRect rect = CGRectMake(0, 0, osx_objc.width, osx_objc.height);
|
CGRect cg_rect = CGRectMake(0, 0, osx_objc.width, osx_objc.height);
|
||||||
|
NSRect rect = NSRectFromCGRect(cg_rect);
|
||||||
[self setNeedsDisplayInRect:rect];
|
[self setNeedsDisplayInRect:rect];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,5 +19,5 @@ fkey_command_mac[1] = {"echo build: x64 & ./build.sh", "*compilation*" , true ,
|
||||||
fkey_command_mac[2] = {"build_site.sh" , "*site*" , false, true };
|
fkey_command_mac[2] = {"build_site.sh" , "*site*" , false, true };
|
||||||
fkey_command_mac[3] = {"build_string.sh" , "*compilation*" , true , true };
|
fkey_command_mac[3] = {"build_string.sh" , "*compilation*" , true , true };
|
||||||
fkey_command_mac[4] = {"echo build: x86 & ./build.sh -DDEV_BUILD_X86" , "*compilation*", true, true };
|
fkey_command_mac[4] = {"echo build: x86 & ./build.sh -DDEV_BUILD_X86" , "*compilation*", true, true };
|
||||||
fkey_command_mac[12] = {"./package.sh" , "*package*" , false, true };
|
fkey_command_mac[10] = {"./package.sh" , "*package*" , false, true };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue