Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 28 2015 01:25
    felipejfc closed #9
  • Jul 13 2015 21:27
    felipejfc commented #9
  • Jul 13 2015 21:21
    makeitnew opened #9
  • Jun 18 2015 02:09

    felipejfc on libffi

    fix 32bit stdlib potocolloader must be forcend i… (compare)

  • Jun 18 2015 01:59
    felipejfc closed #8
  • Jun 18 2015 01:59
    felipejfc commented #8
  • Jun 18 2015 01:55

    felipejfc on master

    fix 32bit stdlib fix build Merge branch 'master' of github… (compare)

  • Jun 18 2015 01:32

    felipejfc on libffi

    fix blocks example (compare)

  • Jun 15 2015 03:00
    zfq commented #8
  • Jun 15 2015 02:47
    felipejfc commented #8
  • Jun 15 2015 02:43
    zfq opened #8
  • Mar 30 2015 04:48
    qcclcr opened #7
  • Mar 25 2015 13:51
    felipejfc closed #6
  • Mar 25 2015 01:18
    shaoyuan1943 commented #4
  • Mar 24 2015 14:21
    felipejfc commented #6
  • Mar 24 2015 14:18
    IPv6 opened #6
  • Mar 24 2015 13:21
    felipejfc commented #4
  • Mar 24 2015 13:19
    shaoyuan1943 commented #4
  • Mar 24 2015 13:11
    shaoyuan1943 commented #4
  • Mar 24 2015 12:44
    felipejfc closed #5
snowoven
@snowoven
hello everyone, I used this 64bits-compliant wax on my own project now, but I met crash when calling my own function which was replaced by lua file using wax_start. The error info showed in the debug terminal is like:"Lua panicked and quit: Error calling 'WAXpopAlert' on '<ExploreCommentView:...'
Could not find function named "popAlert" associated with object ExploreCommentView(0x7ff725c13900).(It may have been released by the GC)
News(19151,0x10f632300) malloc: stack logs deleted from...". Can anybody give some solution or suggestions? Thanks every much
Felipe Cavalcanti
@felipejfc
@snowoven can you paste the function that is making the crash?
snowoven
@snowoven
@felipejfc any function could make the crash, even the function implementation is null. I use wax to replace local objective-c implementation functions, eg. cellForRowAtIndexPath of tableView datasource, local objc implementation is just return a built-in cell, and *.lua file change the cell.backgroundColor etc. Have you any ideas? Thanks
Felipe Cavalcanti
@felipejfc
@snowoven I cannot help without the source, I need to see what you are trying to do and what you are doing wrong
sunus
@sunuslee
hello , can i use n-wax in my mac app project?
@felipejfc hello , can i use n-wax in my mac app project? thx!
sunus
@sunuslee
@felipejfc hi can i use n-wax for mac app?
Matthew Campbell
@mwcampbell
Can I compile my Lua code to bytecode with n-wax and have it work on both 32-bit and 64-bit? It doesn't appear that n-wax supports this, based on my review of the diffs.
Felipe Cavalcanti
@felipejfc
@mwcampbell yes you can
but you will have to compile using the specific luac
for 64 bit and 32 bit
and then load based on which platform you are running
Matthew Campbell
@mwcampbell
I have a Lua patch that makes the bytecode identical on 32 and 64-bit systems
Would you like that?
Then you wouldn't need separate 32 and 64-bit versions of the stdlib either
Felipe Cavalcanti
@felipejfc
this can be handy
can you make a PR?
Matthew Campbell
@mwcampbell
sure
Felipe Cavalcanti
@felipejfc
many thanks
Will Han
@xingheng
Q1: Which version of lua could be support in n-wax? Q2: What's the difference between n-wax and wax-patch project? Thanks!
Matthew Campbell
@mwcampbell
@felipejfc Did you consider using libffi to dynamically created method closures, instead of the ugly hack around overriding forwardInvocation?