def SDL_SetTimer(interval, callback):

    # Note SDL_SetTimer actually returns 1 on success, not 0 as documented
    # in SDL_timer.h.
    global _timercallback_ref
    if callback:
        _timercallback_ref = _SDL_TimerCallback(callback)
    else:
        _timercallback_ref = _SDL_TimerCallback()

    # XXX if this fails the global ref is incorrect and old one will
    # possibly be collected early.
    if _SDL_SetTimer(interval, _timercallback_ref) == -1:
        raise SDL.error.SDL_Exception(SDL.error.SDL_GetError())


# For the new timer functions, the void *param passed to the callback
# is ignored; using an local function instead.  The SDL_TimerID type
# is not defined, we use c_void_p instead.
Returns a list of list of the passed objects with passed objects per
dataset/ETHPy150Open los-cocos/cocos/cocos/audio/SDL/timer.py/SDL_SetTimer--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/core/utils.py/getLOL