https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: ba26d6f5a146dd0856215a931659f14e97a64160 authored by danne on 29 April 2017, 07:11:41 UTC
Bouncyball added lj92 code (Andrew Baldwin) T o my specific ml-dng branch. Working flawlessly.
Tip revision: ba26d6f
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