1. StackMasher

    OP StackMasher GBAtemp Regular
    Member

    Joined:
    Nov 29, 2016
    Messages:
    136
    Country:
    Code:
    new void(*)()[]
    new void(*fp)()[]
    I've tried both of those but the compiler throws an error. Kind of annoying that I can't just use void* pointers instead of this crappy syntax
     
    Last edited by StackMasher, Feb 8, 2017
  2. evandixon

    evandixon PMD Researcher
    Developer

    Joined:
    May 29, 2009
    Messages:
    1,725
    Country:
    United States
  3. AuburnSounds

    AuburnSounds Newbie
    Newcomer

    Joined:
    Feb 21, 2017
    Messages:
    7
    Country:
    France
    Managed to do it with a type def: https://ideone.com/8IZtu9
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Allocating, function, pointers