#35 inline function

closed
None
5
2007-06-09
2003-08-08
Anonymous
No

Can SDCC support the inline functions?

It will speed-up many code without lost readability.

Discussion

  • Patrik Spieß

    Patrik Spieß - 2004-02-09

    Logged In: YES
    user_id=955053

    I would appreciate that to!

     
  • Martin Leopold

    Martin Leopold - 2005-03-10

    Logged In: YES
    user_id=444789

    At the moment nescc (for TinyOS) seems to generate a lot of inline
    functions - supporting inline would make integration with nescc easier.

     
  • Weston T. Schmidt

    Logged In: YES
    user_id=767003

    Yeah, I could really use this feature as well. I find
    myself either writing large functions because of function
    call overhead, or variable declaration overhead (with the
    8051's and the very limited stack space).

    What would it take to get implemented/what is the scope of
    work involved?

    I have used sdcc for quite a while now, but I am not very
    familiar with much of the sdcc code. (Just how to build rpms.)

    --Wes Schmidt

     
  • Weston T. Schmidt

    Logged In: YES
    user_id=767003

    Yeah, I could really use this feature as well. I find
    myself either writing large functions because of function
    call overhead, or variable declaration overhead (with the
    8051's and the very limited stack space).

    What would it take to get implemented/what is the scope of
    work involved?

    I have used sdcc for quite a while now, but I am not very
    familiar with much of the sdcc code. (Just how to build rpms.)

    --Wes Schmidt

     
  • Maarten Brock

    Maarten Brock - 2007-06-09
    • assigned_to: nobody --> epetrich
    • status: open --> closed
     
  • Maarten Brock

    Maarten Brock - 2007-06-09

    Logged In: YES
    user_id=888171
    Originator: NO

    SDCC 2.7.0 supports inline functions. But consider it alpha quality as it has not been thoroughly tested. If you find any bugs when using it report them on the bug tracker.

     

Log in to post a comment.