Changes between Initial Version and Version 1 of Ticket #2185, comment 21


Ignore:
Timestamp:
Oct 16, 2016, 11:38:16 AM (3 years ago)
Author:
pulkomandy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2185, comment 21

    initial v1  
    44>
    55> I'm OK for 1. I think 2. is not the way to go. I would prefer the actual code to load the addon:
    6 >
    7 > image = load_add_on(path);
    8 > if (image != B_OK)
    9 >    ...
    10 > if (get_image_symbol((image, "instantiate_screen_saver", B_SYMBOL_TYPE_TEXT, (void **)&instantiate) != B_OK)
    11 >    ...
    12 > unload_add_on(image);
    13 >
    146> Isn't it better?
     7
    158I believe yes. I will try an implementation based upon this idea; i will take
    169my time, and i will come back later with an updated patch, OK?