Update manuals and other additions
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
% PROTEL library exported for Swift (EXPORT = extern "C" linkage)
|
||||
% Swift imports protel_add with @_silgen_name.
|
||||
|
||||
INTERFACE protel_math;
|
||||
|
||||
TYPE integer {-32768 TO 32767};
|
||||
|
||||
DCL protel_add PROC(a integer, b integer) RETURNS integer EXPORT;
|
||||
|
||||
DCL protel_add PROC(a integer, b integer) RETURNS integer IS
|
||||
BLOCK
|
||||
RETURN a + b;
|
||||
ENDBLOCK;
|
||||
Reference in New Issue
Block a user