Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
olc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Byers
olc
Commits
fe3fa96d
Commit
fe3fa96d
authored
4 years ago
by
David Byers
Browse files
Options
Downloads
Patches
Plain Diff
Clean up code and docs.
parent
ec172e17
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+4
-0
4 additions, 0 deletions
CHANGELOG
olc.el
+205
-136
205 additions, 136 deletions
olc.el
olc.texi
+4
-4
4 additions, 4 deletions
olc.texi
with
213 additions
and
140 deletions
CHANGELOG
+
4
−
0
View file @
fe3fa96d
2020-07-21 David Byers <david.byers@liu.se>
Clean up
* olc.el: Declare external functions for the byte compiler. Fix
whitespace. Shortened lines. Fixed some docstrings.
More integer math:
(olc-decode): Converted to use integer math.
...
...
This diff is collapsed.
Click to expand it.
olc.el
+
205
−
136
View file @
fe3fa96d
This diff is collapsed.
Click to expand it.
olc.texi
+
4
−
4
View file @
fe3fa96d
...
...
@@ -140,10 +140,10 @@ is otherwise invalid (i.e. 3, 5, 7, or 9).
@defun olc-decode code
Decode @var
{
code
}
and return an @code
{
olc-area
}
representing the
location. R
aises @code
{
olc-parse-error
}
if the code can't be parsed,
and @code
{
olc-decode-error
}
if it can't
be decoded (e.g. a padded
shortened code, a padded code with grid
coordinates, an empty code,
and so forth). Returns an olc-area structure
.
location. R
eturns an olc-area structure. Raises @code
{
olc-parse-error
}
if the code can't be parsed,
and @code
{
olc-decode-error
}
if it can't
be decoded (e.g. a padded
shortened code, a padded code with grid
coordinates, an empty code, and so forth)
.
@example
@group
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment