03.07.2014, 02:33
Lo podes poner bajo una licencia, creo que sуlo con ponerle en cada archivo fuente lo de la licencia ya esta. Por ejemplo en la YSI en cada include tiene esto:
Sacado de y_inline
pawn Код:
/*
y_inline - PAWN inline functions.
===================================
Description:
This library allows a user to write inline functions in their script. It
first detects all inline functions and generates data on them, such as
parameter counts and addresses. When an inline function is passed in code
its current context data is stored. Finally, when an inline function is
found to be called at some point its current local stack is stored in global
memory. When the function actually is called, the stack is restored, and
additional parameters which are the inline function parameters, are passed.
Legal:
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is the YSI Inline Function include.
The Initial Developer of the Original Code is Alex "******" Cole.
Portions created by the Initial Developer are Copyright © 2011
the Initial Developer. All Rights Reserved.
Contributors:
ZeeX, koolk, JoeBullet/******63, g_aSlice/Slice
Thanks:
JoeBullet/******63 - Handy arbitrary ASM jump code using SCTRL.
ZeeX - Very productive conversations.
koolk - IsPlayerinAreaEx code.
TheAlpha - Danish translation.
breadfish - German translation.
Fireburn - Dutch translation.
yom - French translation.
50p - Polish translation.
Zamaroht - Spanish translation.
Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes
for me to strive to better.
Pixels^ - Running XScripters where the idea was born.
Matite - Pestering me to release it and using it.
Very special thanks to:
Thiadmer - PAWN, whose limits continue to amaze me!
Kye/Kalcor - SA:MP.
SA:MP Team past, present and future - SA:MP.
Version:
1.0
Changelog:
22/06/13:
Rewrote the library from scratch for better performance all round.
20/10/12:
Fixed a bug with "Callback_Release" with public functions.
15/11/11:
Changed the precedence of "using" types.
19/09/11:
First version*/
\**--------------------------------------------------------------------------**/