content
stringlengths
23
1.05M
package body Construct_Conversion_Array with SPARK_Mode is ---------------------- -- Conversion_Array -- ---------------------- function Conversion_Array return Conversion_Array_Type is Conversion_Array : Conversion_Array_Type := (others => Zero); begin for J in Product_Index_Type loop ...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with processor_hpp; with memory_hpp; with lcd_hpp; with timer_handler_hpp; with Interfaces.C.Extensions; with word_operations_hpp; package gameboy_hpp is package Class_Gameboy is type Gameboy is limited record p : alia...
procedure @_Main_Name_@ is begin -- Insert code here. null; end @_Main_Name_@;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- ...
with LMCP_Messages; with AFRL.CMASI.AutomationRequest; use AFRL.CMASI.AutomationRequest; with AFRL.CMASI.EntityState; use AFRL.CMASI.EntityState; with AFRL.CMASI.KeyValuePair; use AFRL.CMASI.KeyValuePair; with AFRL.CMASI.Location3D; ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
WITH Text_Io; USE Text_Io; PROCEDURE ShowBrd IS -------------------------------------------------------------------- --| Program : ShowBrd Version : Constant STRING := "0.2"; -------------------------------------------------------------------- --| Abstract : Read...
-- Práctica 4: César Borao Moratinos (Hash_Maps_G_Open, Test Program) with Ada.Text_IO; with Ada.Strings.Unbounded; with Ada.Numerics.Discrete_Random; with Hash_Maps_G; procedure Hash_Maps_Test is package ASU renames Ada.Strings.Unbounded; package ATIO renames Ada.Text_IO; HASH_SIZE: ...
-- Standard Ada library specification -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaRe...
-- This spec has been automatically generated from msp430g2553.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- Comparator A package MSP430_SVD.COMPARATOR_A is pragma Preelaborate; --------------- -- Registers -- --------------- -- Comp. A...
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
package Other_Basic_Subprogram_Calls is function Other_F1 return Integer; procedure Other_P1; end Other_Basic_Subprogram_Calls;
-- with STM32.SPI; use STM32.SPI; -- with HAL.SPI; with usb_handler; pragma Unreferenced (usb_handler); with Ada.Interrupts.Names; with Cortex_M.NVIC; use Cortex_M.NVIC; with STM32_SVD.RCC; use STM32_SVD.RCC; with Config; with spi_accel; with Ada.Real_Time; use Ada.Real_Time; with sbus_commander; pragma Unreferenced...
pragma Ada_2012; with Ada.Numerics.Elementary_Functions; -- with Ada.Text_IO; use Ada.Text_IO; package body Notch_Example.Filters is ---------------- -- New_Filter -- ---------------- function New_Filter (F0 : Normalized_Frequency; R : Float; Gain : Float := 1.0) return Filte...
with AdaBase.Results.Field; with AdaBase.Results.Converters; with Ada.Strings.Unbounded; with Ada.Integer_Text_IO; with Ada.Text_IO; with Ada.Wide_Text_IO; procedure Spawn_Fields is package TIO renames Ada.Text_IO; package WIO renames Ada.Wide_Text_IO; package IIO renames Ada.Integer_Text_IO; package SU r...
with Ada.Integer_Text_IO; procedure Tokeletes is S : Natural; begin for N in 1..10000 loop S := 0; for I in 1..N-1 loop if N mod I = 0 then S := S + I; end if; end loop; if S = N then Ada.Integer_Text_IO.Put( N ); end if; end loop; end Tokele...
with openGL.Errors, openGL.Buffer, openGL.Tasks, GL.Binding, ada.unchecked_Deallocation; package body openGL.Primitive.long_indexed is --------- --- Forge -- procedure define (Self : in out Item; Kind : in facet_Kind; Indices : in l...
with AWS.Response; with AWS.Status; package Hello_World_CB is function HW_CB (Request: AWS.Status.Data) return AWS.Response.Data; end Hello_World_CB;
private with ada.Containers.Vectors, ada.Containers.hashed_Maps, ada.Containers.ordered_Sets; generic package any_Math.any_Geometry.any_d3.any_Modeller is type Item is tagged private; type View is access all Item; -------------- -- Attributes -- procedure add_Triangle (Self : in...
with lumen.Window, openGL.Model, openGL.Visual, openGL.Renderer.lean, openGL.Camera, openGL.Dolly, openGL.frame_Counter; package openGL.Demo -- -- Provides a convenient method of setting up a simple openGL demo. -- is Window : lumen.Window.Window_handle; Renderer ...
----------------------------------------------------------------------- -- EL.Beans -- Bean utilities -- Copyright (C) 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in co...
-- { dg-do compile } -- { dg-options "-O -fdump-rtl-final" } package body Unchecked_Convert9 is procedure Proc is L : Unsigned_32 := 16#55557777#; begin Var := Conv (L); end; end Unchecked_Convert9; -- { dg-final { scan-rtl-dump-times "set \\(mem/v" 1 "final" } }
----------------------------------------------------------------------- -- mat-formats - Format various types for the console or GUI interface -- Copyright (C) 2015, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is procedure P is begin return 0; end; begin P; end;
------------------------------------------------------------------------------ -- -- -- GNAT SYSTEM UTILITIES -- -- -- -- ...
with STM32_SVD.TIM; with STM32_SVD; use STM32_SVD; package STM32GD.Timer is type Timer_Callback_Type is access procedure; type Timer_Type is ( Timer_1, Timer2, Timer_3, Timer_6, Timer_7, Timer_8, Timer_15, Timer_16, Timer_17, Timer_20); end STM32GD.Timer;
-- An example of using low-level convertor API (fixed string procedures) -- Program reads standard input, adds cr before lf, then writes to standard output with Ada.Streams; use Ada.Streams; use type Ada.Streams.Stream_Element_Offset; with Ada.Text_IO; use Ada.Text_IO; with Ada.Text_IO.Text_Streams; use Ada.Text_IO....
with System; package Vect6_Pkg is type Index_Type is mod System.Memory_Size; function K return Index_Type; function N return Index_Type; end Vect6_Pkg;
----------------------------------------------------------------------- -- wiki-plugins -- Wiki plugins -- Copyright (C) 2016, 2018, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exce...
-- This file is generated by SWIG. Please do *not* modify by hand. -- with speech_tools_c; with speech_tools_c.Pointers; with interfaces.C; package festival.FT_ff_pref_func is -- Item -- type Item is access function (arg_2_1 : in speech_tools_c.Pointers.EST_Item_Pointer; arg_2_2 ...
with AUnit.Test_Fixtures; with AUnit.Test_Suites; package PBKDF2.Tests is function Suite return AUnit.Test_Suites.Access_Test_Suite; private type Fixture is new AUnit.Test_Fixtures.Test_Fixture with null record; procedure PBKDF2_HMAC_SHA_1_Test (Object : in out Fixture); procedure PBKDF2_HMAC_SHA_256_Test...
-- generated parser support file. -- command line: wisitoken-bnf-generate.exe --generate LR1 Ada_Emacs re2c PROCESS text_rep ada.wy -- -- Copyright (C) 2013 - 2019 Free Software Foundation, Inc. -- This program is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Publ...
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- c...
with Ada.Strings.Wide_Hash; function Ada.Strings.Wide_Bounded.Wide_Hash ( Key : Bounded.Bounded_Wide_String) return Containers.Hash_Type is begin return Strings.Wide_Hash (Key.Element (1 .. Key.Length)); end Ada.Strings.Wide_Bounded.Wide_Hash;
with Ada.Text_IO; use Ada.Text_IO; procedure String_Concatenation is S1 : constant String := "Hello"; S2 : constant String := S1 & " literal"; begin Put_Line (S1); Put_Line (S2); end String_Concatenation;
-- { dg-do compile } procedure Unaligned_Rep_Clause is type One_Bit_Record is record B : Boolean; end record; Pragma Pack(One_Bit_Record); subtype Version_Number_Type is String (1 .. 3); type Inter is record Version : Version_Number_Type; end record; type Ms...
----------------------------------------------------------------------- -- awa-wikis-previews -- Wiki preview management -- Copyright (C) 2015 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file...
with Asis.Elements; with Asis.Exceptions; with Asis.Expressions; with Asis.Extensions; with Asis.Set_Get; use Asis.Set_Get; with A4G.Int_Knds; use A4G.Int_Knds; package body Asis_Adapter.Element.Expressions is ----------------------------- -- Do_Pre_Child_Processing -- ----------------------------- proce...
with Ada.Unchecked_Conversion, Interfaces.C.Strings, Interfaces.C.Extensions; with Libtcod.Color.Conversions; with error_h, context_init_h, console_init_h, console_printing_h, console_drawing_h; package body Libtcod.Console is use Interfaces.C, Interfaces.C.Extensions, Libtcod.Color.Conversions; use context_h, ...
-- -- Copyright (C) 2015-2016 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- ...
with Ada.Streams; use Ada.Streams; package body Opt41_Pkg is type Wstream is new Root_Stream_Type with record S : Unbounded_String; end record; procedure Read (Stream : in out Wstream; Item : out Stream_Element_Array; Last : out Stream_Element_Offset) is null;...
with STM32GD.GPIO; use STM32GD.GPIO; with STM32GD.GPIO.Pin; with STM32GD.CLOCKS; with STM32GD.CLOCKS.Tree; with STM32GD.USART; with STM32GD.USART.Peripheral; with Drivers.Text_IO; package STM32GD.Board is package GPIO renames STM32GD.GPIO; package Clocks is new STM32GD.Clocks.Tree; package BUTTON is new P...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- Reference Implementation -- -- ...
----------------------------------------------------------------------- -- asf-validators -- ASF Validators -- Copyright (C) 2010 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in co...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package stdint_h is subtype uint8_t is unsigned_char; -- /usr/include/stdint.h:48 end stdint_h;
with Numerics, Ada.Text_IO; use Numerics; package body Numerics.Dense_Matrices is function Outer (X, Y : in Real_Vector) return Real_Matrix is Result : Real_Matrix (1 .. X'Length, 1 .. Y'Length); begin for I in Result'Range (1) loop for J in Result'Range (2) loop Result (I, J) := X (I) * ...
-- REST API Validation -- API to validate -- -- The version of the OpenAPI document: 1.0.0 -- Contact: Stephane.Carrez@gmail.com -- -- NOTE: This package is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT. -- https://openapi-generator.tech -- Do not edit the class manually. pragma Warnings (Off, "*is not ref...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
-- This file is generated by SWIG. Do *not* modify by hand. -- with llvm; with Interfaces.C.Strings; package LLVM_Analysis.Binding is function LLVMVerifyModule (M : in llvm.LLVMModuleRef; Action : in LLVM_Analysis.LLVMVerifierFailureAction; OutMessage : access Interfaces.C.Strings.c...
-- ___ _ ___ _ _ -- -- / __| |/ (_) | | Common SKilL implementation -- -- \__ \ ' <| | | |__ type handling in skill -- -- |___/_|\_\_|_|____| by: Timm Felden ...
with System; with Startup; with MSP430_SVD; use MSP430_SVD; with MSP430_SVD.SYSTEM_CLOCK; use MSP430_SVD.SYSTEM_CLOCK; package body MSPGD.Board is CALDCO_1MHz : DCOCTL_Register with Import, Address => System'To_Address (16#10FE#); CALBC1_1MHz : BCSCTL1_Register with Import, Address => System'To_Address (16#10FF...
with Ada.Numerics.Generic_Elementary_Functions; package body Generic_Quaternions is package Elementary_Functions is new Ada.Numerics.Generic_Elementary_Functions (Real); use Elementary_Functions; function "abs" (Left : Quaternion) return Real is begin return Sqrt (Left.A**2 + Left.B**2 + Left.C*...
with C.string; package body MPFR is function Version return String is S : constant C.char_const_ptr := C.mpfr.mpfr_get_version; Length : constant Natural := Natural (C.string.strlen (S)); Result : String (1 .. Length); for Result'Address use S.all'Address; begin return Result; end Version; function De...
package FLTK.Images.RGB is type RGB_Image is new Image with private; type RGB_Image_Reference (Data : not null access RGB_Image'Class) is limited null record with Implicit_Dereference => Data; function Copy (This : in RGB_Image; Width, Height : in Natural) ...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt with Ada.Exceptions; with Ada.Calendar.Time_Zones; with Ada.Unchecked_Conversion; package body AdaBase.Statement.Base.MySQL is package EX renames Ada.Exceptions; package CTZ renames Ada.Calendar.Time_Zo...
with lace.Subject.local; package gel.Mouse.local -- -- Provides a concrete mouse. -- is type Item is limited new lace.Subject.local.item and gel.Mouse .item with private; type View is access all Item'Class; package Forge is function to_Mouse (of_Name : in Str...
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.MCLK is pragma Preelaborate; --------------- -- Registers -- --------------- -- Interrupt Enable Clear type MCLK_INTE...
with GA_Maths; package Multivector_Type_Base is -- Object_Type mvtypebase.h lines 8 - 13 and 36 -- A versor is also a multivetor -- A blade is also a versor and, therfore, also a multivector type Object_Type is (Unspecified_Object_Type, Blade_MV, Versor_MV, MV_Object); type Parity is (No_Parity, Ev...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- Util.Beans.Objects.Hash -- Hash on an object -- Copyright (C) 2010, 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with Terminal_Interface.Curses; use Terminal_Interface.Curses; with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; package Extools is procedure Refrosh (Win : Window := Standard_Window); end Extools;
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package mm3dnow_h is -- Copyright (C) 2004-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public Lic...
-- CC3017B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Definitions; use Definitions; package Actions is menu_error : exception; -- output of "synth version" procedure print_version; -- output of "synth help" procedure print_help; -- Int...
-- This spec has been automatically generated from STM32L5x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DMAMUX is pragma Preelaborate; --------------- -- Registers -- --------------- subtype C0CR_DMAREQ_ID_Fiel...
with Blueprint; use Blueprint; package Init_Project is procedure Init (Path : String; Blueprint : String; ToDo : Action); private end Init_Project;
-- Institution: Technische Universität München -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- Module: CRC-8 -- -- Authors: Emanuel Regnath (emanuel.regnath@tum.de) -- -- Description: Checksum according to fletcher's algorithm generic type Index_Type is (<>); type Element_Type is ...
-- { dg-do run } procedure interface3 is -- package Pkg is type Foo is interface; subtype Element_Type is Foo'Class; -- type Element_Access is access Element_Type; type Elements_Type is array (1 .. 1) of Element_Access; type Elements_Access is access Elements_Type; -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package Regression_Library is function LibraryFun (Input : Boolean) return Boolean; end Regression_Library;
-- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- package Report_Parsers is type Context...
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 Zane Myers -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software witho...
with Interfaces.C, System; use type Interfaces.C.int, System.Address; package body FLTK.Devices.Surfaces.Paged is function new_fl_paged_device return System.Address; pragma Import (C, new_fl_paged_device, "new_fl_paged_device"); pragma Inline (new_fl_paged_device); proc...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------- -- Copyright (c) 2019, Daniel King -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions...
with Gdk.Event; use Gdk.Event; with Gtk.Box; use Gtk.Box; with Gtk.Label; use Gtk.Label; with Gtk.Widget; use Gtk.Widget; with Gtk.Main; with Gtk.Window; use Gtk.Window; with Ant_Handler; procedure Main is Win : Gtk_Window; Label : Gtk_Label; Box : Gtk_Vbox; function De...
----------------------------csc410/prog6/as6.adb---------------------------- -- Author: Matthew Bennett -- Class: CSC410 Burgess -- Date: 11-20-04 Modified: 11-30-04 -- Due: 12-01-04 -- Desc: Assignment 6: KERRY RAYMOND'S SPANNING TREE ALGORITHM -- FOR VIRTUAL TOPOLOGY NETWORKS -- -- a nonproduct...
------------------------------------------------------------------------------- -- Copyright (c) 2016 Daniel King -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to -- deal in the Software without restriction, in...
-- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- This software was developed by John Self of the Arcadia project -- at the University of California, Irvine. -- -- Redistribution and use in source and binary forms are permitted -- provided that the above copyright notice and t...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is X: Integer; procedure P is type X is record A: Integer; end record; V: X; begin New_Line; end; begin P; end;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
--=========================================================================== -- -- This package implements the slave configuration for the Pico -- --=========================================================================== -- -- Copyright 2022 (C) Holger Rodriguez -- -- SPDX-License-Identifier: BSD-3-Clause -- pa...
package body Ada12 is function Max (X, Y : Integer) return Integer is (if X > Y then X else Y); end Ada12;
----------------------------------------------------------------------- -- util-processes-tests - Test for processes -- Copyright (C) 2011, 2016, 2018, 2019, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you m...
with Ada.Real_Time; with ACO.Drivers.Stm32f40x; with STM32.Device; with ACO.Nodes; with ACO.OD.Example; with ACO.CANopen; with ACO.Nodes.Remotes; with ACO.OD_Types; with ACO.OD_Types.Entries; with ACO.SDO_Sessions; package body App is D : aliased ACO.Drivers.Stm32f40x.CAN_Driver (STM32.Device.CAN_1'Access); H ...
-- //////////////////////////////////////////////////////////// -- // -- // SFML - Simple and Fast Multimedia Library -- // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) -- // -- // This software is provided 'as-is', without any express or implied warranty. -- // In no event will the authors be held li...
----------------------------------------------------------------------- -- demos -- Utility package for the demos -- Copyright (C) 2016, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package P_StructuralTypes is subtype T_Key is String (1..8); type T_Bit is mod 2 with Size => 1; type T_BinaryUnit is array (Positive range <>) of T_Bit with Default_Component_Value => 0; pragma Pack (T_BinaryUnit); subtyp...
-- Shoot'n'loot -- Copyright (c) 2020 Fabien Chouteau with GESTE; package Levels is type Level_Id is (Lvl_0, Lvl_1, Lvl_2, Lvl_3, Lvl_4, Lvl_5, Lvl_6, Lvl_7, Lvl_8); procedure Enter (Id : Level_Id); -- Setup a level procedure Open_Exit; -- Open the exit tile of the current l...
package body Test_Keyboard_Window is ------------- -- On_Init -- ------------- overriding procedure On_Init (This : in out Keyboard_Window) is begin On_Init (Test_Window (This)); This.Keyboard.Set_Size (This.Get_Size); This.Add_Child (This.Keyboard'Unchecked_Access, (0, 0)); ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package body PKG is function fkt1 is new Foo.Bar (Some_Thing => Some_Thing_Else); task body Foo_Task is separate; task body Bar_Task is separate; end PKG;
with Interfaces; use Interfaces; with GL; ------------------------------------------------------------------------------- -- Helper geometry primitives and functions ------------------------------------------------------------------------------- package Render.Util is type Point is record x : GL.GLfloat; ...