File tests/OFPlugin/TestPlugin/TestPlugin.m artifact 616318c30f part of check-in d87df02e8b
/* * Copyright (c) 2008 - 2009 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "TestPlugin.h" @implementation TestPlugin - (int)test: (int)num { return num * 2; } @end id init_plugin() { return [TestPlugin new]; }