%%
%% This is file `elocalloc.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% elocalloc.dtx  (with options: `package')
%% 
%% Source File: textcase.dtx
%% Copyright 2015-2016 David Carlisle
%%
%% This file may be distributed under the terms of the LPPL.
%% See README for details.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{elocalloc}
       [2016/12/15 v0.03 local allocation for LaTeX 2015+ (DPC)]
\ifx\e@alloc\@undefined
\RequirePackage{etex}
\expandafter\endinput
\fi
\ifx\locbox\@undefined\else
\PackageWarning{elocalloc}{%
   \string\locbox\space already defined, stopping}
\expandafter\endinput
\fi
\def\eloc@lloc#1#2#3#4#5{%
  \def\extrafloats##1{%
    \PackageWarning{elocalloc}{\string\extrafloats\space ignored}}%
  \e@ch@ck{#1}#2\z@#3%
  \expandafter\e@alloc@chardef\expandafter#2%
                         \the\numexpr#2-1\relax
   \allocationnumber=#2%
  #3#5#2}
\def\loccount {\eloc@lloc{\count 10}\float@count\countdef\count}
\def\locdimen {\eloc@lloc{\count 11}\float@count\dimendef\dimen}
\def\locskip  {\eloc@lloc{\count 12}\float@count\skipdef\skip}
\def\locmuskip{\eloc@lloc{\count 13}\e@alloc@top\muskipdef\muskip}
\def\locbox   {\eloc@lloc{\count 14}\float@count\e@alloc@chardef\box}
\def\loctoks  {\eloc@lloc{\count 15}\e@alloc@top\toksdef\toks}
\def\locmarks {\eloc@lloc{\count256}\e@alloc@top\e@alloc@chardef\marks}
\endinput
%%
%% End of file `elocalloc.sty'.
