https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 6b096e06f93768c987788408ccdb6a4dc4901a8a authored by Daniel Fort on 15 April 2018, 19:42:33 UTC
Changes made by Levas - https://www.magiclantern.fm/forum/index.php?topic=12862.msg199988#msg199988
Tip revision: 6b096e0
stub.h
/*
 * Copyright (C) 2013 Magic Lantern Team
 *
 * This file is part of Magic Lantern.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 */

#ifndef __STUB_H__
#define __STUB_H__

#define NSTUB(addr,name) \
	.global name; \
	.extern name; \
	name = addr

#endif /* __STUB_H__ */
back to top