File: setfunction.cc

package info (click to toggle)
oxref 0.90.10-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 400 kB
  • sloc: cpp: 786; makefile: 141
file content (8 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
#include "store.ih"

void Store::setFunction(string const &symbol)
{
    d_symbol = symbol;

    define(symbol, true);   // true: define a function
}