work on mac package bug

This commit is contained in:
Allen Webster 2017-11-11 11:27:04 -05:00
parent 911023c68f
commit 3286519fb0
4 changed files with 15 additions and 7 deletions

View File

@ -606,8 +606,15 @@ fm__prepare(umem item_size, void *i1, va_list list){
void *result = (void*)fm__push(size);
memcpy(result, i1, size);
fprintf(stdout, "%p\n%.4s\n", i1, i1);
fflush(stdout);
void *ln = va_arg(list, void*);
for (;ln != 0;){
fprintf(stdout, "%p\n" , ln);
fprintf(stdout, "%.4s\n", ln);
fflush(stdout);
size = listsize(ln, item_size);
void *new_str = (void*)fm__push(size);
memcpy(new_str, ln, size);

View File

@ -138,7 +138,8 @@ static DISPLINK_SIG(osx_display_link);
}
- (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];
}

View File

@ -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[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[12] = {"./package.sh" , "*package*" , false, true };
fkey_command_mac[10] = {"./package.sh" , "*package*" , false, true };